[PATCH] Fix SUPPORTS_INIT_PRIORITY on Solaris
Eric Botcazou
ebotcazou@libertysurf.fr
Mon Dec 8 12:03:00 GMT 2003
Hi,
Solaris 2 doesn't understand constructor priorities (see PR target/6482), but
SUPPORTS_INIT_PRIORITY is set to 1 by default.
Compiled on sparc-sun-solaris2.6. It fixes
FAIL: g++.dg/special/conpr-4.C execution test
on sparc-sun-solaris2.*
Ok for mainline?
2003-12-08 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.
* config/sparc/sol2-gld.h: Set SUPPORTS_INIT_PRIORITY to 1.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sol2_init_priority.diff
Type: text/x-diff
Size: 1246 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031208/eab63ca5/attachment.bin>
More information about the Gcc-patches
mailing list