This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/34880] gcc.c-torture/execute/float-floor.c fails for targets with no 64-bit double type
- From: "pmarques at grupopie dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2008 01:03:36 -0000
- Subject: [Bug testsuite/34880] gcc.c-torture/execute/float-floor.c fails for targets with no 64-bit double type
- References: <bug-34880-15663@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pmarques at grupopie dot com 2008-01-30 01:03 -------
Created an attachment (id=15054)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15054&action=view)
fix to float-floor.c
Marking all tests that use double as unsupported is actually overkill. The avr
target supports "4 byte doubles" (the same as floats) that allows it to pass
most tests that use the double type.
This patch fixes this test instead, which is the only test that fails from the
gcc.c-torture/execute batch because of lack of 8 byte double support.
The patch leaves the test as is for most targets, only changing it for targets
whose sizeof(double) is 4 or less.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34880