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)


On Mon, Sep 21, 1998 at 10:52:57AM -0700, Nick Clifton wrote:
> The main reason that I have to link in c-pragma.o is that it now
> defines the global variable 'weak_decls' which is referenced in
> varasm.o, *even if* pragmas are not actually being used by the front
> end.

Nasty.

> I could undo this change, and move 'weak_decls' back into varasm.c
> (which is where it was originally defined), which would mean not
> having to modify the Chill/Fortran makefiles.

That seems best -- including c-pragma.o starts you down the
slippery road to hopelessly entangling f771 and cc1.


r~


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