This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/4490
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, georg at steffers dot org
- Subject: Re: optimization/4490
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Date: Mon, 8 Oct 2001 15:37:49 +0200
Hi,
the problem can be reduced to the following testcase:
void f()
{
unsigned long long ull;
double d=ull;
}
I get a seg-fault when I try to compile this with
"gcc -m128bit-long-double -c <filename>"
using gcc 3.0 on an i686-pc-linux-gnu.
The problem seems to be the cast from "unsigned long long"
to "double" with "-m128bit-long-double" enabled
(so it's probably not an optimization issue).
In the original testcase this leads into trouble with the last
"printf" statement in the function "compress".
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4490&database=gcc