URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [Wstrict-overflow-20.c] - Rev 384
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow" } */ /* Don't warn about an overflow in a copied loop header. We used to get a warning in value numbering. This is PR 33565. */ void f (int m, int n) { int j; for (j = m; j < m + 10 && j < n; j ++) do_something (j); }