This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris pragma macro expansion
"Joseph S. Myers" <joseph@codesourcery.com> writes:
>> > 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.
Ah, ok.
> Do you mean document the bug in C++ (and file a PR), or just file a PR
> about it?
Please document the C++ bug and file a PR.
zw