[Bug tree-optimization/21847] [4.0/4.1 Regression] misscompiling of the following java code
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jun 5 23:36:00 GMT 2005
------- Additional Comments From steven at gcc dot gnu dot org 2005-06-05 23:35 -------
Ugh, been looking at the wrong dumps.
Simple C test case:
void
test(void)
{
int i =0;
int j = 1;
int k = j/i;
}
gcc -O -fexceptions -fnon-call-exceptions should not optimize away the
divide iiuc. But it does.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21847
More information about the Gcc-bugs
mailing list