[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

mark at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Dec 12 00:12:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770

--- Comment #40 from Mark Mitchell <mark at codesourcery dot com> 2010-12-12 00:11:56 UTC ---
On 12/11/2010 4:08 PM, hjl.tools at gmail dot com wrote:

> We only support constructor priority in single source file:

H.J., this is false.

Please try writing three constructors, with priorities 1, 2, and 3.  Put
the constructors with priorities 1 and 3 in one file and 2 in another
file.  See what happens the program runs.

Thank you,



More information about the Gcc-bugs mailing list