This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/8994: [3.2/3.3 regression] ICE with -O -march=pentium4
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, towa8667 at student dot uu dot se, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Wed, 18 Dec 2002 23:06:09 +0100
- Subject: Re: optimization/8994: [3.2/3.3 regression] ICE with -O -march=pentium4
Hi,
here's a cleaned-up testcase that just ICEs - no warning:
------------------------------snip here-------------------------------
void foo (double d)
{
union { double d; int i; } u;
while (1)
{
u.d = d;
if (u.i & 1) return;
}
}
------------------------------snip here-------------------------------
BTW, if you add a semicolon after "ret:" in the original testcase, the
warning also vanishes.
Regards,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8994