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]
Other format: [Raw text]

Re: system.h and system header include cleanup - ORTHOGONAL POINTS


On Nov 27 2010, Joseph S. Myers wrote:

GET_ENVIRONMENT was a macro ... ... and plenty of plain uses of getenv,

I think that I recall the history of that (and it's wider than gcc), but the world has moved in the direction you have changed the code. What was a good idea then is merely confusing now.

fortran/gfortran.h had a pile of definitions related to alloca.  If
such were needed, system.h would be the right place for them, but
since the rest of GCC uses alloca without needing such definitions I
just removed them.

Do you know if any of those rely on function-scope lifetime rather than block-scope lifetime and are in code that is needed for bootstrapping? I am still trying to find out where the world is going in this respect, and it is most unclear.


Regards, Nick Maclaren.



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