diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/c-lex.c | 13 |
2 files changed, 7 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6965aea..65f44a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-09-07 Richard Henderson <rth@cygnus.com> + + * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, + do not call dispatch_pragma. + 2000-09-07 Jim Wilson <wilson@cygnus.com> * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 63ae9ba..e522144 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -457,19 +457,10 @@ process_directive () if (!strcmp (name, "pragma")) { +#ifdef HANDLE_GENERIC_PRAGMAS dispatch_pragma (); - goto skipline; - -#if 0 -#ifdef HANDLE_PRAGMA - /* We invoke HANDLE_PRAGMA before HANDLE_GENERIC_PRAGMAS - (if both are defined), in order to give the back - end a chance to override the interpretation of - SYSV style pragmas. */ - if (HANDLE_PRAGMA (getch, put_back, IDENTIFIER_POINTER (value))) - goto skipline; -#endif /* HANDLE_PRAGMA */ #endif + goto skipline; } else if (!strcmp (name, "define")) { |
