Solaris pragma macro expansion
Joseph S. Myers
joseph@codesourcery.com
Tue Nov 23 22:02:00 GMT 2004
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)
More information about the Gcc-patches
mailing list