This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix typo causing PR42892


Jack,
mea culpa...
... fix looks OK to  me (but not my call obviously).
Iain
On 6 Feb 2010, at 05:46, Jack Howarth wrote:


The changes to gcc/config/darwin.h and gcc/config/darwin9.h in r155534 accidentally omitted the trailing * causing the gcc.dg/profile-generate-3.c test case to fail on *-apple-darwin*. Adding this missing * eliminates the failure. Tested on x86_64-apple-darwin10 without regressions. Okay for gcc trunk? Jack

2010-02-05 Jack Howarth <howarth@bromo.med.uc.edu>

	PR 42982
	* gcc/config/darwin.h: Fix typo.
	* gcc/config/darwin9.h: Same.

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 }} \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]