Require effective target weak_undefined for visibility-22.c
authorTom de Vries <tom@codesourcery.com>
Thu, 14 Dec 2017 15:01:47 +0000 (15:01 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 14 Dec 2017 15:01:47 +0000 (15:01 +0000)
commitaadd37c8a055e072475fe257681a95dc9b0c8849
treedf60246775ef9da4aba641b1bfad2dbdc61790dc
parente64905d8771745218738e7e9802f2a5f673afaa4
Require effective target weak_undefined for visibility-22.c

2017-12-14  Tom de Vries  <tom@codesourcery.com>

* lib/target-supports.exp (check_effective_target_weak_undefined): New
proc.
* gcc.dg/visibility-22.c: Require effective target weak_undefined.

* doc/sourcebuild.texi (Effective-Target Keywords, Other attributes):
Add item for weak_undefined.

From-SVN: r255637
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/visibility-22.c
gcc/testsuite/lib/target-supports.exp