]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, X86, testsuite] Fix naked-1.c fail.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Sep 2019 18:52:05 +0000 (18:52 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Sep 2019 18:52:05 +0000 (18:52 +0000)
commit38fe150212dbb6307a56fef104a0c9b8c14e4469
treeac096b22c3d302d00c5372cd7fcceccb542e48d9
parent6fd4a2e489986f254c751dc4a5441beade84f023
[Darwin, X86, testsuite] Fix naked-1.c fail.

This fails at m32 because the scan-asm is looking for an absence
of "ret". Darwin is generating the correct code for the function
but the picbase thunk has a 'ret' insn.  Fixed by making the test
use -mdynamic-no-pic for m32.

gcc/testsuite/ChangeLog:

2019-09-20  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/i386/naked-1.c: Alter options to use non-
PIC codegen for m32 Darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276004 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/naked-1.c