[Bug c/30580] GCC doesn't set floating-point exceptions when performing fp-int conversions

2010-10-05 Thread tydeman at tybor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30580 Fred J. Tydeman tydeman at tybor dot com changed: What|Removed |Added CC||tydeman at

[Bug c/30580] GCC doesn't set floating-point exceptions when performing fp-int conversions

2010-10-05 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30580 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/30580] GCC doesn't set floating-point exceptions when performing fp-int conversions

2008-12-26 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-12-26 16:07 --- Failing with 183 failures with gcc -std=c99 foo.c -lm on current trunk with x86_64-unknown-linux-gnu -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/30580] GCC doesn't set floating-point exceptions when performing fp-int conversions

2007-01-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #4 from jsm28 at gcc dot gnu dot org 2007-01-25 14:06 --- And indeed we should support Annex F in this regard. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/30580] GCC doesn't set floating-point exceptions when performing fp-int conversions

2007-01-24 Thread geoffk at gcc dot gnu dot org
--- Comment #1 from geoffk at gcc dot gnu dot org 2007-01-24 22:04 --- Created an attachment (id=12952) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12952action=view) tflt2int.c testcase From http://www.tybor.com/tflt2int.c. --

[Bug c/30580] GCC doesn't set floating-point exceptions when performing fp-int conversions

2007-01-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-24 22:10 --- I thought those conversions are just undefined and don't raise exceptions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30580

[Bug c/30580] GCC doesn't set floating-point exceptions when performing fp-int conversions

2007-01-24 Thread geoffk at gcc dot gnu dot org
--- Comment #3 from geoffk at gcc dot gnu dot org 2007-01-25 06:01 --- It's optional, but if you support Annex F of the C99 standard then F.4 says: If the floating value is infinite or NaN or if the integral part of the floating value exceeds the range of the integer type, then the