[Bug fortran/48412] New: [4.7 Regression] CP2K miscompiled due to some Fortran frontend pass
Joost.VandeVondele at pci dot uzh.ch
gcc-bugzilla@gcc.gnu.org
Sat Apr 2 07:13:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48412
Summary: [4.7 Regression] CP2K miscompiled due to some Fortran
frontend pass
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: Joost.VandeVondele@pci.uzh.ch
after the latest fix, CP2K now compiles at -O1, but is miscompiled. Manually
disabling the frontend passes like:
gfc_run_passes (gfc_namespace *ns)
{
if (0 && optimize)
{
fixes the issue (and also running at -O0). The compiler was working fine before
the function optimization patch that went in a couple of days ago, so I suspect
that's the cause.
I have no other testcase than compiling CP2K and running an input like
cp2k/tests/QS/H2O.inp.
More information about the Gcc-bugs
mailing list