This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Constructor and destructor priority attributes
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: mark at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 22 Feb 2007 18:02:20 -0500 (EST)
- Subject: Re: RFC: Constructor and destructor priority attributes
>
>
> CodeSourcer's VxWorks toolchains support the following extension to
> __attribute__((constructor)):
>
> void f __attribute__((constructor (N)));
>
> I plan to merge this functionality to the GCC mainline. Does anyone
> object to this feature, in principle?
I think this is a great extension as someone was requesting the same thing
here too.
Thanks,
Andrew Pinski