* gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
* gcc.dg/profile-generate-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146605
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
%{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
+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.
--- /dev/null
+/* { dg-do link } */
+/* { dg-options "-fprofile-generate=." } */
+
+int
+main ()
+{
+ return 0;
+}
+