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] |
OK? Thanks, - Devang
* c-common.c (handle_used_attribute): Let target mark decl used. * c-decl.c (start_function): decls decorated with attribute used may already have their assembler name set. * target-def.h (TARGET_ASM_MARK_DECL_USED): New #define. (TARGET_ASM_OUT): New member, TARGET_ASM_MARK_DECL_USED. * target.h (struct gcc_target): New member, mark_decl_used. * targhooks.c (default_mark_decl_used): New function. * targhooks.h (default_mark_decl_used): New decl. * darwin.c (darwin_mark_decl_used): New function. * darwin.h (TARGET_ASM_MARK_DECL_USED): New #define.
testsuite: gcc.dg/darwin-20040809-1.c: New test
Attachment:
3739318.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |