[X86,Darwin,testsuite] Require alias support on a test using it.

Message ID 70D619B7-FB07-4A38-9869-0F71FC60A54B@sandoe.co.uk
State New
Headers show
Series
  • [X86,Darwin,testsuite] Require alias support on a test using it.
Related show

Commit Message

Iain Sandoe May 25, 2019, 7:52 p.m.
This test fails on Darwin because it requires alias support.
Fixed by adding the necessary g-require.

tested on x86_64-darwin16 and x86_64-linux-gnu (--target_board=unix\{-m32,-m64\}\{,-fpic\})
aplied to mainline,
thanks
Iain

gcc/testsuite/

2019-05-25  Iain Sandoe  <iain@sandoe.co.uk>

	* gcc.target/i386/pr82659-3.c: Require alias support.

Patch

Index: gcc/testsuite/gcc.target/i386/pr82659-3.c
===================================================================
--- gcc/testsuite/gcc.target/i386/pr82659-3.c	(revision 271620)
+++ gcc/testsuite/gcc.target/i386/pr82659-3.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-alias "" } */
 /* { dg-options "-O2 -fcf-protection" } */
 /* { dg-final { scan-assembler-times {\mendbr} 2 } } */