This is the mail archive of the gcc@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]

Re: RFA: how to handle union wait portably?


msokolov@ivan.Harhan.ORG (Michael Sokolov) writes:

> The upshot of all this is that everything works correctly except when doing a
> 3-stage GCC bootstrap with make bootstrap using the native cc as the starting
> compiler. I don't see how the GCC source could be changed to avoid this
> problem.

It seems to me that when you switch compilers you should re-run
configure.  So arguably it is a bug in 'make bootstap' if it doesn't
do that.

Another possible solution:  Add fix-includes changes so that
WIFEXITED etc cast their arguments to (union wait*).

One might argue that both fixes should be done.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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