OSDN Git Service

gcov-profile/48845
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 10:33:06 +0000 (10:33 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 10:33:06 +0000 (10:33 +0000)
commit7aa82434fe91a10e9937ac91dff19c696913673a
treea45aad2c589464efdb53c646234462e9e089ab1c
parentae22319c67c80654007c8bb2a16e925841b4dbdb
 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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174275 138bc75d-0d04-0410-961f-82ee72b054a4
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