This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[PATCH] Enable SUPPORTS_INIT_PRIORITY on darwin


   Once the requested patch to extend qsorting of init priorities to destructors...

http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00154.html

is committed, the following patch enables SUPPORTS_INIT_PRIORITY on darwin. The
testsuite regression results are...

http://gcc.gnu.org/ml/gcc-testresults/2013-02/msg00520.html

without and...

http://gcc.gnu.org/ml/gcc-testresults/2013-02/msg00522.html

with SUPPORTS_INIT_PRIORITY enabled. Only the g++.dg/special/conpr-3.C execution test
fails as expected. The attached patch adds a dg-shouldfail on darwin for this testcase
as darwin lacks inter-module init priority support. With this patch, we will have the
same level of init priority support (ie only intra-modular) as clang. Regression tested
on x86_64-apple-darwin12. Okay for gcc trunk after the destructor qsorting patch
is committed?
        Jack

Attachment: enable_init_priority.diff
Description: Text document


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