public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48412] New: [4.7 Regression] CP2K miscompiled due to some Fortran frontend pass
@ 2011-04-02  7:13 Joost.VandeVondele at pci dot uzh.ch
  2011-04-02 10:25 ` [Bug fortran/48412] " steven at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-04-02  7:13 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-04-04 20:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-02  7:13 [Bug fortran/48412] New: [4.7 Regression] CP2K miscompiled due to some Fortran frontend pass Joost.VandeVondele at pci dot uzh.ch
2011-04-02 10:25 ` [Bug fortran/48412] " steven at gcc dot gnu.org
2011-04-03 11:11 ` rguenth at gcc dot gnu.org
2011-04-03 17:28 ` tkoenig at gcc dot gnu.org
2011-04-04  9:07 ` Joost.VandeVondele at pci dot uzh.ch
2011-04-04 10:52 ` Joost.VandeVondele at pci dot uzh.ch
2011-04-04 11:53 ` Joost.VandeVondele at pci dot uzh.ch
2011-04-04 20:22 ` tkoenig at gcc dot gnu.org
2011-04-04 20:27 ` tkoenig at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).