This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2011 17:10:42 -0000
- Subject: [Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*
- Auto-submitted: auto-generated
- References: <bug-48245-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245
--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-23 17:10:38 UTC ---
> maybe this is getting complex enough to warrant a spec of its own? (and then we
> could avoid cloning it)
Why would you want to clone that? LINK_PLUGIN_SPEC is defined in gcc.c
before it is used in LINK_COMMAND_SPEC, irrespective if the latter is
from gcc itself or from target headers. Just use it as is.
The fact that Darwin uses a clone of LINK_COMMAND_SPEC instead of having
hooks in the generic one to to its stuff is a mistake, IMO.
Rainer