egcs-2.91.57 19980901: Internal compiler error

Jeffrey A Law law@cygnus.com
Mon Jan 18 20:13:00 GMT 1999


  In message < 199901190124.CAA06375@isnogud.escape.de >you write:
  > When compiling the teTeX-0.9-990113 distribution I got an internal
  > compiler error in teTeX-0.9/texk/oxdvik/special.c.
  > 
  > I've run that source through gcc -E and removed lots of irrelevant
  > code.  It it still 30K of source, mostly typedef's and struct's from
  > X11 include files which are unused in that src.  Unfortunately, I have
  > no tool to automatically remove those typedef's which aren't used.
  > Maybe you can boil it down further using some tools.
  > 
  > The relevant items are three inline assembly functions which are from
  > glibc-2.0.6, they are sin(), cos() and floor(), and another function
  > which comes from the teTeX source special.c, namely draw_bbox().
  > 
  > Compiling only fails with -O2:
  > 
  > egcs-error 965$ gcc -c special.i 
  > egcs-error 966$ gcc -c -O special.i 
  > egcs-error 967$ gcc -c -O2 special.i 
  > ../../egcs-1.1b/gcc/caller-save.c:657: Internal compiler error in function 
  > insert_save_restore
Thanks.  I just happened to check in a fix for this bug last night.

jeff



More information about the Gcc-bugs mailing list