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] | |
The patch posted at: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02543.html had missing hunks. Sorry Attached is complete patch. Bootstrapped & regtested i686-pc-mingw32 (c,c++,objc,f95) ChangeLog from Danny Smith <dannysmith@users.sourceforge.net> PR middle end/21275 * target.h (struct gcc_target): Add decl_non_addr_const_p. * target-def.h (TARGET_INITIALIZER): Add TARGET_DECL_NON_ADDR_CONST_P. (TARGET_DECL_NON_ADDR_CONST_P): Define default hook as hook_bool_tree_false. * tree.h (DECL_NON_ADDR_CONST_P): Remove. (struct tree_decl): Remove non_addr_const_p bitfield. * tree.c (staticp): Replace DECL_NON_ADDR_CONST_P with targetm.decl_non_addr_const_p. * varasm.c (initializer_constant_valid_p): Likewise. * doc/tm.texi (TARGET_DECL_NON_ADDR_CONST_P): Document) * config/i386/i386-protos.h (i386_pe_decl_non_addr_const_p): Declare. * config/i386/winnt.c (i386_pe_decl_non_addr_const_p): Define as wrapper for i386_pe_dllimport_p. (i386_pe_mark_dllexport): Remove reference to DECL_NON_ADDR_CONST_P. (i386_pe_mark_dllimport): Likewise. (i386_pe_encode_section_info): Likewise. * config/i386/cygming.h (TARGET_DECL_NON_ADDR_CONST_P): Define. * config/sh/sh-protos.h (sh_symbian_decl_non_addr_const_p): Declare. * config/sh/symbian.c (sh_symbian_decl_non_addr_const_p): Define as wrapper for sh_symbian_dllimport_p. (sh_symbian_mark_dllexport): Remove reference to DECL_NON_ADDR_CONST_P. (sh_symbian_encode_section_info): Likewise. * config/sh/symbian-post.h (TARGET_DECL_NON_ADDR_CONST_P): Define. Send instant messages to your online friends http://au.messenger.yahoo.com
Attachment:
pr21275.patch
Description: 1132905946-pr21275.patch
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |