Hi Toma, >> Thanks for fixing this! Do you have plan to backport the fix to gcc-6 branch? > > I am happy to backport it. > I've rebased the patch on top of the gcc-6 branch and attached it below. > > Rainer, is this OK for gcc-6?
sure, thanks. Rainer > gcc/ChangeLog: > > Backported from mainline > 2017-03-09 Toma Tabacu <toma.tab...@imgtec.com> > > * doc/sourcebuild.texi (Effective-Target Keywords, Other attributes): > Document rdynamic. > > gcc/testsuite/ChangeLog: > > Backported from mainline > 2017-03-09 Toma Tabacu <toma.tab...@imgtec.com> > > * g++.dg/lto/pr69589_0.C: Add dg-require-effective-target for > rdynamic. > * lib/target-supports.exp (check_effective_target_rdynamic): > New proc. -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University