[Bug c/37544] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-16 Thread jdemeyer at cage dot ugent dot be
--- Comment #1 from jdemeyer at cage dot ugent dot be 2008-09-16 16:40 --- Created an attachment (id=16339) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16339action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37544

[Bug c/37544] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-16 Thread jdemeyer at cage dot ugent dot be
--- Comment #3 from jdemeyer at cage dot ugent dot be 2008-09-16 18:39 --- In fact, with -mno-sse the problem disappears for me too. I *do* get the problem with gcc -std=c99 -O1 -march=i386 -msse2 -mfpmath=387 -- jdemeyer at cage dot ugent dot be changed: What

[Bug c/37544] Conversion double - unsigned long long - unsigned - double gives wrong results

2008-09-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-16 18:44 --- Still works correctly on i386-darwin but that might be because PIC is turned on by default. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37544