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]

[patch,darwin] Fix LINK_COMMAND_SPEC for -fprofile-generate


Hi all,
gcc.dg/profile-generate-3.c currently fails on darwin, because of a slight error in the specs:
gcc/gcc.c has in LINK_COMMAND_SPEC the following: %{fprofile-arcs| fprofile-generate*|coverage:-lgcov}
In config/darwin/darwin.h and config/darwin/darwin9.h, we have: % {fprofile-arcs|fprofile-generate|coverage:-lgcov}


The following patch, bordering on the obvious, fixes it by adding the missing "*".

Bootstrapped and regtested on i686-darwin. OK to commit?

FX

Attachment: profile_generate.ChangeLog
Description: Binary data

Attachment: profile_generate.diff
Description: Binary data


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