r274065 - in /branches/gcc-9-branch/gcc/testsui...

iains@gcc.gnu.org iains@gcc.gnu.org
Sun Aug 4 10:40:00 GMT 2019


Author: iains
Date: Sun Aug  4 10:40:16 2019
New Revision: 274065

URL: https://gcc.gnu.org/viewcvs?rev=274065&root=gcc&view=rev
Log:
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.


Modified:
    branches/gcc-9-branch/gcc/testsuite/ChangeLog
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pconfig-1.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr18041-1.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr18041-2.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr66819-3.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr66819-4.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr82662.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/ptwrite2.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/wbinvd-1.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/wbnoinvd-1.c



More information about the Gcc-cvs mailing list