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: egcs-2.93.22 19990518 (i686-pc-linux-gnu): ICE in `fold_truthop', at fold-const.c:3813



  In message <d93e0u5b0e.fsf@han.cs.umn.edu>you write:
  > Hi,
  > 
  > The following simple program causes an internal compiler error:
  > 
  >   /* output1.c */
  >   typedef int   gboolean;
  > 
  >   typedef struct{
  >     gboolean names : 1;
  >     gboolean types : 1;
  >   } ParamOptions;
  > 
  >   int p_param(ParamOptions* o){
  >     return o->types && o->names;
  >   }
  > 
  > The compiler output is
  > 
  >   han ~/z/z > gcc -v
  >   Reading specs from /home/grad04/harinath/linux/lib/gcc-lib/i686-pc-linux-
  > gnu/egcs-2.93.22/specs
  >   gcc version egcs-2.93.22 19990518 (gcc2 ss-980929 experimental)
  >   han ~/z/z > gcc -O2 -c output1.c
  >   output1.c: In function `p_param':
  >   output1.c:9: Internal compiler error in `fold_truthop', at fold-const.c:3
  > 813
  >   Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
  >   See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
Thanks.  I've forwarded the bug to Andreas.  I've also added your test to the
regression testsuite.

jeff


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