Internal compiler error with egcs-19981109

Jorg Pietschmann pietsch@swissline.ch
Mon Nov 16 14:15:00 GMT 1998


Hehe, i really enjoy this kind of bug reports! This happens on
i386-solaris2.5.1 with egcs-2.92.21 (19981109). It is destilled
from xephem-3.1:

~/reports/test$ cat foo.i       
extern double floor(double);

double mjd_day(double jd)
{
  return (floor(jd-0.5)+0.5);
}

~/reports/test$ gcc -O3 -c foo.i
foo.i: In function `mjd_day':
foo.i:7: internal error--insn does not satisfy its constraints:
(insn 11 35 13 (set (reg:DF 8 %st(0))
        (minus:DF (reg:DF 8 %st(0))
            (const_double:DF (mem/u:DF (symbol_ref/u:SI ("*.LC1")) 0) 0
0 1073643520))) 340 {ffshi_1+1} (insn_list 10 (nil))
    (nil))
toplev.c:1390: Internal compiler error in function fatal_insn


Tell me if you need additional data.

Regards

J.Pietschmann



More information about the Gcc-bugs mailing list