From 30acbc3e34bb8b43154fc49bf84ebce893f165d9 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 7 Sep 2000 18:38:08 -0700 Subject: [PATCH] c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, do not call dispatch_pragma. * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, do not call dispatch_pragma. From-SVN: r36257 --- gcc/ChangeLog | 5 +++++ gcc/c-lex.c | 13 ++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6965aea5ade..65f44a79632 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-09-07 Richard Henderson + + * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, + do not call dispatch_pragma. + 2000-09-07 Jim Wilson * 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 63ae9ba6676..e5221443a7f 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")) {