In Sema::ActOnPragmaPack, I see this:
// FIXME: This should come from the target.
if (AlignmentVal == 0)
AlignmentVal = 8;
So, what's the right fix? Should this be
(Context.Target.getDoubleAlign() / Context.Target.getCharWidth())? (And
why 8? Where does that come from?)
--
Eric Niebler
BoostPro Computing
http://www.boostpro.com