[Bug fortran/48412] [4.7 Regression] CP2K miscompiled due to some Fortran frontend pass
Joost.VandeVondele at pci dot uzh.ch
gcc-bugzilla@gcc.gnu.org
Mon Apr 4 11:53:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48412
--- Comment #5 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-04-04 11:49:15 UTC ---
the dumped code:
__var_2 = __var_1 %[fl] 2;
__var_1 = ABS_EXPR <*ma - *lx>;
if (*m < 0 && __var_2 == 1 || *m > 0 && __var_2 == 0)
shows clearly what is wrong, var_2 is using var_1 before it is used.
More information about the Gcc-bugs
mailing list