URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [uninit-pred-loop_1.cc] - Rev 847
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-Wuninitialized -O2" } */ extern int bar(); int foo(void) { for (;;) { int err = ({int _err; /* { dg-bogus "uninitialized" "false warning" } */ for (int i = 0; i < 16; ++i) { _err = 17; _err = bar(); } _err; /* { dg-bogus "uninitialized" "false warning" } */ }); if (err == 0) return 17; } return 18; }
Go to most recent revision | Compare with Previous | Blame | View Log