This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix tree-optimization/17578
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 26 Dec 2004 15:54:44 -0500 (EST)
- Subject: [committed] Fix tree-optimization/17578
The following change is committed as obvious. `set options
"-fno-trapping-math"' doesn't add "-fno-trapping-math" to the
options used by the test.
Tested on hppa-unknown-linux-gnu. Committed to trunk.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2004-12-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR tree-optimization/17578
* gcc.c-torture/execute/ieee/compare-fp-3.x: Append -fno-trapping-math
to additional_flags.
* gcc.c-torture/execute/ieee/compare-fp-4.x: Likewise.
Index: gcc.c-torture/execute/ieee/compare-fp-3.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-3.x,v
retrieving revision 1.1
diff -u -3 -p -r1.1 compare-fp-3.x
--- gcc.c-torture/execute/ieee/compare-fp-3.x 4 Jun 2004 18:34:22 -0000 1.1
+++ gcc.c-torture/execute/ieee/compare-fp-3.x 26 Dec 2004 20:17:36 -0000
@@ -1,2 +1,2 @@
-set options "-fno-trapping-math"
+lappend additional_flags "-fno-trapping-math"
return 0
Index: gcc.c-torture/execute/ieee/compare-fp-4.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-4.x,v
retrieving revision 1.1
diff -u -3 -p -r1.1 compare-fp-4.x
--- gcc.c-torture/execute/ieee/compare-fp-4.x 4 Jun 2004 18:34:22 -0000 1.1
+++ gcc.c-torture/execute/ieee/compare-fp-4.x 26 Dec 2004 20:17:36 -0000
@@ -1,2 +1,2 @@
-set options "-fno-trapping-math"
+lappend additional_flags "-fno-trapping-math"
return 0