[Bug c/42982] regression in gcc.dg/profile-generate-3.c
howarth at nitro dot med dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Sat Feb 6 05:34:00 GMT 2010
------- Comment #3 from howarth at nitro dot med dot uc dot edu 2010-02-06 05:34 -------
Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h (revision 156530)
+++ gcc/config/darwin.h (working copy)
@@ -272,7 +272,7 @@
%{A} %{e*} %{m} %{r} %{x} \
%{o*}%{!o:-o a.out} \
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
- %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov}
\
+ %{L*} %(link_libgcc) %o
%{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
%{fopenmp|ftree-parallelize-loops=*: \
%{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s;
: -lgomp } } \
%{!nostdlib:%{!nodefaultlibs: %(link_ssp) %G %L }} \
Index: gcc/config/darwin9.h
===================================================================
--- gcc/config/darwin9.h (revision 156530)
+++ gcc/config/darwin9.h (working copy)
@@ -31,7 +31,7 @@
%{A} %{e*} %{m} %{r} %{x} \
%{o*}%{!o:-o a.out} \
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
- %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov}
\
+ %{L*} %(link_libgcc) %o
%{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
%{fopenmp|ftree-parallelize-loops=*: \
%{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s;
: -lgomp } } \
%{!nostdlib:%{!nodefaultlibs: %(link_ssp) %G %L }} \
eliminates the failure of gcc.dg/profile-generate-3.c as expected on
x86_64-apple-darwin10.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42982
More information about the Gcc-bugs
mailing list