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: Solaris pragma macro expansion


On Tue, 23 Nov 2004, Zack Weinberg wrote:

> "Joseph S. Myers" <joseph@codesourcery.com> writes:
> 
> > --- GCC.orig/gcc/doc/extend.texi	2004-11-05 01:22:46.000000000 +0000
> > +++ GCC/gcc/doc/extend.texi	2004-11-19 16:36:59.000000000 +0000
> > @@ -8603,7 +8603,7 @@
> >  
> >  Increase the minimum alignment of each @var{variable} to @var{alignment}.
> >  This is the same as GCC's @code{aligned} attribute @pxref{Variable
> > -Attributes}).
> > +Attributes}).  Macro expansion occurs on the arguments to this pragma.
> 
> This is inaccurate - expansion only happens on some targets (currently
> only Solaris) and only in C (which is considered a bug).  Please
> clarify.

The section is entitled "Solaris Pragmas", and the pragma is only 
implemented on Solaris.

Do you mean document the bug in C++ (and file a PR), or just file a PR 
about it?

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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