URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [guality/] [pr43593.c] - Rev 307
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR debug/43593 */ /* { dg-do run } */ /* { dg-options "-g" } */ void __attribute__((noinline)) bar (int *p) { asm volatile ("" : : "r" (p) : "memory"); } int __attribute__((noinline)) foo (void) { int i, *j = &i; bar (j); return 6 + i; /* { dg-final { gdb-test 16 "j" "&i" } } */ } int main (void) { foo (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log