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 rtl-optimization/19556] New: ICE with -march=pentium-m (during bootstrap)


When I try a C-only bootstrap with CLFAGS set to "-g -O2 -march=pentium-m",    
this dies with an ICE while building libmudflap:    
    
/home/arend/sources/gcc-head-build/gcc/xgcc    
-B/home/arend/sources/gcc-head-build/gcc/    
-B/usr/local/gcc-head/i686-pc-linux-gnu/bin/    
-B/usr/local/gcc-head/i686-pc-linux-gnu/lib/    
-isystem /usr/local/gcc-head/i686-pc-linux-gnu/include    
-isystem/usr/local/gcc-head/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.    
-I../../../gcc/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g    
-O2 -march=pentium-m -MT mf-runtime.lo -MD -MP -MF .deps/mf-runtime.Tpo    
-c ../../../gcc/libmudflap/mf-runtime.c -o mf-runtime.o    
../../../gcc/libmudflap/mf-runtime.c: In function ‘__mfu_check’:    
../../../gcc/libmudflap/mf-runtime.c:1023: error: unrecognizable insn:    
(insn 1279 1278 464 37 ../../../gcc/libmudflap/mf-runtime.c:866 (set    
(reg/v/f:SI 22 xmm1 [orig:86 all_ovr_obj ] [86])    
        (plus:SI (reg/v/f:SI 22 xmm1 [orig:86 all_ovr_obj ] [86])    
            (const_int -28 [0xffffffe4]))) -1 (nil)    
    (expr_list:REG_EQUIV (plus:SI (reg/f:SI 6 bp)    
            (const_int -28 [0xffffffe4]))    
        (nil)))    
../../../gcc/libmudflap/mf-runtime.c:1023: internal compiler error: in    
extract_insn, at recog.c:2020    
Please submit a full bug report,    
with preprocessed source if appropriate.    
    
I will attach pre-processed mf-runtime.i. This is with    
(GCC) 4.0.0 20050120 (experimental)   
I think about a week ago it still worked.   
  
I can reproduce it with  cc1 -O2 -march=pentium-m mf-runtime.i also with a 
compiler bootstrapped with just CFLAGS="-g -O2".

-- 
           Summary: ICE  with -march=pentium-m (during bootstrap)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: arend dot bayer at web dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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