This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GCC PATCH]: add tests for pthread initialization macros
> OK. I'm convinced:
> 1. initializer horsedung belongs in the file where the struct is
> defined (And the Austin group should be informed of their mistake)
> 2. GCC needs a way to say, "initialize this thing to all NUL bytes,
> whatever in heck its format happens to be."
While I wholeheartedly agree with your sentiment, #2 won't solve these
problems. At least on e.g. solaris9 the PTHREAD_MUTEX_INITIALIZER et
al. use some non-zero initializers. :-/
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu