The compiler ICEs while compiling libgfortran for powerpc:

$ ../../gcc/xgcc -B ../../gcc/ -c -std=gnu99 -O maxloc1_4_r16.i 
../../../libgfortran/generated/maxloc1_4_r16.c: In function
‘mmaxloc1_4_r16’:
../../../libgfortran/generated/maxloc1_4_r16.c:220: internal compiler error: in
memory_address, at explow.c:492

This was introduced by this change:

        * explow.c (memory_address): Assert that the generated address is
        valid.

memory_address is called with
(plus:SI (reg:SI 119)
    (symbol_ref:SI ("") [flags 0x2]))
and transforms that to
(plus:SI (reg:SI 119)
    (reg/f:SI 170))


-- 
           Summary: [4.4 regression] ICE in memory_address
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
GCC target triplet: powerpc-linux


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

Reply via email to