This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, libgomp]: Add -mieee for testsuite/libgomp.c/atomic-6.c for alpha
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 26 Dec 2008 17:35:30 +0100
- Subject: [PATCH, libgomp]: Add -mieee for testsuite/libgomp.c/atomic-6.c for alpha
Hello!
Attached patch adds -mieee for alpha target, fixing atomic-6.c failure.
2008-12-26 Uros Bizjak <ubizjak@gmail.com>
* testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
Tested on alphaev6-unknown-linux-gnu, committed to mainline.
Uros.
Index: testsuite/libgomp.c/atomic-6.c
===================================================================
--- testsuite/libgomp.c/atomic-6.c (revision 142921)
+++ testsuite/libgomp.c/atomic-6.c (working copy)
@@ -1,5 +1,6 @@
/* PR middle-end/36106 */
/* { dg-options "-O2" } */
+/* { dg-options "-O2 -mieee" { target alpha*-*-* } } */
/* { dg-options "-O2 -march=i586" { target { { i?86-*-* x86_64-*-* } &&
ilp32 } } } */
#ifdef __i386__