OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [guality/] [pr48437.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR lto/48437 */
2
/* { dg-do run } */
3
/* { dg-options "-g" } */
4
 
5
#include "../nop.h"
6
 
7
int i __attribute__((used));
8
int main()
9
{
10
  volatile int i;
11
  for (i = 3; i < 7; ++i)
12
    {
13
      extern int i;
14
      asm volatile (NOP : : : "memory"); /* { dg-final { gdb-test 14 "i" "0" } } */
15
    }
16
  return 0;
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.