Remove useless defines of DONT_ACCESS_GBLS_AFTER_EPILOGUE

Ian Lance Taylor ian@airs.com
Thu Apr 14 01:10:00 GMT 2005


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> On Thu, 7 Apr 2005, Ian Lance Taylor wrote:
> 
> > 2005-04-07  Ian Lance Taylor  <ian@airs.com>
> > 
> > 	* config/iq2000/iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't
> > 	define.
> > 	* config/mips/mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
> > 	* config/sparc/sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE):
> > 	Likewise.
> 
> Poisoning the macro in system.h would be a good idea as well.

I thought about that, but since the macro was never documented, and
hasn't been meaningful since 1997, and was only defined in the three
header files mentioned above (and the iq2000.h one was merely copied
from the mips.h at that), I didn't think it was worth it.  I don't
think anybody is going to add a use accidentally, and with the lack of
documentation and the lack of use I doubt it is defined in any
uncontributed backends.

I'll submit a patch to poison it if you still think it is a good
idea.

Ian



More information about the Gcc-patches mailing list