https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89105
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 7 14:46:32 2019 New Revision: 268637 URL: https://gcc.gnu.org/viewcvs?rev=268637&root=gcc&view=rev Log: Backported from mainline 2019-01-30 Jakub Jelinek <ja...@redhat.com> 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++.dg/abi/pr89105.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/abi/pr89105.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/i386.c branches/gcc-8-branch/gcc/testsuite/ChangeLog