This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39228] [4.3/4.4 Regression] 387 optimised __builtin_isinf() gives incorrect result
- From: "kkojima at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2009 10:41:30 -0000
- Subject: [Bug target/39228] [4.3/4.4 Regression] 387 optimised __builtin_isinf() gives incorrect result
- References: <bug-39228-17328@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from kkojima at gcc dot gnu dot org 2009-02-20 10:41 -------
> Added:
> trunk/gcc/testsuite/gcc.c-torture/execute/pr39228.c
SH requires -mieee option for the newly added pr39228.c test.
I guess that alpha is on the same boat. Also it'll fail on
the targets like SPU which have no inf/nan supports. We need
gcc.c-torture/execute/pr39228.x
if { [istarget "alpha*-*-*"] || [istarget "sh*-*-*"] } {
# alpha and SH require -mieee for this test.
set additional_flags "-mieee"
}
if [istarget "spu-*-*"] {
# No Inf/NaN support on SPU.
return 1
}
return 0
or something like that, doesn't we?
--
kkojima at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kkojima at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39228