Commit 9467fbc0 by Iain Sandoe Committed by Iain Sandoe

darwin, x86, testsuite - Match codegen

For this test, we can match the codegen expected in the scan-asms
by avoiding the extra indirection that's mandated by the ABI for
common access and by using -mdynamic-no-pic for the 32b case.

gcc/testsuite/

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

	* gcc.target/i386/pr22076.c: Adjust options to
	match codegen expected by the scan-asms.

From-SVN: r271670
parent 5c7247b7
2019-05-27 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/i386/pr22076.c: Adjust options to
match codegen expected by the scan-asms.
2019-05-27 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/array4.ads: New test.
......
/* { dg-do compile } */
/* { dg-options "-O2 -fomit-frame-pointer -mmmx -mno-sse2" } */
/* { dg-additional-options "-fno-common" { target *-*-darwin* } } */
/* { dg-additional-options "-mdynamic-no-pic" { target { ia32 && *-*-darwin* } } } */
#include <mmintrin.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment