tree-prof.exp: Check for -fprofile-generate support.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 26 May 2011 10:33:06 +0000 (10:33 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 26 May 2011 10:33:06 +0000 (10:33 +0000)
commit3f5cb2514af64e1a6114cf49767a8ea056422ee0
treea45aad2c589464efdb53c646234462e9e089ab1c
parent1537737f284eaacd8a335d1c8dbfb6cd10b0803b
tree-prof.exp: Check for -fprofile-generate support.

 gcov-profile/48845
* g++.dg/tree-prof/tree-prof.exp: Check for -fprofile-generate
support.
* gcc.dg/matrix/matrix.exp: Likewise.
* gcc.dg/tree-prof/tree-prof.exp: Likewise.
* lib/target-supports-dg.exp (dg-require-profiling): Don't pass
line number to check_profiling_available.
* lib/target-supports.exp (check_profiling_available): Account for
this.
Require TLS runtime support with -fprofile-generate.
* lib/profopt.exp (profopt-execute): Add TLS options for
-fprofile-generate.
* gcc.dg/pr47793.c: Add dg-require-profiling "-fprofile-generate".

From-SVN: r174275
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-prof/tree-prof.exp
gcc/testsuite/gcc.dg/matrix/matrix.exp
gcc/testsuite/gcc.dg/pr47793.c
gcc/testsuite/gcc.dg/tree-prof/tree-prof.exp
gcc/testsuite/lib/profopt.exp
gcc/testsuite/lib/target-supports-dg.exp
gcc/testsuite/lib/target-supports.exp