]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Improve g++.dg/ext/attr-parm-1.C testcase [PR94946]
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 May 2020 12:56:51 +0000 (14:56 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 7 May 2020 13:24:14 +0000 (15:24 +0200)
commitdd38686d9c810cecbaa80bb82ed91caaa58ad635
tree589fe8623b4e600d95e17251a4e1a5833fe32c82
parentda91f9d2b6edea15eee052f93976b15e786da536
testsuite: Improve g++.dg/ext/attr-parm-1.C testcase [PR94946]

The testcase in the current form doesn't FAIL without the patch on
x86_64-linux unless also testing with -m32; as that the 64-bit testing
on that target is probably way more common, and we can use also attributes
that FAIL without the patch with -m64, the following patch adjusts the
test, so that it FAILs without the patch for both -m64 and -m32 (but not
-mx32) and PASSes with the patch.

2020-05-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/94946
* g++.dg/ext/attr-parm-1.C: Enable the test also for lp64 x86, use
sysv_abi and ms_abi attributes in that case instead of fastcall and
no attribute.
gcc/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attr-parm-1.C