[GCC PATCH]: add tests for pthread initialization macros

Kaveh R. Ghazi ghazi@caipclassic.rutgers.edu
Fri Sep 29 02:07:00 GMT 2006


 > 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



More information about the Gcc-patches mailing list