This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-2.93.22 19990518 (i686-pc-linux-gnu): ICE in `fold_truthop', at fold-const.c:3813
- To: Raja R Harinath <harinath at cs dot umn dot edu>
- Subject: Re: egcs-2.93.22 19990518 (i686-pc-linux-gnu): ICE in `fold_truthop', at fold-const.c:3813
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Wed, 19 May 1999 02:59:57 -0600
- cc: egcs-bugs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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