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]

Re: Patch to support #pragma pack(push,<n>) and #pragma pack(pop)


>Does it really make sense to allow pragmas in Chill or Fortran?  If
>it doesn't, then I'd just assume not have them link in c-pragma.

Good question.  g77 already supports the limited sort of preprocessing
directive output by cpp, e.g. "# 2 <filename>".  I don't know if this
means it should support #pragma, but presumably cpp passes those
along....

But, seems like a front end should include c-pragma only if it "knows"
it needs it.  g77 doesn't need it yet, AFAIK.

>Can't those languages use attributes to handle this stuff?

Yes, they could and should, IMO, though that's probably a long way
away for g77.

        tq vm, (burley)


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