[Bug middle-end/19236] [4.0 regression] ICE compiling logp(x) with -ffast-math

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 3 05:30:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-01-03 05:30 -------
The minimal testcase is this: 
-------------------- 
extern double log1p (double __x);  
double test () { 
  return log1p(1.0); 
} 
-------------------- 
 
g/x> /home/bangerth/bin/gcc-4.0-pre/bin/c++ -ffast-math -c x.i 
x.i: In function ?double test()?: 
x.i:4: error: unrecognizable insn: 
(insn 9 8 10 0 (set (reg:XF 64) 
        (float_extend:XF (reg:XF 62))) -1 (nil) 
    (expr_list:REG_DEAD (reg:XF 62) 
        (nil))) 
x.i:4: internal compiler error: in extract_insn, at recog.c:2020 
Please submit a full bug report, 
with preprocessed source if appropriate. 
 
The same testcase ICEs with the C++ compiler, btw. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |middle-end


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



More information about the Gcc-bugs mailing list