diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 06:41:07 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 06:41:07 +0000 |
commit | 4ee9c6840ad3fc92a9034343278a1e476ad6872a (patch) | |
tree | a2568888a519c077427b133de9ece5879a8484a5 /gcc/c-pragma.c | |
parent | ebb338380ab170c91e64d38038e6b5ce930d69a1 (diff) | |
download | gcc-4ee9c6840ad3fc92a9034343278a1e476ad6872a.tar.gz |
Merge tree-ssa-20020619-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81764 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r-- | gcc/c-pragma.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c index 10c8caea35d..31a17a109d2 100644 --- a/gcc/c-pragma.c +++ b/gcc/c-pragma.c @@ -352,7 +352,6 @@ maybe_apply_pragma_weak (tree decl ATTRIBUTE_UNUSED) static GTY(()) tree pending_redefine_extname; -#ifdef HANDLE_PRAGMA_REDEFINE_EXTNAME static void handle_pragma_redefine_extname (cpp_reader *); /* #pragma redefined_extname oldname newname */ @@ -388,7 +387,6 @@ handle_pragma_redefine_extname (cpp_reader *dummy ATTRIBUTE_UNUSED) else add_to_renaming_pragma_list(oldname, newname); } -#endif void add_to_renaming_pragma_list (tree oldname, tree newname) @@ -502,6 +500,9 @@ init_pragma (void) #endif #ifdef HANDLE_PRAGMA_REDEFINE_EXTNAME c_register_pragma (0, "redefine_extname", handle_pragma_redefine_extname); +#else + if (flag_mudflap) + c_register_pragma (0, "redefine_extname", handle_pragma_redefine_extname); #endif #ifdef HANDLE_PRAGMA_EXTERN_PREFIX c_register_pragma (0, "extern_prefix", handle_pragma_extern_prefix); |