re PR c++/89105 (-Wabi warns for functions with internal linkage)
authorJakub Jelinek <jakub@redhat.com>
Wed, 30 Jan 2019 07:51:24 +0000 (08:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 30 Jan 2019 07:51:24 +0000 (08:51 +0100)
commit787e2debb8cb88138626ad7802c485f8b2c0694b
treeb31c5d55af689c6f7d5af3a7e651aa2e2f34edef
parentfe509359cf5ff58edd84bb1f28323af6dc4dd4b4
re PR c++/89105 (-Wabi warns for functions with internal linkage)

PR c++/89105
* config/i386/i386.c (ix86_warn_parameter_passing_abi): Don't warn
for arguments to functions that are TU-local and shouldn't be
referenced by assembly.

* g++.target/i386/pr89105.C: New test.

From-SVN: r268382
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/i386/pr89105.C [new file with mode: 0644]