]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin, X86, testsuite, backport matching fixes.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 4 Aug 2019 10:40:16 +0000 (10:40 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 4 Aug 2019 10:40:16 +0000 (10:40 +0000)
commit26913944c837688fd98b1a00631f15dde516fe76
tree875c323caf4bf377b5accf4305c55639c060e537
parent93d7687e693c2be4a475dc37d0c2eaa0c5b765de
Darwin, X86, testsuite, backport matching fixes.

Some of the i386.exp tests fail on Darwin (and at least one passes
incorrectly on Linux) because their scan-asm match strings are too
general.  In some cases the strings also match instances in the .file
and size directives or in comment output.  This patch makes the match
strings more specific.

2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-05-24  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/i386/pconfig-1.c: Scan for the string in the generated
code, not in comments or miscellaneous directives.
* gcc.target/i386/pr18041-1.c: Likewise.
* gcc.target/i386/pr18041-2.c: Likewise.
* gcc.target/i386/wbinvd-1.c: Likewise.
* gcc.target/i386/wbnoinvd-1.c: Likewise.
* gcc.target/i386/pr66819-3.c: Specifically, check that there is no
call to "bar".
* gcc.target/i386/pr66819-4.c: Likewise.
* gcc.target/i386/pr82662.c
* gcc.target/i386/ptwrite2.c: Make the checks look for the specific
destination register, don't try the m32 test on m64 targets.

From-SVN: r274065
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pconfig-1.c
gcc/testsuite/gcc.target/i386/pr18041-1.c
gcc/testsuite/gcc.target/i386/pr18041-2.c
gcc/testsuite/gcc.target/i386/pr66819-3.c
gcc/testsuite/gcc.target/i386/pr66819-4.c
gcc/testsuite/gcc.target/i386/pr82662.c
gcc/testsuite/gcc.target/i386/ptwrite2.c
gcc/testsuite/gcc.target/i386/wbinvd-1.c
gcc/testsuite/gcc.target/i386/wbnoinvd-1.c