ChangeLog.apple revision 260014
1006-02-15 Fariborz Jahanian <fjahanian@apple.com> 2 3 Radar 4445586 4 * c-common.def (DO_STMT): Takes an extra argument. 5 6/* APPLE LOCAL merge marger */ 7/* Stuff under is in fsf mainline, but not in the 4.2 branch */ 8 92007-08-02 Geoffrey Keating <geoffk@apple.com> 10 11 Radar 3274130, 5295549 12 * c-parser.c (c_parser_while_statement): Handle attributes. 13 (c_parser_do_statement): Handle attributes. 14 (c_parser_for_statement): Handle attributes. 15 * c-common.c (handle_unused_attribute): Warn if a statement 16 is marked as unused. 17 * c-tree.h (c_finish_loop): Add extra parameter. 18 * c-typeck.c (c_finish_loop): Handle attributes. 19 * doc/extend.texi (Attribute Syntax): Document statement attributes. 20 (Label Attributes): Explain how they apply to statements. 21 * tree-cfg.c (cleanup_dead_labels): Preserve labels with 22 user-specified alignment or attributes. 23 * stmt.c (expand_label): Update and correct documentation. 24 25 * c-common.c (handle_aligned_attribute): Handle LABEL_DECL. 26 * rtl.def (CODE_LABEL): Add 8th operand. 27 * rtl.h (LABEL_ALIGN_LOG): New. 28 (LABEL_MAX_SKIP): New. 29 (SET_LABEL_ALIGN): New. 30 * emit-rtl.c (gen_label_rtx): Adjust. 31 * print-rtl.c (print_rtx): Print LABEL_ALIGN_LOG. 32 * stmt.c (label_rtx): Set CODE_LABEL's alignment from DECL_ALIGN. 33 (expand_label): Update documentation. 34 * final.c (struct label_alignment): Delete. 35 (label_align): Delete. 36 (min_labelno): Delete. 37 (max_labelno): Delete. 38 (LABEL_TO_ALIGNMENT): Delete. 39 (LABEL_TO_MAX_SKIP): Delete. 40 (label_to_alignment): Adjust for LABEL_ALIGN_LOG. 41 (align_fuzz): Likewise. 42 (compute_alignments): Likewise. 43 (shorten_branches): Remove code to set up label_align. 44 Adjust for LABEL_ALIGN_LOG. 45 (final_scan_insn): Adjust for LABEL_ALIGN_LOG. 46 * doc/extend.texi (C Extensions): Add 'Label Attributes' to menu. 47 (Attribute Syntax): Move label content to Label Attributes. 48 (Function Attributes): Mention label attributes. 49 (Variable Attributes): Mention label attributes. 50 (Type Attributes): Mention label attributes. 51 (Label Attributes): New. 52