URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr27301.c] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR c/27301 */ /* { dg-do compile } */ /* { dg-options "-O2 -std=gnu89" } */ void foo (void *ptr, long n) { __asm__ __volatile__ ("" :: "m" (({ struct { char x[n]; } *p = ptr; *p; }))); } void bar (void *ptr, long n) { __asm__ __volatile__ ("" :: "m" (*({ struct { char x[n]; } *p = ptr; p; }))); }
Go to most recent revision | Compare with Previous | Blame | View Log