URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [guality/] [pr43593.c] - Rev 801
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