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]

Re: Again, Re: floating ICE pic in m68k 990131, unrecognizable insns



  In message <199902091736.SAA01013@quatramaran.ens.fr>you write:
  > Okay, I've rebuilt cc properly, retried compiling my previous examples...
  > the failure is slightly different, which is the reason why I thought it
  > disappeared, but this is the same original file failing.
  > After trimming it down, it ends up to the following:
  > 
  > cc -O2 -fpic -v e1.i
  > Reading specs from /usr/lib/gcc-lib/m68k-unknown-openbsd2.4/egcs-2.93.04/sp
  > ecs
  > gcc version egcs-2.93.04 19990131 (gcc2 ss-980929 experimental)
  >  /usr/lib/gcc-lib/m68k-unknown-openbsd2.4/egcs-2.93.04/cc1 e1.i -quiet -O2 
  > -version -fpic -o /var/tmp/ccDR3647.s
  > GNU C version egcs-2.93.04 19990131 (gcc2 ss-980929 experimental) (m68k-unk
  > nown-openbsd2.4) compiled by GNU C version egcs-2.93.04 19990131 (gcc2 ss-9
  > 80929 experimental).
  > e1.i: In function `f':
  > e1.i:10: internal error--unrecognizable insn:
  > (insn 37 35 14 (set (reg:DF 17 fp1)
  >         (const_double:DF (mem/u:DF (symbol_ref/u:SI ("*LC0")) 0) 49152 5605
  > 19842 -921747456)) -1 (nil)
  >     (nil))
  > /usr/src/gnu/usr.bin/egcs/gcc/toplev.c:1413: Internal compiler error in fun
  > ction fatal_insn
  > 
  > 
  > 
  > ---------------------------------- e1.i
  > extern double fabs  (double)  ;
  > extern double g(double)  ;                      
  > static const double 
  > pi  =  3.14159265358979311600e+00;  
  > 
  > double f(double x)
  > {
  >         double t;
  >          return g(pi/fabs(t*x));
  > }
  > 
I just tried it with the current sources and it worked fine.  

It doesn't necessarily mean the bug is gone, particularly since it sounds like
this one has been somewhat unpredictable.
jeff


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