testsuite/ix86: prune MMX ABI warning

Message ID 4fb28833-03e9-5726-373b-d96e6c77ae82@suse.com
State New
Headers
Series testsuite/ix86: prune MMX ABI warning |

Commit Message

Jan Beulich June 28, 2022, 6:48 a.m. UTC
  So far on 32-bit hosts this test failed (for both C and C++) because of
the ABI change warning occurring without (explictly) enabling MMX.

gcc/testsuite/

	* c-c++-common/torture/builtin-shufflevector-2.c: Prune ix86 MMX
	ABI warning.
  

Comments

Uros Bizjak June 28, 2022, 7:03 a.m. UTC | #1
On Tue, Jun 28, 2022 at 8:48 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> So far on 32-bit hosts this test failed (for both C and C++) because of
> the ABI change warning occurring without (explictly) enabling MMX.
>
> gcc/testsuite/
>
>         * c-c++-common/torture/builtin-shufflevector-2.c: Prune ix86 MMX
>         ABI warning.

OK, but please add a comment that this applies to some x86 configurations.

Thanks,
Uros.


> --- a/gcc/testsuite/c-c++-common/torture/builtin-shufflevector-2.c
> +++ b/gcc/testsuite/c-c++-common/torture/builtin-shufflevector-2.c
> @@ -24,3 +24,5 @@ main (void)
>        __builtin_abort ();
>    return 0;
>  }
> +
> +// { dg-prune-output "MMX vector (argument|return) without MMX enabled changes the ABI" }
  

Patch

--- a/gcc/testsuite/c-c++-common/torture/builtin-shufflevector-2.c
+++ b/gcc/testsuite/c-c++-common/torture/builtin-shufflevector-2.c
@@ -24,3 +24,5 @@  main (void)
       __builtin_abort ();
   return 0;
 }
+
+// { dg-prune-output "MMX vector (argument|return) without MMX enabled changes the ABI" }