This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4877
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, dscott at beatnik dot com, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Thu, 15 Nov 2001 17:20:01 +0100
- Subject: Re: c/4877
[Get raw message]
Hi,
the bug can be reproduced (gcc 3.0 on i686-pc-linux-gnu) with the
following single line of code:
void f() { double x = *(float*)&x; }
Just compile with "gcc -O -c".
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4877&database=gcc