* system.h (loc_t): Poison.

From-SVN: r193150
This commit is contained in:
David Edelsohn 2012-11-05 00:20:21 +00:00 committed by David Edelsohn
parent 3141cfb622
commit e091ffb72f
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-11-05 David Edelsohn <dje.gcc@gmail.com>
* system.h (loc_t): Poison.
2012-11-05 Marc Glisse <marc.glisse@inria.fr>
* fold-const.c (fold_unary_loc): Disable conversion optimization

View File

@ -774,6 +774,11 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
#undef strerror
#pragma GCC poison strerror
/* loc_t is defined on some systems and too inviting for some
programmers to avoid. */
#undef loc_t
#pragma GCC poison loc_t
/* Old target macros that have moved to the target hooks structure. */
#pragma GCC poison ASM_OPEN_PAREN ASM_CLOSE_PAREN \
FUNCTION_PROLOGUE FUNCTION_EPILOGUE \