This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51255] Using -fwhole-program breaks code which puts values in .ctors or .init_array
- From: "krisztian.kocsis at optimaster dot eu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Apr 2012 14:35:37 +0000
- Subject: [Bug middle-end/51255] Using -fwhole-program breaks code which puts values in .ctors or .init_array
- Auto-submitted: auto-generated
- References: <bug-51255-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51255
--- Comment #6 from Krisztian Kocsis <krisztian.kocsis at optimaster dot eu> 2012-04-16 14:35:37 UTC ---
I currently know that glibc uses it but don't know who else use it.
In my projects I always use constructor/destructor attributes because with them
I can control the exection order.