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: [wwwdocs] IPA and LTO updates


>> I assume with --dry-run the gcc linker step is not invoked in the
>> first place. So this situation should never happen.
>
> That is not right.   It's exactly the point I was trying to make in
> <http://gcc.gnu.org/ml/gcc-patches/2010-10/msg00217.html> and referenced
> therein:
>
> If you add '+' to the recipe, then those commands are executed even in
> dry-run mode.  So the rule author now becomes responsible that this rule
> obeys intended dry-run semantics.

I see. Perhaps the gcc driver needs to check for this and do nothing
when dry-run is specified.

-Andi


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