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] - Rev 689

Compare with Previous | Blame | View Log

/* PR lto/48437 */
/* { dg-do run } */
/* { dg-options "-g" } */
 
#include "../nop.h"
 
int i __attribute__((used));
int main()
{
  volatile int i;
  for (i = 3; i < 7; ++i)
    {
      extern int i;
      asm volatile (NOP : : : "memory"); /* { dg-final { gdb-test 14 "i" "0" } } */
    }
  return 0;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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