gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
2009-04-22 Mark Heffernan <meheff@google.com> * gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=. * gcc.dg/profile-generate-3.c: New test. From-SVN: r146605
This commit is contained in:
parent
1cae1c5fc0
commit
a123d17589
@ -1,3 +1,7 @@
|
||||
2009-04-22 Mark Heffernan <meheff@google.com>
|
||||
|
||||
* gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
|
||||
|
||||
2009-04-22 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* config/arm/arm.c (arm_rtx_costs_1): Use power_of_two_operand
|
||||
|
@ -743,7 +743,7 @@ proper position among the other output files. */
|
||||
%{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
|
||||
%{static:} %{L*} %(mfwrap) %(link_libgcc) %o\
|
||||
%{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)} %(mflib)\
|
||||
%{fprofile-arcs|fprofile-generate|coverage:-lgcov}\
|
||||
%{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\
|
||||
%{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}\
|
||||
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}"
|
||||
#endif
|
||||
|
@ -1,3 +1,7 @@
|
||||
2009-04-22 Mark Heffernan <meheff@google.com>
|
||||
|
||||
* gcc.dg/profile-generate-3.c: New test.
|
||||
|
||||
2009-04-22 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* g++.dg/tree-ssa/ehcleanup-1.C: New testcase.
|
||||
|
9
gcc/testsuite/gcc.dg/profile-generate-3.c
Normal file
9
gcc/testsuite/gcc.dg/profile-generate-3.c
Normal file
@ -0,0 +1,9 @@
|
||||
/* { dg-do link } */
|
||||
/* { dg-options "-fprofile-generate=." } */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user