PR c/82301 - Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041...
authorMartin Sebor <msebor@redhat.com>
Thu, 12 Oct 2017 17:37:56 +0000 (17:37 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Thu, 12 Oct 2017 17:37:56 +0000 (11:37 -0600)
commit7a866e7e316df13b04a84a8d5426b43d016573ea
tree0aa083148a64517b691539878d5b1cfcead20175
parente95c91292876830c8e36b0a55f0c03d1247aaccb
PR c/82301 - Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041 segfault on powerpc64

PR c/82301 - Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041 segfault on powerpc64
PR c/82435 - new __attribute__((alias)) warning gets in the way

gcc/ChangeLog:

PR other/82301
PR c/82435
* cgraphunit.c (maybe_diag_incompatible_alias): New function.
(handle_alias_pairs): Call it.
* common.opt (-Wattribute-alias): New option.
* doc/extend.texi (ifunc attribute): Discuss C++ specifics.
* doc/invoke.texi (-Wattribute-alias): Document.

gcc/testsuite/ChangeLog:

PR other/82301
PR c/82435
* g++.dg/ext/attr-ifunc-1.C: Update.
* g++.dg/ext/attr-ifunc-2.C: Same.
* g++.dg/ext/attr-ifunc-3.C: Same.
* g++.dg/ext/attr-ifunc-4.C: Same.
* g++.dg/ext/attr-ifunc-5.C: Same.
* g++.dg/ext/attr-ifunc-6.C: New test.
* g++.old-deja/g++.abi/vtable2.C: Update.
* gcc.dg/attr-ifunc-6.c: New test.
* gcc.dg/attr-ifunc-7.c: New test.
* gcc.dg/pr81854.c: Update.
* lib/target-supports.exp: Update.

From-SVN: r253688
14 files changed:
gcc/ChangeLog
gcc/cgraphunit.c
gcc/common.opt
gcc/doc/extend.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attr-ifunc-1.C
gcc/testsuite/g++.dg/ext/attr-ifunc-2.C
gcc/testsuite/g++.dg/ext/attr-ifunc-3.C
gcc/testsuite/g++.dg/ext/attr-ifunc-4.C
gcc/testsuite/g++.dg/ext/attr-ifunc-5.C
gcc/testsuite/g++.old-deja/g++.abi/vtable2.C
gcc/testsuite/gcc.dg/pr81854.c
gcc/testsuite/lib/target-supports.exp