This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I decided to fix up this patch for Zack and I found it was just a simple off by one error when handling maybe_apply_renaming_pragma.
Bootstrapped on powerpc-apple-darwin with no regressions plus I tried the simple testcase which Rainer Orth gave and it looked to be fixed.
OK to commit if someone tests on Solaris and Tru64 (OSF) and there are no regressions because of this patch?
Thanks, Andrew Pinski
* target.h (targetm): Add handle_pragma_redefine_extname and handle_pragma_extern_prefix booleans. * target-def.h: Default TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME and TARGET_HANDLE_PRAGMA_EXTERN_PREFIX to 0. Update TARGET_INITIALIZER. * system.h: Poison HANDLE_PRAGMA_REDEFINE_EXTNAME and HANDLE_PRAGMA_EXTERN_PREFIX. * config/sol2.h, config/alpha/osf.h: Update to match. cp: * cp-lang.c (has_c_linkage): New function.
Attachment:
test.diff1.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |