> I believe the following should fix this for you, at least for libgomp. > If you have a system for which the thread-id 0 is actually used, would > you mind testing it?
This code is dead, it was only used for Solaris 2.5.1 and 2.6 and we don't support these versions any longer, see config.gcc. I'd just get rid of it. -- Eric Botcazou