[Bug fortran/48412] [4.7 Regression] CP2K miscompiled due to some Fortran frontend pass

steven at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 2 10:25:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48412

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steven at gcc dot gnu.org

--- Comment #1 from Steven Bosscher <steven at gcc dot gnu.org> 2011-04-02 10:25:12 UTC ---
Joost, perhaps you can narrow it down further by using a debug counter.

You'd have to add a debug counter to dbgcnt.def, say "frontend1" 
Instead of "if (0 ...)", you would add'd do "if (dbg_cnt (frontend1) ...)".

Then compile with -fdbg-cnt=frontend1:N where N is a number, run, and see if
the bug occurs. The trick is to find the greatest value for N where the bug
occurs. This can be done with a binary search, as explained in dbgcnt.def.



More information about the Gcc-bugs mailing list