Hi,

the attached Fortran code ICE's at -Os, -O2 and -O3
but compiles at -O0 and -O1.

% gfortran -c gfcbug47.f90 -Os
gfcbug47.f90: In function 'foo':
gfcbug47.f90:6: internal compiler error: in lhd_set_decl_assembler_name, at
lang
hooks.c:165

Cheers,
-ha


-- 
           Summary: [Optimization] ICE in lhd_set_decl_assembler_name, at
                    langhooks.c:165
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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

Reply via email to