http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
--- Comment #41 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-12 00:19:54 UTC --- (In reply to comment #40) > 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. > That doesn't mean anything. My testcase shows that a constructor with priority 65535 may run after another constructor with priority 1007 in another file. We say explicitly --- Note that the particular values of PRIORITY do not matter; only their relative ordering. --- That means we only guarantee constructor priorities in one TU and my testcase confirms it.