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]

Re: Generalized init_priority attribute


Aaron W. LaFramboise wrote:

> Also, I don't feel very sorry for users who get unfavorable
> initialization order because they knowingly circumvented the
> init_priority system with asm().

How would anyone know that writing 

_asm_(
  ".section\t.ctors.foo ,\"w\"\n\t"
  ".align 4\n\t"
   ".long\t_bar");

circumvented gcc's init_priority system.  I found out by accident.

Danny
> 
> Aaron W. LaFramboise


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