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: optimization/4490


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



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