Hello!

This testcase assumes default SSE level less than 4.2. Limit it at SSE2.

2013-12-15  Uros Bizjak  <ubiz...@gmail.com>

    * gcc.target/i386/pr57756.c (dg-options): Add -mno-sse3.

Tested on x86_64-pc-linux-gnu {,-m32} and committed to mainline.

Uros.

Index: gcc.target/i386/pr57756.c
===================================================================
--- gcc.target/i386/pr57756.c   (revision 205996)
+++ gcc.target/i386/pr57756.c   (working copy)
@@ -1,7 +1,7 @@
-/* callee cannot be inlined into caller because it has a higher
-   target ISA.  */
 /* { dg-do compile } */
+/* { dg-options "-mno-sse3" } */

+/* callee cannot be inlined into caller because it has a higher target ISA.  */
 __attribute__((always_inline,target("sse4.2")))
 __inline int callee () /* { dg-error "inlining failed in call to
always_inline" }  */
 {
@@ -18,5 +18,3 @@
 {
   return caller();
 }
-/* callee cannot be inlined into caller because it has a higher
-   target ISA.  */

Reply via email to