This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/15585] New: g77 ICE in force_nonfallthru_and_redirect


The attached file elxxdl.f (actually, I'll attach it as soon as I find out how to attach a file here) produces 
the following output

 g77 -v -O3 -c elxxdl.f
Reading specs from /sw_current/bin/../lib/gcc/powerpc-apple-darwin7.3.0/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/sw --enable-languages=f77 --infodir=/share/info 
--libexecdir=/lib --disable-shared
Thread model: posix
gcc version 3.4.0
 /sw_current/bin/../lib/gcc/powerpc-apple-darwin7.3.0/3.4.0/f771 elxxdl.f -fPIC -quiet -dumpbase 
elxxdl.f -auxbase elxxdl -O3 -version -o /var/tmp//ccTnLrxk.s
GNU F77 version 3.4.0 (powerpc-apple-darwin7.3.0)
        compiled by GNU C version 3.4.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
In file included from elxxdl.f:0:
elxxdl.f:1: internal compiler error: in force_nonfallthru_and_redirect, at cfgrtl.c:1114
Please submit a full bug report,

It compiles OK with -O2 and with -Os. It produces the same ICE when compiled with
g77 -O -finline-functions -funswitch-loops
or with any -Ox option plus -finline-functions -funswitch-loops (I found these in old reports on 
problems with force_nonfallthru_and_redirect)

When compiled with g77 from
gcc version 3.4 20031015 (experimental)
it compiles OK with -O3, but produces the ICE with
g77 -O -finline-functions -funswitch-loops

-- 
           Summary: g77 ICE in force_nonfallthru_and_redirect
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: costabel at wanadoo dot fr
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.3.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]