Add check_effective_target_rdynamic and use it in g++.dg/lto/pr69589_0.C.
authorToma Tabacu <toma.tabacu@imgtec.com>
Thu, 9 Mar 2017 15:04:31 +0000 (15:04 +0000)
committerToma Tabacu <tomtab@gcc.gnu.org>
Thu, 9 Mar 2017 15:04:31 +0000 (15:04 +0000)
commit1f1fd3e2721cf68b2fe8b9516f260aee89872f60
tree364a4eb26046fb29a3d4f50af876bf2651568315
parent9125b9fc80f832228067dfabb6282a321b8844a8
Add check_effective_target_rdynamic and use it in g++.dg/lto/pr69589_0.C.

gcc/
* doc/sourcebuild.texi (Effective-Target Keywords, Other attributes):
Document rdynamic.

gcc/testsuite/

* g++.dg/lto/pr69589_0.C: Add dg-require-effective-target for
rdynamic.  Remove dg-skip-if for targets which don't support -rdynamic.
* lib/target-supports.exp (check_effective_target_rdynamic):
New proc.

From-SVN: r246004
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr69589_0.C
gcc/testsuite/lib/target-supports.exp