This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Compile g++.dg/opt/pr52727.C with -march=i686 for ia32


Hi,

Revision 206943 caused a regression on g++.dg/opt/pr52727.C, which wasn't
caught by my automated tester since SSE2 and SSE math are enabled by
default.  This patch adds -march=i686 for ia32 when compiling
g++.dg/opt/pr52727.C, which is required to reproduce the bug. OK to
install?

Thanks.


H.J.
---
2014-02-04  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/opt/pr52727.C: Compile with -march=i686 for ia32.

diff --git a/gcc/testsuite/g++.dg/opt/pr52727.C b/gcc/testsuite/g++.dg/opt/pr52727.C
index 4dd3853..ed8b973 100644
--- a/gcc/testsuite/g++.dg/opt/pr52727.C
+++ b/gcc/testsuite/g++.dg/opt/pr52727.C
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-g -Os" }
+// { dg-additional-options "-march=i686" { target ia32 } }
 
 int grow (int);
 void fn (int);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]