This is the mail archive of the
mailing list for the GCC project.
Re: Solaris pragma macro expansion
On Mon, 22 Nov 2004, Richard Henderson wrote:
> On Fri, Nov 19, 2004 at 08:06:09PM +0000, Joseph S. Myers wrote:
> > In particular, #pragma align may appear after the first
> > declaration...
> What happens if it's instead after the definition? It does seem
> like this should continue to fail. If you don't check, for gcc
> it will fail (or not) depending on -funit-at-a-time.
I don't think Sun have that precise a definition of what can be done with
this pragma. Although there must have been some specification behind the
2004-08-04 Daniel Jacobowitz <email@example.com>
* config/sol2-c.c (solaris_pragma_align): Allow #pragma align after
the first declaration.
I'll leave that part out for now given that Sun's pragma documentation
that I know of
<http://docs.sun.com/source/817-5064/sun.specific.html#48658> says the
pragma *is* ignored after declarations.
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
firstname.lastname@example.org (personal mail)
email@example.com (CodeSourcery mail)
firstname.lastname@example.org (Bugzilla assignments and CCs)