This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] |
On Mon, May 9, 2011 at 6:53 AM, Alan Modra<amodra@gmail.com> wrote: > I'm starting to wonder whether ld/testsuite/ld-elf/pr12730.cc is > valid. ?Does gcc actually make any guarantee about order of static > constructors and __attribute ((constructor)) functions?
I have similar doubt.
> Compiled with gcc-4.3 branch g++, the testcase segfaults at all > optimization levels. ?Compiled with gcc-4.4 branch g++, the testcase > runs at -O0 but segfaults at -O1 and above. ?It happens to run OK with > gcc mainline and 4.6. ?Given that behaviour, and the fact that some > popular distros ship gcc-4.4 based compilers, I'm thinking that the > testcase should be removed. >
I will do that.
----------------------------------------------------------------------- Craig Southeren Post Increment ñ VoIP Consulting and Software craigs@postincrement.com.au www.postincrement.com.au
Phone: +61 243654666 ICQ: #86852844 Fax: +61 243656905 MSN:craig_southeren@hotmail.com Mobile: +61 417231046 Jabber:craigs@jabber.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |