URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [attr-may-alias-1.c] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler "dont_delete" } } */ typedef struct { int x; } __attribute__((may_alias)) S; extern void dont_delete (void); void f(S *s, float *f) { s->x = 1; *f = 0; if (s->x != 1) dont_delete (); }
Go to most recent revision | Compare with Previous | Blame | View Log