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: Toplevel Makefile.tpl cleanup 2/n part two


>> All the invocations of 'true' are, in fact, useless.
>
>Nope.  Some make&shell combinations will fail if an `if' test fails
>and there's no `else true' clause.

You're saying that 
blah:
	if false ; then : fi ; true ;

will actually *fail* in certain make/shell combinations?
Sure, the exit value of the if statement can be 1 or whatever, but in 
a ;-separated list, doesn't the exit value of the later statement 
override it?  Is there really a shell *that* broken?

Look at my code again please.

--Nathanael


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