URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [struct-aliasing-1.c] - Rev 826
Compare with Previous | Blame | View Log
/* { dg-do "compile" } */ /* { dg-options "-O2 -fdump-tree-fre" } */ struct S { float f; }; int __attribute__((noinline)) foo (float *r, struct S *p) { int *q = (int *)&p->f; int i = *q; *r = 0.0; return i + *q; } /* { dg-final { scan-tree-dump-times "\\\*q" 1 "fre" } } */ /* { dg-final { cleanup-tree-dump "fre" } } */