diff mbox

[testsuite] : Fix FAIL: gcc.target/i386/pr57756.c (test for errors, line XX)

Message ID CAFULd4b_DyvYrhrw9aBDpD9U8+xcq9Thvhoks_8QUCNfyEAiMA@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Dec. 15, 2013, 12:46 p.m. UTC
Hello!

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

2013-12-15  Uros Bizjak  <ubizjak@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.

 {
@@ -18,5 +18,3 @@
 {
   return caller();
 }
-/* callee cannot be inlined into caller because it has a higher
-   target ISA.  */
diff mbox

Patch

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" }  */