[Bug fortran/36206] New: ice for legal code with -O3

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sun May 11 07:49:00 GMT 2008

I just tried to compile the lapack package
version 3.3.1 with the GNU Fortran compiler  
version 4.4 snapshot 20080509

The compiler said

sspr.f: In function 'sspr':
sspr.f:1: internal compiler error: tree check: expected integer_cst, have
plus_expr in int_cst_value, at tree.c:8002
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Source code attached. Flag -O3 required, but this
code compiles at -O2, so I don't think the problem
is in the Fortran front end, more likely the back-end.

           Summary: ice for legal code with -O3
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com


More information about the Gcc-bugs mailing list