diff options
author | Mike Stump <mrs@gcc.gnu.org> | 2006-05-18 21:27:39 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-05-18 21:27:39 +0000 |
commit | e836620206f1e96d7dac7c3b91c00e01b39e39f3 (patch) | |
tree | 87bde11e69c3f935f5a5a4b4caaf51462ee78272 | |
parent | 578fdcb215a61d97c704d4ef266bfc421bbe6f8d (diff) | |
download | gcc-e836620206f1e96d7dac7c3b91c00e01b39e39f3.zip gcc-e836620206f1e96d7dac7c3b91c00e01b39e39f3.tar.gz gcc-e836620206f1e96d7dac7c3b91c00e01b39e39f3.tar.bz2 |
Whitespace fixups
From-SVN: r113892
-rw-r--r-- | gcc/ChangeLog | 116 | ||||
-rw-r--r-- | gcc/ChangeLog-2004 | 978 | ||||
-rw-r--r-- | gcc/ChangeLog-2005 | 582 |
3 files changed, 838 insertions, 838 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 217ee8a..e805a39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -44,7 +44,7 @@ nested functions with force_align_arg_pointer attribute. * doc/extend.texi (force_align_arg_pointer): Document it. * doc/invoke.texi (-mstackrealign): Document it. - + 2006-05-17 Kazu Hirata <kazu@codesourcery.com> PR rtl-optimization/27477 @@ -97,7 +97,7 @@ 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr> PR middle-end/27332 - * tree-loop-linear.c (try_interchange_loops): Test for + * tree-loop-linear.c (try_interchange_loops): Test for no data dependences. 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz> @@ -137,7 +137,7 @@ #ifdef GCC_DRIVER/#endif. 2006-05-16 Daniel Berlin <dberlin@dberlin.org> - + Fix PR tree-optimization/27373 * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument. (forward_propagate_addr_expr): Update call. @@ -445,7 +445,7 @@ 2006-05-08 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/27093 - * tree-ssa-alias.c (recalculate_used_alone): Mark variables for + * tree-ssa-alias.c (recalculate_used_alone): Mark variables for renaming when they become not-used_alone. 2006-05-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> @@ -518,7 +518,7 @@ 2006-05-07 Mircea Namolaru <namolaru@il.ibm.com> - * opts.c (flag_see): remove its setting at -O3. + * opts.c (flag_see): remove its setting at -O3. 2006-05-07 Richard Earnshaw <rearnsha@arm.com> @@ -536,7 +536,7 @@ 2006-04-29 Anatoly Sokolov <aesok@post.ru> - * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name + * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for atmeg a645 device. 2006-05-06 Richard Guenther <rguenther@suse.de> @@ -615,37 +615,37 @@ 2006-05-04 Leehod Baruch <leehod@il.ibm.com> - * see.c: New file. - * Makefile.in (OBJS-common): Add see.o. - (see.o): Add dependencies. - * common.opt (fsee): New flag for the see optimization was added. - * opts.c (flag_see): Initialized. - * passes.c (init_optimization_passes, pass_see): New pass. - * rtl.h (see_main): Declaration as extern. - * timevar.def (TV_SEE): New. - * tree-pass.h (pass_see): Declaration as extern. - * invoke.texi (-fsee): Document. - * recog.c (validate_simplify_insn): New function. - * recog.h (validate_simplify_insn): Declaration as extern. - * df-problems.c (df_chain_dump): Check for NULL. + * see.c: New file. + * Makefile.in (OBJS-common): Add see.o. + (see.o): Add dependencies. + * common.opt (fsee): New flag for the see optimization was added. + * opts.c (flag_see): Initialized. + * passes.c (init_optimization_passes, pass_see): New pass. + * rtl.h (see_main): Declaration as extern. + * timevar.def (TV_SEE): New. + * tree-pass.h (pass_see): Declaration as extern. + * invoke.texi (-fsee): Document. + * recog.c (validate_simplify_insn): New function. + * recog.h (validate_simplify_insn): Declaration as extern. + * df-problems.c (df_chain_dump): Check for NULL. 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com> - Daniel Berlin <dberlin@dberlin.org> + Daniel Berlin <dberlin@dberlin.org> - * cfgrtl.c (insert_insn_bb_end_new): New function. - * basic-block.h (insert_insn_bb_end_new): Declaration as extern. + * cfgrtl.c (insert_insn_bb_end_new): New function. + * basic-block.h (insert_insn_bb_end_new): Declaration as extern. 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il> - * df.h (struct web_entry): Moved from web.c. - (union_defs): Declaration as extern. - (unionfind_root): Likewise. - (unionfind_union): Likewise. - * web.c (struct web_entry): Moved to df.h. - (unionfind_root): Remove static declaration. - (unionfind_union): Likewise. - (union_defs): Likewise and generalize to use callback function. - (web_main): Update arguments for union_defs function call. + * df.h (struct web_entry): Moved from web.c. + (union_defs): Declaration as extern. + (unionfind_root): Likewise. + (unionfind_union): Likewise. + * web.c (struct web_entry): Moved to df.h. + (unionfind_root): Remove static declaration. + (unionfind_union): Likewise. + (union_defs): Likewise and generalize to use callback function. + (web_main): Update arguments for union_defs function call. 2006-05-04 Richard Guenther <rguenther@suse.de> @@ -1018,7 +1018,7 @@ 2006-04-26 Aldy Hernandez <aldyh@redhat.com> - * tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE. + * tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE. 2006-04-26 Jakub Jelinek <jakub@redhat.com> @@ -1453,7 +1453,7 @@ 2006-04-18 Paolo Bonzini <bonzini@gnu.org> - PR target/27117 + PR target/27117 Partial revert of revision 112637 2006-04-03 Paolo Bonzini <bonzini@gnu.org> @@ -1466,9 +1466,9 @@ 2006-04-18 Paolo Bonzini <bonzini@gnu.org> - PR tree-optimization/26821 - * tree-ssa-math-opts.c (get_constant_one): New. - (insert_reciprocals): Use it. + PR tree-optimization/26821 + * tree-ssa-math-opts.c (get_constant_one): New. + (insert_reciprocals): Use it. 2006-04-17 Geoffrey Keating <geoffk@apple.com> @@ -1613,7 +1613,7 @@ reg_equiv_memory_loc_varray. 2006-04-14 Alexey Starovoytov <alexey.starovoytov@sun.com> - Eric Botcazou <ebotcazou@libertysurf.fr> + Eric Botcazou <ebotcazou@libertysurf.fr> * config/sparc/sparc.c (emit_and_preserve): Allocate space for the register save area. @@ -1763,12 +1763,12 @@ 2006-04-12 J"orn Rennecke <joern.rennecke@st.com> PR target/27060 - * config/sh/lib1funcs.h: New file, broken out of: - * config/sh/lib1funcs.asm. - * config/sh/lib1funcs.h (DR00, DR01, DR20, DR21, DR40, DR41): + * config/sh/lib1funcs.h: New file, broken out of: + * config/sh/lib1funcs.asm. + * config/sh/lib1funcs.h (DR00, DR01, DR20, DR21, DR40, DR41): New macros. * config/sh/lib1funcs.asm (udivsi3_i4): Use them. - * config/sh/lib1funcs-Os-4-200.asm: New file. + * config/sh/lib1funcs-Os-4-200.asm: New file. * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-Os-4-200. * config/sh/t-sh (OPT_EXTRA_PARTS): New variable. (EXTRA_MULTILIB_PARTS): Include it. @@ -2078,11 +2078,11 @@ 2006-04-05 Robert Millan <robertmh@gnu.org> - * config/i386/linux.h: Add a comment to mark macros that are + * config/i386/linux.h: Add a comment to mark macros that are being overriden in config/k*bsd-gnu.h. - * config/kfreebsd-gnu.h: Redefine GLIBC_DYNAMIC_LINKER instead of + * config/kfreebsd-gnu.h: Redefine GLIBC_DYNAMIC_LINKER instead of DYNAMIC_LINKER. - * config/knetbsd-gnu.h: Ditto. + * config/knetbsd-gnu.h: Ditto. 2006-04-06 Jan Hubicka <jh@suse.cz> @@ -2432,7 +2432,7 @@ 2006-03-30 Roger Sayle <roger@eyesopen.com> PR target/17959 - * expr.c (emit_group_store): Optimize group stores into a pseudo + * expr.c (emit_group_store): Optimize group stores into a pseudo register by using a paradoxical subreg to initialize the destination if the first or last member of the group specifies a "low part". @@ -2621,7 +2621,7 @@ * config/sh/sh.md (udivsi3_i4_int): Clobber MACH_REG and MACL_REG. (divsi3_i4_int): Likewise. -2006-03-28 Roger Sayle <roger@eyesopen.com> +2006-03-28 Roger Sayle <roger@eyesopen.com> * expr.c (emit_group_store): Only create a new pseudo reg if the quantity it needs to hold isn't already a suitable pseudo. @@ -5323,7 +5323,7 @@ 2006-02-26 Roger Sayle <roger@eyesopen.com> - * fold-const.c (fold_binary) <EQ_EXPR>: Fold (~X & C) eq/ne 0 as + * fold-const.c (fold_binary) <EQ_EXPR>: Fold (~X & C) eq/ne 0 as (X & C) ne/eq 0, where C is a single bit, i.e. a power of two. Fold both "((X & C) ^ C) eq/ne 0" and "((X ^ C) & C) eq/ne 0" as (X & C) ne/eq 0. @@ -5390,7 +5390,7 @@ James A. Morrison <phython@gcc.gnu.org> PR middle-end/21137 - * fold-const.c (fold_binary) <EQ_EXPR>: Fold ((X>>C1)&C2) eq/ne 0, + * fold-const.c (fold_binary) <EQ_EXPR>: Fold ((X>>C1)&C2) eq/ne 0, when C2 is a power of two, as either (X&(C2<<C1)) eq/ne 0 if the new constant C2<<C1, or as (X<0) or (X,false) depending upon the signedness of the shift operation. @@ -5402,7 +5402,7 @@ 2006-02-25 Roger Sayle <roger@eyesopen.com> - * simplify-rtx.c (simplify_relational_operation_1): Simplify + * simplify-rtx.c (simplify_relational_operation_1): Simplify (X^Y) == 0 as X == Y and (X^Y) != 0 as X != Y. Simplify (X^Y) == Y as X == 0, and some symmetry related transformations. Simplify (X^C1) == C2 as X == (C1^C2). Split long comment line. @@ -5410,7 +5410,7 @@ 2006-02-25 Roger Sayle <roger@eyesopen.com> PR middle-end/23673 - * fold-const.c (fold_binary) <EQ_EXPR>: Fold (X^Y) == 0 as X == Y + * fold-const.c (fold_binary) <EQ_EXPR>: Fold (X^Y) == 0 as X == Y and (X^Y) != 0 as X != Y. Fold (X^Y) == Y as X == 0, and some symmetry related transformations. Fold (X^C1) == C2 as X == (C1^C2). @@ -5523,7 +5523,7 @@ 2006-02-23 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/26376 - * tree-ssa-structalias.c (find_func_aliases): Use get_id_for_tree, + * tree-ssa-structalias.c (find_func_aliases): Use get_id_for_tree, remove assert. 2006-02-23 Jakub Jelinek <jakub@redhat.com> @@ -6926,7 +6926,7 @@ simplify_cond_and_lookup_avail_expr. * tree-flow.h (potentially_threadable_block): Prototype. (thread_across_edge): Likewise. - * Makefile.in (OBJS-common): Add tree-ssa-threadedge.o + * Makefile.in (OBJS-common): Add tree-ssa-threadedge.o (tree-ssa-threadedge.o): Add dependencies. * tree-ssa-threadedge.c: New file. * passes.c (init_optimization_passes): Merge PHIs before @@ -7926,12 +7926,12 @@ * df-problems.c (df_ru_bb_local_compute_process_def): Added code to handle artifical defs in the entry to a function. (df_ru_bb_local_compute): Ditto. - (df_rd_bb_local_compute_process_def): Ditto. + (df_rd_bb_local_compute_process_def): Ditto. (df_rd_bb_local_compute): Ditto. (df_lr_bb_local_compute): Ditto. (df_ur_bb_local_compute): Ditto. - (df_urec_bb_local_compute): Ditto. - (df_chain_create_bb): Ditto. + (df_urec_bb_local_compute): Ditto. + (df_chain_create_bb): Ditto. (df_ur_local_finalize): Removed entry. (df_urec_init): Ditto. (df_urec_local_finalize): Ditto. @@ -8492,7 +8492,7 @@ 2006-01-22 Zack Weinberg <zackw@panix.com> - * genautomata.c: Include vec.h, not varray.h. + * genautomata.c: Include vec.h, not varray.h. Delete vla_ptr_t, all of the VLA_PTR_ macros, and all of the VLA_HWINT_ macros. Change vla_hwint_t to a typedef for VEC(vect_el_t,heap) *. Convert all uses of VLA_* macros to @@ -9230,7 +9230,7 @@ (get_nmt_for): Ditto. (create_global_var): (is_escape_site): Return an escape_type enumeration. - * tree-flow-inline.h (is_call_clobbered): Global var does not + * tree-flow-inline.h (is_call_clobbered): Global var does not imply call clobbered. (mark_call_clobbered): Take a reason for marking this. Remove marking of globalness, and cache invalidation. @@ -9294,7 +9294,7 @@ 2006-01-18 Daniel Berlin <dberlin@dberlin.org> - * ipa-reference.c (check_operand): Allow FUNCTION_DECL. + * ipa-reference.c (check_operand): Allow FUNCTION_DECL. (look_for_address_of): Ditto. (ipa_init): Walk the function decls. (static_execute): Don't set readonly on FUNCTION_DECL's. diff --git a/gcc/ChangeLog-2004 b/gcc/ChangeLog-2004 index bc3b40c..80dfce9 100644 --- a/gcc/ChangeLog-2004 +++ b/gcc/ChangeLog-2004 @@ -44,7 +44,7 @@ 2004-12-30 Richard Henderson <rth@redhat.com> - * config/ia64/ia64.c (hfa_element_mode): Return false for + * config/ia64/ia64.c (hfa_element_mode): Return false for zero-sized top-level aggregates. 2004-12-30 Jan Hubicka <jh@suse.cz> @@ -59,7 +59,7 @@ 2004-12-30 Richard Henderson <rth@redhat.com> - * config/ia64/ia64.c (ia64_function_value): Use PARALLEL for + * config/ia64/ia64.c (ia64_function_value): Use PARALLEL for aggregates with XF/XCmode. 2004-12-29 Richard Henderson <rth@redhat.com> @@ -86,7 +86,7 @@ * config/arc/arc.h, config/c4x/c4x.h, config/i386/i386.h, config/i860/i860.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h, - config/pdp11/pdp11.h, config/s390/s390.h, config/stormy16/stormy16.h, + config/pdp11/pdp11.h, config/s390/s390.h, config/stormy16/stormy16.h, config/xtensa/xtensa.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/alpha/alpha.c (alpha_arg_partial_bytes): New. @@ -109,7 +109,7 @@ * config/fr30/fr30-protos.h: Update. * config/frv/frv.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. - * config/frv/frv.c (frv_arg_partial_bytes): Rename from + * config/frv/frv.c (frv_arg_partial_bytes): Rename from frv_function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/frv/frv-protos.h: Update. @@ -145,7 +145,7 @@ * config/mips/mips-protos.h: Update. * config/mn10300/mn10300.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. - * config/mn10300/mn10300.c (mn10300_arg_partial_bytes): Rename from + * config/mn10300/mn10300.c (mn10300_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/mn10300/mn10300-protos.h: Update. @@ -155,13 +155,13 @@ (TARGET_ARG_PARTIAL_BYTES): New. * config/pa/pa.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. - * config/pa/pa.c (pa_arg_partial_bytes): Rename from + * config/pa/pa.c (pa_arg_partial_bytes): Rename from function_arg_partial_nregs. Handle 32-bit. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/pa/pa-protos.h: Update. * config/rs6000/rs6000.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. - * config/rs6000/rs6000.c (rs6000_arg_partial_bytes): Rename from + * config/rs6000/rs6000.c (rs6000_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/rs6000/rs6000-protos.h: Update. @@ -204,28 +204,28 @@ PR tree-optimization/18179 * tree-vectorizer.c (vect_get_base_and_offset): Call get_inner_reference and vect_analyze_offset_expr. - (vect_create_addr_base_for_vector_ref): Build address_base by combining + (vect_create_addr_base_for_vector_ref): Build address_base by combining base and initial_offset fields of vect_stmt_info. (vect_update_inits_of_dr): Update offset of data-ref instead of its access-fn. Remove argument. (vect_update_inits_of_drs): Call vect_update_inits_of_dr with new arguments. - (vect_compute_data_ref_alignment): Check misalignment info in + (vect_compute_data_ref_alignment): Check misalignment info in vect_stmt_info. Remove argument. (vect_compute_data_refs_alignment): Call vect_compute_data_ref_alignment with correct argument. (vect_analyze_data_ref_access): Check access info in vect_stmt_info. (vect_analyze_pointer_ref_access): Update step and initial_offset fields of vect_stmt_info. - (vect_get_memtag_and_dr): Call vect_get_base_and_offset and set the + (vect_get_memtag_and_dr): Call vect_get_base_and_offset and set the fields of stmt_vec_info. - (vect_analyze_data_refs): Find vectype and pass it to + (vect_analyze_data_refs): Find vectype and pass it to vect_get_memtag_and_dr. (vect_get_first_index): Remove. (vect_compute_array_base_alignment): Remove. (vect_compute_array_ref_alignment): Remove (vect_create_data_ref_ptr): Use TYPE_SIZE_UNIT instead GET_MODE_SIZE. - (vect_gen_niters_for_prolog_loop): Use TREE_CONSTANT instead + (vect_gen_niters_for_prolog_loop): Use TREE_CONSTANT instead host_integerp. (vectorizable_load): Use size arithmetics. @@ -250,7 +250,7 @@ 2004-12-29 Ira Rosen <irar@il.ibm.com> PR tree-optimization/18179 - * tree-vectorizer.c (vect_get_symbl_and_dr): Reorganize. Add memtag + * tree-vectorizer.c (vect_get_symbl_and_dr): Reorganize. Add memtag retrieval. (vect_analyze_data_refs): Remove memtag retrieval. @@ -449,7 +449,7 @@ 2004-12-23 Dale Johannesen <dalej@apple.com> - * tree.c (iterative_hash_expr): Canonicalize builtins. + * tree.c (iterative_hash_expr): Canonicalize builtins. 2004-12-23 Alexandre Oliva <aoliva@redhat.com> @@ -722,7 +722,7 @@ 2004-12-21 David O'Brien <obrien@FreeBSD.org> - * config/freebsd-spec.h: Use KSE pthread lib for -pthread. + * config/freebsd-spec.h: Use KSE pthread lib for -pthread. 2004-12-21 James A. Morrison <phython@gcc.gnu.org> @@ -734,7 +734,7 @@ PR c/18596 * c-parse.in (initdcl): Don't process a declaration if start_decl fails. - (notype_initdcl): Don't process a declaration if start_decl fails. + (notype_initdcl): Don't process a declaration if start_decl fails. * c-decl.c (start_decl): Fail if grokdeclarator fails. (grokdeclarator): Fail if a function definition has an invalid storage class. @@ -848,7 +848,7 @@ 2004-12-19 Dale Johannesen <dalej@apple.com> - * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Don't + * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Don't reference operand 1 of ADDR_EXPRs. 2004-12-19 Mark Mitchell <mark@codesourcery.com> @@ -1071,7 +1071,7 @@ 2004-12-17 Dale Johannesen <dalej@apple.com> - * c-decl.c (diagnose_mismatched_decls): Accept mismatched + * c-decl.c (diagnose_mismatched_decls): Accept mismatched function types: void with previous implicit int. 2004-12-17 Andreas Krebbel <krebbel1@de.ibm.com> @@ -2132,7 +2132,7 @@ parameter, this function should never be called if its false. (append_to_statement_list): Only call append_to_statement_list_1 if t is non-NULL tree with side-effects. - (append_to_statement_list_force): Likewise, if t is not NULL. + (append_to_statement_list_force): Likewise, if t is not NULL. 2004-12-06 J"orn Rennecke <joern.rennecke@st.com> @@ -3918,7 +3918,7 @@ 2004-11-22 Roger Sayle <roger@eyesopen.com> * config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro. - * config/i386/i386.c (override_options): Set MASK_NO_FANCY_MATH_387 + * config/i386/i386.c (override_options): Set MASK_NO_FANCY_MATH_387 automatically for targets without TARGET_80387. * config/i386/i386.md (sqrtsf2, sqrtsf2_1, sqrtsf2_i387, sqrtdf2, sqrtdf2_1, sqrtdf2_i387, *sqrtextendsfdf2, sqrtxf2, @@ -3943,7 +3943,7 @@ 2004-11-22 Dale Johannesen <dalej@apple.com> - * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize + * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize properly and comment. 2004-11-22 James A. Morrison <phython@gcc.gnu.org @@ -4322,7 +4322,7 @@ 2004-11-21 Dale Johannesen <dalej@apple.com> - * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Define. + * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Define. 2004-11-21 Jeff Law <law@redhat.com> @@ -4953,11 +4953,11 @@ 2004-11-15 Dale Johannesen <dalej@apple.com> - * tree-flow.h (add_referenced_temp_var): Remove name from prototype. + * tree-flow.h (add_referenced_temp_var): Remove name from prototype. 2004-11-15 Dale Johannesen <dalej@apple.com> - * profile.c (compute_branch_probabilities): Prevent + * profile.c (compute_branch_probabilities): Prevent crash with EH in RTL-based profiling. 2004-11-16 Kazu Hirata <kazu@cs.umass.edu> @@ -5020,7 +5020,7 @@ 2004-11-15 Steve Ellcey <sje@cup.hp.com> - * config/ia64/ia64.md (*movtf_internal): Use destination_operand + * config/ia64/ia64.md (*movtf_internal): Use destination_operand instead of nonimmediate_operand. 2004-11-15 Mark Mitchell <mark@codesourcery.com> @@ -6720,7 +6720,7 @@ for a basic block. (perform_edge_inserts): New. Determine what to do with all stmts that have been inserted on edges. - (remove_ssa_form): Analyze and commit edges from here. + (remove_ssa_form): Analyze and commit edges from here. 2004-11-01 Andrew Pinski <pinskia@physics.uc.edu> @@ -7803,7 +7803,7 @@ 2004-10-23 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17967 - * tree-cfg.c (remove_usless_stmts_cond): Don't Fold statement. + * tree-cfg.c (remove_usless_stmts_cond): Don't Fold statement. 2004-10-23 Daniel Berlin <dberlin@dberlin.org> @@ -8518,7 +8518,7 @@ 2004-10-16 Dale Johannesen <dalej@apple.com> - * c-common.c (c_common_get_alias_set): Use GGC for type_hash_table. + * c-common.c (c_common_get_alias_set): Use GGC for type_hash_table. 2004-10-16 Zdenek Dvorak <dvorakz@suse.cz> @@ -8607,8 +8607,8 @@ 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17967 Revert: - * tree-cfg.c (remove_usless_stmts_cond): Fold statement. - (remove_useless_stmts_1): Fold trees we know how to fold. + * tree-cfg.c (remove_usless_stmts_cond): Fold statement. + (remove_useless_stmts_1): Fold trees we know how to fold. 2004-10-14 David Edelsohn <edelsohn@gnu.org> @@ -8689,8 +8689,8 @@ PR middle-end/17967 Revert: - * tree-cfg.c (remove_usless_stmts_cond): Fold statement. - (remove_useless_stmts_1): Fold trees we know how to fold. + * tree-cfg.c (remove_usless_stmts_cond): Fold statement. + (remove_useless_stmts_1): Fold trees we know how to fold. 2004-10-14 Joseph S. Myers <joseph@codesourcery.com> @@ -8881,7 +8881,7 @@ 2004-10-13 Dale Johannesen <dalej@apple.com> - * doc/extend.texi (Extended Asm): Rewrite asm volatile description. + * doc/extend.texi (Extended Asm): Rewrite asm volatile description. 2004-10-13 Frank Ch. Eigler <fche@redhat.com> @@ -9630,7 +9630,7 @@ of the ADDR_EXPR changed, check the field changed. Use recompute_tree_invarant_for_addr_expr instead of unsetting TREE_INVARIANT. - (convert_local_reference): Set changed to when we + (convert_local_reference): Set changed to when we change a decl to unnested decl. <case ADDR_EXPR>: Instead of checking if the immediate part of the ADDR_EXPR changed, check the field changed. @@ -10095,7 +10095,7 @@ * c-decl.c (c_expand_body): Update call tree_rest_of_compilation. * cgraphunit.c (cgraph_build_static_cdtor): Likewise. * toplev.h (tree_rest_of_compilation): Update prototype. - * tree-optimize.c (tree_rest_of_compilation): Kill nested_p argument. + * tree-optimize.c (tree_rest_of_compilation): Kill nested_p argument. 2004-10-01 Kazu Hirata <kazu@cs.umass.edu> @@ -10257,7 +10257,7 @@ PR debug/13974 * cfgrtl.c (try_redirect_by_replacing_jump, force_nonfallthru_and_redirect, commit_one_edge_insertion, - cfg_layout_merge_blocks): Do not attach any line number information + cfg_layout_merge_blocks): Do not attach any line number information to newly inserted instructions. * emit-rtl.c (emit_insn*_before, emit_insn*_after): Rename to emit_insn_*_noloc. @@ -10487,7 +10487,7 @@ 2004-09-28 Jeff Law <law@redhat.com> - * tree-ssa-threadupdate.c (create_block_for_threading): Request + * tree-ssa-threadupdate.c (create_block_for_threading): Request that no outgoing edges be left in the duplicate block. Do no update information on outgoing edges or PHI nodes in target blocks here. @@ -11239,8 +11239,8 @@ 2004-09-25 Dale Johannesen <dalej@apple.com> - * tree-gimple.c: Move GIMPLE definition... - * doc/tree-ssa.texi: here. + * tree-gimple.c: Move GIMPLE definition... + * doc/tree-ssa.texi: here. 2004-09-25 Kazu Hirata <kazu@cs.umass.edu> @@ -11479,7 +11479,7 @@ * tree-ssa-ccp.c (get_default_value): Use SSA_NAME_VALUE rather than SSA_NAME_EQUIV and SET_SSA_NAME_EQUIV. - (substitute_and_fold): Likewise. + (substitute_and_fold): Likewise. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Remove everything except invariants from SSA_NAME_VALUE. (thread_across_edge): Use SSA_NAME_VALUE rather than SSA_NAME_EQUIV @@ -11492,7 +11492,7 @@ * tree-ssa-pre.c (fini_pre): Remove everything except invariants from SSA_NAME_VALUE. * tree.h (SSA_NAME_EQUIV, SET_SSA_NAME_EQUIV): Kill. - (struct tree_ssa_name): Kill EQUIV field. Remove GGC skip + (struct tree_ssa_name): Kill EQUIV field. Remove GGC skip annotation from the VALUE_HANDLE field. 2004-09-21 Fariborz Jahanian <fjahanian@apple.com> @@ -11991,7 +11991,7 @@ nestedness datastructure. * cse.c (cse_insn): Do not cprop nonlocal LABEL_REFs. * reload1.c (set_label_offsets): Fix call of set_label_offsets. - * tree-nested.c (finlize_nesting_tree_1): Use un-nesting code. + * tree-nested.c (finlize_nesting_tree_1): Use un-nesting code. 2004-09-20 Richard Henderson <rth@redhat.com> @@ -12009,7 +12009,7 @@ (tree_bb_level_predictions): Likewise. (tree_estimate_probability): Add noreturn exit edges; call bb_level_predictions; fix logic of return heuristics. - (predict_paths_leading_to): Rescuesce from old CVS version of + (predict_paths_leading_to): Rescuesce from old CVS version of process_note_prediction function. * predict.def (PRED_TREE_EARLY_RETURN): New predictor. @@ -12131,7 +12131,7 @@ 2004-09-18 Jan Hubicka <jh@suse.cz> - * tree-cfg.c (thread_jumps): Fix updating of the profile. + * tree-cfg.c (thread_jumps): Fix updating of the profile. * tree-optimize.c (tree_rest_of_compilation): Kill forgotten verify_cgraph call. @@ -12180,7 +12180,7 @@ 2004-09-18 Jan Hubicka <jh@suse.cz> - * tree-into-ssa.c (rewrite_ssa_into_ssa): Expect ssa_name to return + * tree-into-ssa.c (rewrite_ssa_into_ssa): Expect ssa_name to return NULL. * tree-ssa-alias.c (init_alias_info): Likewise. * tree-ssa.c (verify_flow_sensitive_alias_info): Likewise. @@ -12501,7 +12501,7 @@ 2004-09-16 Daniel Berlin <dberlin@dberlin.org> - * cfgloop.h (duplicate_loop): Add prototype. + * cfgloop.h (duplicate_loop): Add prototype. * cfgloopmanip.c (duplicate_loop): Make non-static. * lambda-code.c (perfect_nestify): Factor out test whether we can handle this loop into separate function. @@ -12762,7 +12762,7 @@ 2004-09-15 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> PR tree-optimization/17468 - * tree-ssa.c (verify_use, verify_phi_args, verify_ssa): Verify that + * tree-ssa.c (verify_use, verify_phi_args, verify_ssa): Verify that definition inside a block precede uses. * tree-tailcall.c (adjust_return_value): Emit statements in the correct order. @@ -14746,7 +14746,7 @@ 2004-09-07 Jan Hubicka <jh@suse.cz> - * cse.c (fold_rtx): Avoid building of + * cse.c (fold_rtx): Avoid building of (CONST (MINUS (CONST_INT) (SYMBOL_REF))) * tree-ssa-pre.c (grand_bitmap_obstack): New. @@ -14771,7 +14771,7 @@ 2004-09-07 Caroline Tice <ctice@apple.com> - * cfgrtl.c (rtl_verify_flow_info_1): Add new edge flag, + * cfgrtl.c (rtl_verify_flow_info_1): Add new edge flag, EDGE_CROSSING, to flags test case. 2004-09-07 Jan Hubicka <jh@suse.cz> @@ -15155,12 +15155,12 @@ 2004-09-04 Jan Hubicka <jh@suse.cz> - * passes.c (rest_of_clean_state): Fix merge conflict made during + * passes.c (rest_of_clean_state): Fix merge conflict made during commiting the patch. 2004-09-04 Jan Hubicka <jh@suse.cz> - * passes.c (rest_of_clean_state): Decompose the instruction stream. + * passes.c (rest_of_clean_state): Decompose the instruction stream. 2004-09-04 Richard Sandiford <rsandifo@redhat.com> @@ -15729,7 +15729,7 @@ pointer to a mult_cost. Update all cost comparisons to use the new mult_cost infrastructure. For alg_add_factor and alg_sub_factor operations, latency is lower than the rtx_cost. - (choose_mult_variant): Update calls to synth_mult. Perform + (choose_mult_variant): Update calls to synth_mult. Perform cost comparisons using the new mult_cost infrastructure. (expand_mult_highpart): Use alg.cost.cost instead of alg.cost to optain the total rtx_cost of a synth_mult "algorithm". @@ -16168,11 +16168,11 @@ * bb-reorder.c (FREE, find_traces_1_round, copy_bb, mark_bb_for_unlikely_executed_section, add_labels_and_missing_jumps, fix_crossing_conditional_branches, - fix_crossing_unconditional_branches): Likewise. + fix_crossing_unconditional_branches): Likewise. * bitmap.c (bitmap_first_set_bit, bitmap_last_set_bit, - bitmap_operation): Likewise. + bitmap_operation): Likewise. * bt-load.c (insn_sets_btr_p, augment_live_range, - move_btr_def): Likewise. + move_btr_def): Likewise. * builtins.c (c_readstr, expand_builtin_longjmp, apply_args_size, apply_result_size, expand_builtin_apply, expand_builtin_mathfn, expand_builtin_mathfn_2, expand_builtin_mathfn_3, @@ -16820,9 +16820,9 @@ 2004-08-25 Caroline Tice <ctice@apple.com> - * bb-reorder.c (partition_hot_cold_basic_blocks): Add more details + * bb-reorder.c (partition_hot_cold_basic_blocks): Add more details to comments at start of function. - * cfgbuild.c (make_edges): Add more details to hot/cold partitioning + * cfgbuild.c (make_edges): Add more details to hot/cold partitioning comment. * cfgcleanup.c (try_simplify_condjump, try_forward_edges, merge_blocks_move_predecessor_nojumps, @@ -16830,11 +16830,11 @@ try_crossjump_to_edge, try_crossjump_bb): Likewise. * cfglayout.c (fixup_reorder_chain): Likewise. * cfgrtl.c (rtl_can_merge_blocks, try_redirect_by_replacing_jump, - cfg_layout_can_merge_blocks_p): Likewise. + cfg_layout_can_merge_blocks_p): Likewise. * ifcvt.c (find_if_case_1, find_if_case_2): Likewise. * passes.c (rest_of_compilation): Update comments for calling optimization that partitions hot/cold basic blocks. - * doc/invoke.texi: Update documentation of + * doc/invoke.texi: Update documentation of freorder-blocks-and-partition flag. 2004-08-25 Richard Sandiford <rsandifo@redhat.com> @@ -17124,7 +17124,7 @@ scev_initialize): Use single_exit information. * tree-ssa-loop-niter.c (number_of_iterations_cond): Record missing assumptions. - (loop_niter_by_eval): Return number of iterations as unsigned + (loop_niter_by_eval): Return number of iterations as unsigned int. * tree-ssa-loop.c (tree_ssa_loop_init): Mark single exit loops. (tree_ssa_loop_ivcanon, gate_tree_ssa_loop_ivcanon, pass_iv_canon, @@ -18044,7 +18044,7 @@ 2004-08-19 Caroline Tice <ctice@apple.com> - * config/i386/cygming.h (switch_to_section): Fix typo (change + * config/i386/cygming.h (switch_to_section): Fix typo (change in_unlikely_text_section to in_unlikely_executed_text). 2004-08-19 Daniel Berlin <dberlin@dberlin.org> @@ -18183,7 +18183,7 @@ * Makefile.in (cfganal.o): Depend on TIMEVAR_H. * tree-flow.h (compute_dominance_frontiers): Move prototype... - * basic-block.h: ...here. + * basic-block.h: ...here. * tree-cfg.c (compute_dominance_frontiers_1, compute_dominance_frontiers): Move from here... * cfganal.c: ...to here. Include timevar.h. @@ -18514,13 +18514,13 @@ unlikely_text_section_name if necessary; modify to use unlikely_text_section_name and unlikely_section_label; also to use named_section properly. - (in_unlikely_text_section): Modify to work correctly with + (in_unlikely_text_section): Modify to work correctly with named_section and to use unlikely_text_section_name. - (named_section): Add code to work properly with cold section. + (named_section): Add code to work properly with cold section. (function_section): Clean up if-statement. * config/darwin.c (darwin_asm_named_section): Return to original code, removing use of SECTION_FORMAT_STRING. - * config/arm/pe.h (switch_to_section): Add case for + * config/arm/pe.h (switch_to_section): Add case for in_unlikely_executed_text to switch statement. * config/i386/cygming.h (switch_to_section): Likewise. * config/i386/darwin.h (NORMAL_TEXT_SECTION_NAME): Remove. @@ -19457,7 +19457,7 @@ 2004-08-12 David Daney <ddaney@avtrex.com> - * java/gcj.texi: Add subsection on signal usage. + * java/gcj.texi: Add subsection on signal usage. 2004-08-12 David Edelsohn <edelsohn@gnu.org> @@ -19891,7 +19891,7 @@ * varasm.c (unlikely_section_label): New global variable. (unlikely_text_section_name): New global variable. - (text_section): Remove alignment statement. + (text_section): Remove alignment statement. (unlikely_text_section): Remove alignment statement; use unlikely_section_label rather than hard-coded string. (assemble_start_function): Initialize unlikely_section_label and @@ -20657,7 +20657,7 @@ 2004-08-03 Dale Johannesen <dalej@apple.com> - * config/rs6000/rs6000.c (machopic_output_stub): Align Darwin stubs. + * config/rs6000/rs6000.c (machopic_output_stub): Align Darwin stubs. * c-common.c: Include opts.h. (c_common_get_alias_set): Fix check for a single input file. * toplev.c: Remove current_file_decl. @@ -22883,12 +22883,12 @@ * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Do not destroy dominance information. - * passes.c (rest_of_handle_loop2): Free dominance information. + * passes.c (rest_of_handle_loop2): Free dominance information. * tree-cfg.c (cleanup_tree_cfg): Remove unreachable blocks before jump threading. (thread_jumps): Update dominance information and remove unreachable blocks. - * tree-ssa-phiopt.c (replace_phi_with_stmt): Update dominance + * tree-ssa-phiopt.c (replace_phi_with_stmt): Update dominance information and remove the unreachable block. 2004-07-17 Graham Stott <graham.stott@btinternet.com> @@ -23305,10 +23305,10 @@ 2004-07-14 Per Bothner <per@bothner.com> - * input.h: If USE_MAPPED_LOCATION, define separate expanded_location + * input.h: If USE_MAPPED_LOCATION, define separate expanded_location structure with extra column field. - * tree.c (expand_location): Also fill in column field. - * gengtype-lex.l: Ignore expanded_location typedef, sinze gengtype + * tree.c (expand_location): Also fill in column field. + * gengtype-lex.l: Ignore expanded_location typedef, sinze gengtype gets confused by the two conditionally-compiled definitions. 2004-07-14 Eric Christopher <echristo@redhat.com> @@ -23346,10 +23346,10 @@ 2004-07-14 Per Bothner <per@bothner.com> - * c-typeck.c (emit_side_effect_warnings): Use EXPR_HAS_LOCATION + * c-typeck.c (emit_side_effect_warnings): Use EXPR_HAS_LOCATION instead of EXPR_LOCUS in a boolean context, which is always true if --enable-mapped-location. - * stmt.c (warn_if_unused_value): Likewise. Also use EXPR_LOCATION. + * stmt.c (warn_if_unused_value): Likewise. Also use EXPR_LOCATION. 2004-07-14 Richard Henderson <rth@redhat.com> @@ -23645,7 +23645,7 @@ 2004-07-13 Per Bothner <per@bothner.com> - * collect2.c (main): Handle --no-demangle and --demangle flags. + * collect2.c (main): Handle --no-demangle and --demangle flags. 2004-07-13 Sebastian Pop <pop@cri.ensmp.fr> @@ -23943,7 +23943,7 @@ * fold-const.c (fold) <PLUS_EXPR>: Canonicalize X + -C as X - C for floating point additions, to keep real immediate constant positive. - <MINUS_EXPR>: For floating point subtractions, only transform X - -C + <MINUS_EXPR>: For floating point subtractions, only transform X - -C into X + C, and leave positive real constants as X - C. 2004-07-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> @@ -23970,7 +23970,7 @@ is ignored. (fold_convert): Call fold_ignored_result when casting a value to VOID_TYPE. - (omit_one_operand): Call fold_ignored_result on the "omitted" + (omit_one_operand): Call fold_ignored_result on the "omitted" operand when building a COMPOUND_EXPR. (pedantic_omit_one_operand): Likewise. * tree.h (fold_ignored_result): Prototype here. @@ -24086,13 +24086,13 @@ 2004-07-11 Phil Edwards <phil@codesourcery.com> - * configure.ac: Alphabetize --enable-checking list, add + * configure.ac: Alphabetize --enable-checking list, add missing valgrind entry. - * configure: Regenerate. + * configure: Regenerate. 2004-07-11 Phil Edwards <phil@codesourcery.com> - * doc/install.texi (Testing): Fix syntax in "make check" example. + * doc/install.texi (Testing): Fix syntax in "make check" example. 2004-07-10 James E Wilson <wilson@specifixinc.com> @@ -24834,7 +24834,7 @@ (simplify_builtin_strcy, simplify_builtin_strncpy): Delete. (simplify_builtin_fputs): Rename to fold_builtin_fputs. Change types of "ignore" and "unlocked" parameters to bool. - (fold_builtin_1): Add additional ignore argument. Call renamed + (fold_builtin_1): Add additional ignore argument. Call renamed fold_builtin_fputs to simplify GCC "fputs" and "fputs_unlocked" builtins. Update arguments to fold_builtin_strncpy and fold_builtin_strcpy. Add function prototype. @@ -24851,7 +24851,7 @@ (fold_builtin): Update function prototype with new "bool ignore". * tree-ssa-ccp.c (ccp_fold): Update call to fold_builtin. - (ccp_fold_builtin): Update call to fold_builtin. Call + (ccp_fold_builtin): Update call to fold_builtin. Call fold_builtin_fputs, fold_builtin_strcpy and fold_builtin_strncpy instead of simplify_builtin_fputs, simplify_builtin_strcpy and simplify_builtin_strncpy respectively. @@ -25534,7 +25534,7 @@ 2004-07-07 Per Bothner <per@bothner.com> - * flow.c (attempt_auto_inc): Remove now-redundant PUT_CODE. + * flow.c (attempt_auto_inc): Remove now-redundant PUT_CODE. 2004-07-07 Mike Stump <mrs@apple.com> @@ -26671,7 +26671,7 @@ 2004-07-01 Per Bothner <per@bothner.com> - * final.c (final): Fix typo reported by Aaron W. LaFramboise. + * final.c (final): Fix typo reported by Aaron W. LaFramboise. 2004-07-01 Jakub Jelinek <jakub@redhat.com> @@ -27099,94 +27099,94 @@ 2004-06-30 Per Bothner <per@bothner.com> Conditionally compile support for --enable-mapped_location. - * input.h: #include line-map.h for source_location typedef. + * input.h: #include line-map.h for source_location typedef. (BUILTINS_LOCATION, UNKNOWN_LOCATION, expand_location, - LOCATION_FILE, LOCATION_LINE): New macros and functions. - (expanded_location, source_locus): New typedefs. - (push_srcloc): Change parameter list if USE_MAPPED_LOCATION. - * rtl.def (NOTE, ASM_OPERANDS): Modify specifcation, if + LOCATION_FILE, LOCATION_LINE): New macros and functions. + (expanded_location, source_locus): New typedefs. + (push_srcloc): Change parameter list if USE_MAPPED_LOCATION. + * rtl.def (NOTE, ASM_OPERANDS): Modify specifcation, if USE_MAPPED_LOCATION. - * rtl.h (NOTE_DELETED_LABEL_NAME): New macro. + * rtl.h (NOTE_DELETED_LABEL_NAME): New macro. (NOTE_SOURCE_LOCATION, NOTE_EXPNDED_LOCATION, SET_INSN_DELETED): New conditional macros. - (ASM_OPERANDS_SOURCE_FILE, ASM_OPERANDS_SOURCE_LINE): Replace + (ASM_OPERANDS_SOURCE_FILE, ASM_OPERANDS_SOURCE_LINE): Replace by ASM_OPERANDS_SOURCE_LOCATION if USE_MAPPED_LOCATION. * tree.h (EXPR_LOCATION, SET_EXPR_LOCATION, EXPR_HAS_LOCATION, EXPR_LOCUS, SET_EXPR_LOCUS, EXPR_FILENAME, EXPR_LINENO, - DECL_IS_BUILTIN): New macros, most depending on USE_MAPPED__LOCATION. - (tree_exp): Change type of locus to use new source_locus typedef. - * tree.c (build1_stat): Use SET_EXPR_LOCATION. - (annotate_with_locus, annotate_with_file_line): Conditionalize. - (expand_location): New function. - * toplev.c (unknown_location): New static, when USE_MAPPED_LOCATION. - (push_srcloc, pop_loc): Adjust parameter handling. - (process_options): Don't set input_filename by itself. - (lang_dependent_init): Save, set input_location to <built-in>. - (warn_deprecated_use): Use expand_location. - - * basic-block.h (struct edge_def): Use new source_locus typedef. - * c-common.c (fname_decl): Update save/clear/store of input_location. - (c_do_switch_warnings): Update for USE_MAPPED_LOCATION case. - * c-decl.c: Likewise. - * c-dump.c (dump_stmt): Likewise. - * c-gimplify.c (c-gimplify.c): Generalize using SET_EXPR_LOCATION. - * c-lex.c (cb_line_change): If USE_MAPPED_LOCATION use token's src_loc + DECL_IS_BUILTIN): New macros, most depending on USE_MAPPED__LOCATION. + (tree_exp): Change type of locus to use new source_locus typedef. + * tree.c (build1_stat): Use SET_EXPR_LOCATION. + (annotate_with_locus, annotate_with_file_line): Conditionalize. + (expand_location): New function. + * toplev.c (unknown_location): New static, when USE_MAPPED_LOCATION. + (push_srcloc, pop_loc): Adjust parameter handling. + (process_options): Don't set input_filename by itself. + (lang_dependent_init): Save, set input_location to <built-in>. + (warn_deprecated_use): Use expand_location. + + * basic-block.h (struct edge_def): Use new source_locus typedef. + * c-common.c (fname_decl): Update save/clear/store of input_location. + (c_do_switch_warnings): Update for USE_MAPPED_LOCATION case. + * c-decl.c: Likewise. + * c-dump.c (dump_stmt): Likewise. + * c-gimplify.c (c-gimplify.c): Generalize using SET_EXPR_LOCATION. + * c-lex.c (cb_line_change): If USE_MAPPED_LOCATION use token's src_loc to set input_location direction, rather than using linemap_lookup. - (fe_file_change, cb_def_pragma): Again use source_location directly. - * c-opts.c (saved_lineno): Remove static variable. - (c_common_post_options, c_common_init): Don't bothner to save, + (fe_file_change, cb_def_pragma): Again use source_location directly. + * c-opts.c (saved_lineno): Remove static variable. + (c_common_post_options, c_common_init): Don't bothner to save, clear and restore input_Location - now handled by lang_dependent_init. - * function.c (init_function_start): Use new DECL_IS_BUILTIN macro. - * xcoffout.c (xcoff_assign_fundamental_type_number): Likewise. - * tree-mudflap.c (mf_file_function_line_tree): Take a location_t + * function.c (init_function_start): Use new DECL_IS_BUILTIN macro. + * xcoffout.c (xcoff_assign_fundamental_type_number): Likewise. + * tree-mudflap.c (mf_file_function_line_tree): Take a location_t rather than a pointer to one. Use expand_location. - (mf_varname_tree): Use expand_location. - * tree-dump.c: Use expand_location on DECL_SOURCE_LOCATION. - * coverage.c: Likewise. - * print-tree.c: Likewise. - * c-aux-info.c (gen_aux_info_record): Likewise. - * c-parse.in: Use SET_EXPR_LOCATION macro. - * gimple-low.c: Likewise. - * tree-mudflap.c: Likewise. - * gimplify.c: Likewise. Also use EXPR_LOCATION and EXPR_HAS_LOCATION. - * c-ppoutput.c: Use new source_location typedef instead of fileline. - * c-semantics.c: Use new macros. - * c-typeck.c: Likewise. - * cfgexpand.c: Handle USE_MAPPED_LOCATION case for function_end_locus. - * cfglayout.c (insn_locators_initialize): Const cleanup. New macros. - * cfgrtl.c (delete_insn): Use new NOTE_DELETED_LABEL_NAME macro. - * print-rtl.c (print_rtx): Likewise. - * emit-rtl.c: Don't clear NOTE_SOURCE_FILE if USE_MAPPED_LOCATION. - * combine.c: Use new SET_INSN_DELETED macro. - * flow.c: Likewise. - * haifa-sched.c: Likewise. - * ifcvt.c: Likewise. - * recog.c: Likewise. - * reload1.c: Likewise. - * diagnostic.c: Use expand_location macro. - * pretty-print.c (pp_base_format_text): Likewise. - * profile.c: Likewise. - * dwarf2out.c: Likewise. Also use expand_location, DECL_IS_BUILTIN. - * dwarf2out.c (dwarf2out_decl: Use BUILTINS_LOCATION. - * emit-rtl.c (emit_line_note): Simplify if USE_MAPPED_LOCATION. - (force_next_line_note, insn_emit): Handle USE_MAPPED_LOCATION case. - * final.c (final): Likewise. - * haifa-sched.c: Likewise. - * integrate.c: Likewise. - * jump.c: Likewise. - * rtl-error.c: Likewise. - * stmt.c (check_seenlabel): Likewise. - * tree-pretty-print.c: Likewise. - * gengtype-lex.l: Temporary kludge to avoid duplicate typedef. - * gengtype.c: Update for now typdefs in input.h. More kludges. - * modulo-sched.c (sms_schedule): Use NOTE_EXPANDED_LOCATION macro. - * ra-debug.c (ra_print_rtl): Likewise. - * sched-rgn.c: Likewise. - * sched-vis.c: Likewise. - * rtl.h (gen_rtx_ASM_OPERANDS): Redefine if USE_MAPPED_LOCATION. - * stmt.c (expand_asm_operands): Adjust calls to gen_rtx_ASM_OPERANDS. - * tree-cfg.c: Use new macros and typedefs. - * tree-flow-inline.h: Likewise. + (mf_varname_tree): Use expand_location. + * tree-dump.c: Use expand_location on DECL_SOURCE_LOCATION. + * coverage.c: Likewise. + * print-tree.c: Likewise. + * c-aux-info.c (gen_aux_info_record): Likewise. + * c-parse.in: Use SET_EXPR_LOCATION macro. + * gimple-low.c: Likewise. + * tree-mudflap.c: Likewise. + * gimplify.c: Likewise. Also use EXPR_LOCATION and EXPR_HAS_LOCATION. + * c-ppoutput.c: Use new source_location typedef instead of fileline. + * c-semantics.c: Use new macros. + * c-typeck.c: Likewise. + * cfgexpand.c: Handle USE_MAPPED_LOCATION case for function_end_locus. + * cfglayout.c (insn_locators_initialize): Const cleanup. New macros. + * cfgrtl.c (delete_insn): Use new NOTE_DELETED_LABEL_NAME macro. + * print-rtl.c (print_rtx): Likewise. + * emit-rtl.c: Don't clear NOTE_SOURCE_FILE if USE_MAPPED_LOCATION. + * combine.c: Use new SET_INSN_DELETED macro. + * flow.c: Likewise. + * haifa-sched.c: Likewise. + * ifcvt.c: Likewise. + * recog.c: Likewise. + * reload1.c: Likewise. + * diagnostic.c: Use expand_location macro. + * pretty-print.c (pp_base_format_text): Likewise. + * profile.c: Likewise. + * dwarf2out.c: Likewise. Also use expand_location, DECL_IS_BUILTIN. + * dwarf2out.c (dwarf2out_decl: Use BUILTINS_LOCATION. + * emit-rtl.c (emit_line_note): Simplify if USE_MAPPED_LOCATION. + (force_next_line_note, insn_emit): Handle USE_MAPPED_LOCATION case. + * final.c (final): Likewise. + * haifa-sched.c: Likewise. + * integrate.c: Likewise. + * jump.c: Likewise. + * rtl-error.c: Likewise. + * stmt.c (check_seenlabel): Likewise. + * tree-pretty-print.c: Likewise. + * gengtype-lex.l: Temporary kludge to avoid duplicate typedef. + * gengtype.c: Update for now typdefs in input.h. More kludges. + * modulo-sched.c (sms_schedule): Use NOTE_EXPANDED_LOCATION macro. + * ra-debug.c (ra_print_rtl): Likewise. + * sched-rgn.c: Likewise. + * sched-vis.c: Likewise. + * rtl.h (gen_rtx_ASM_OPERANDS): Redefine if USE_MAPPED_LOCATION. + * stmt.c (expand_asm_operands): Adjust calls to gen_rtx_ASM_OPERANDS. + * tree-cfg.c: Use new macros and typedefs. + * tree-flow-inline.h: Likewise. 2004-06-30 Richard Sandiford <rsandifo@redhat.com> Eric Christopher <echristo@redhat.com> @@ -27341,7 +27341,7 @@ 2004-06-29 Per Bothner <per@bothner.com> - * config/i386/winnt.c (i386_pe_encode_section_info): Smash rtlname's + * config/i386/winnt.c (i386_pe_encode_section_info): Smash rtlname's XSTR in place, so we don't lose SYMBOL_REF_DECL info. 2004-06-29 Zack Weinberg <zack@codesourcery.com> @@ -28588,9 +28588,9 @@ PR target/15551 * config/i386/i386.md: Change UNSPEC_STACK_PROBE to UNSPECV_STACK_PROBE. (allocate_stack_worker): Make unspec_volatile. - (allocate_stack_worker_rex64): Likewise. - (allocate_stack_worker_postreload): Likewise. - (allocate_stack_worker_rex64_postreload): Likewise. + (allocate_stack_worker_rex64): Likewise. + (allocate_stack_worker_postreload): Likewise. + (allocate_stack_worker_rex64_postreload): Likewise. 2004-06-21 Daniel Berlin <dberlin@dberlin.org> @@ -29217,74 +29217,74 @@ 2004-06-17 Andrew MacLeod <amacleod@redhat.com> - * tree-cfg.c (tree_make_forwarder_block): Use SET_PHI_RESULT. - * tree-flow-inline.h (get_use_op_ptr): Return a use_operand_p. - (get_use_from_ptr, get_def_from_ptr): New. Return operand pointers. - (get_def_op_ptr): Return a def_operand_p instead of a 'tree *'. - (get_v_may_def_result_ptr): Return a def_operand_p. - (get_v_may_def_op_ptr, get_vuse_op_ptr): Return a use_operand_p. - (get_v_must_def_op_ptr): Return a def_operand_p. - (get_phi_result_ptr): New. Return a pointer to the result of a PHI. - (get_phi_arg_def_ptr): New. Return a pointer to an argument of a PHI. - (phi_element_for_edge): Remove. - * tree-flow.h (propagate_value, replace_exp): Change prototype. - (propagate_tree_value): Add new prototype. - (phi_element_for_edge): Remove prototype. - * tree-into-ssa.c (mark_def_sites): Use new operand types. - (prepare_operand_for_rename): Split into two functions. - (prepare_use_operand_for_rename): Prepare use operands. - (prepare_def_operand_for_rename): Prepare def operands. - (rewrite_stmt): Use new operand types. - (rewrite_operand): Use new operand types, change parameter type. - * tree-outof-ssa.c (replace_variable): Split into two functions. - (replace_use_variable): Rewrite uses. - (replace_def_variable): Rewrite defs. - (rewrite_trees, rewrite_vars_out_of_ssa): Use new operand types. - * tree-phinodes.c (make_phi_node, resize_phi_node): Use new types. - (add_phi_arg, remove_phi_arg_num): Use new operand types. - * tree-ssa-ccp.c (substitute_and_fold): Use new operand types. - (ccp_fold, replace_uses_in): Use new operand types. - * tree-ssa-copy.c (replace_ssa_names): Rename to replace_ssa_names_ann + * tree-cfg.c (tree_make_forwarder_block): Use SET_PHI_RESULT. + * tree-flow-inline.h (get_use_op_ptr): Return a use_operand_p. + (get_use_from_ptr, get_def_from_ptr): New. Return operand pointers. + (get_def_op_ptr): Return a def_operand_p instead of a 'tree *'. + (get_v_may_def_result_ptr): Return a def_operand_p. + (get_v_may_def_op_ptr, get_vuse_op_ptr): Return a use_operand_p. + (get_v_must_def_op_ptr): Return a def_operand_p. + (get_phi_result_ptr): New. Return a pointer to the result of a PHI. + (get_phi_arg_def_ptr): New. Return a pointer to an argument of a PHI. + (phi_element_for_edge): Remove. + * tree-flow.h (propagate_value, replace_exp): Change prototype. + (propagate_tree_value): Add new prototype. + (phi_element_for_edge): Remove prototype. + * tree-into-ssa.c (mark_def_sites): Use new operand types. + (prepare_operand_for_rename): Split into two functions. + (prepare_use_operand_for_rename): Prepare use operands. + (prepare_def_operand_for_rename): Prepare def operands. + (rewrite_stmt): Use new operand types. + (rewrite_operand): Use new operand types, change parameter type. + * tree-outof-ssa.c (replace_variable): Split into two functions. + (replace_use_variable): Rewrite uses. + (replace_def_variable): Rewrite defs. + (rewrite_trees, rewrite_vars_out_of_ssa): Use new operand types. + * tree-phinodes.c (make_phi_node, resize_phi_node): Use new types. + (add_phi_arg, remove_phi_arg_num): Use new operand types. + * tree-ssa-ccp.c (substitute_and_fold): Use new operand types. + (ccp_fold, replace_uses_in): Use new operand types. + * tree-ssa-copy.c (replace_ssa_names): Rename to replace_ssa_names_ann and no longer set the value, change parameter type. - (replace_exp_1): Use new operand types. - (propagate_value): Change parameter type, use new operand types. - (propagate_tree_value): Propagate_value without SSA operands. - (replace_exp, cprop_operand, cprop_into_stmt): Use new operand types. - (cprop_into_successor_phis): Use new operand types. - * tree-ssa-dom.c (thread_across_edge): Use new operand types. - (eliminate_redundant_computations): Use new operand types. - * tree-ssa-dse.c (fix_phi_uses): Use new operand_types. - (fix_stmt_v_may_defs): Use new operand_types. - * tree-ssa-live.c (create_ssa_var_map): Use new operand_types. - (build_tree_conflict_graph): Use new operand_types. - * tree-ssa-loop.c (duplicate_blocks): Use PHI_ARG_DEF_FROM_EDGE. - * tree-ssa-operands.c (struct freelist_d): Remove. - (check_optype_freelist, add_optype_freelist): Remove. + (replace_exp_1): Use new operand types. + (propagate_value): Change parameter type, use new operand types. + (propagate_tree_value): Propagate_value without SSA operands. + (replace_exp, cprop_operand, cprop_into_stmt): Use new operand types. + (cprop_into_successor_phis): Use new operand types. + * tree-ssa-dom.c (thread_across_edge): Use new operand types. + (eliminate_redundant_computations): Use new operand types. + * tree-ssa-dse.c (fix_phi_uses): Use new operand_types. + (fix_stmt_v_may_defs): Use new operand_types. + * tree-ssa-live.c (create_ssa_var_map): Use new operand_types. + (build_tree_conflict_graph): Use new operand_types. + * tree-ssa-loop.c (duplicate_blocks): Use PHI_ARG_DEF_FROM_EDGE. + * tree-ssa-operands.c (struct freelist_d): Remove. + (check_optype_freelist, add_optype_freelist): Remove. (allocate_def_optype, allocate_use_optype, allocate_v_may_def_optype, - allocate_vuse_optype, allocate_v_must_def_optype): Call ggc_alloc. + allocate_vuse_optype, allocate_v_must_def_optype): Call ggc_alloc. (free_uses, free_defs, free_vuses, free_v_may_defs, free_v_must_defs): Call ggc_free instead of add_optype_freelist. - (init_ssa_operands, fini_ssa_operands): Remove free list code. - (finalize_ssa_defs, finalize_ssa_uses): Set new use/def operands. - * tree-ssa-operands.h (struct def_optype_d): Change underlying type. - (struct use_optype_d): Change underlying type. - (def_operand_p, use_operand_p): New types for pointers to operands. + (init_ssa_operands, fini_ssa_operands): Remove free list code. + (finalize_ssa_defs, finalize_ssa_uses): Set new use/def operands. + * tree-ssa-operands.h (struct def_optype_d): Change underlying type. + (struct use_optype_d): Change underlying type. + (def_operand_p, use_operand_p): New types for pointers to operands. (USE_OP, DEF_OP, V_MAY_DEF_RESULT, V_MAY_DEF_OP, VUSE_OP, - V_MUST_DEF_OP): Use new pointer type instead of dereferencing directly. - (USE_FROM_PTR, DEF_FROM_PTR): New macros to "dereference" operand + V_MUST_DEF_OP): Use new pointer type instead of dereferencing directly. + (USE_FROM_PTR, DEF_FROM_PTR): New macros to "dereference" operand pointer types. - (SET_USE, SET_DEF): New macros to set operands from their pointer. + (SET_USE, SET_DEF): New macros to set operands from their pointer. (SET_USE_OP, SET_DEF_OP, SET_V_MAY_DEF_RESULT, SET_V_MAY_DEF_OP, SET_VUSE_OP, SET_V_MUST_DEF_OP): New SET routines for operands. - (PHI_RESULT_PTR, PHI_RESULT, SET_PHI_RESULT): Macros to manage the + (PHI_RESULT_PTR, PHI_RESULT, SET_PHI_RESULT): Macros to manage the PHI result as an operand. (PHI_ARG_DEF_PTR, PHI_ARG_DEF, SET_PHI_ARG_DEF, PHI_ARG_DEF_FROM_EDGE, - PHI_ARG_DEF_PTR_FROM_EDGE): Macros to manage the PHI arguments. - * tree-ssa-pre.c (eliminate): Call propagate_tree_value. - * tree-tailcall.c (independent_of_stmt_p, propagate_through_phis): Use + PHI_ARG_DEF_PTR_FROM_EDGE): Macros to manage the PHI arguments. + * tree-ssa-pre.c (eliminate): Call propagate_tree_value. + * tree-tailcall.c (independent_of_stmt_p, propagate_through_phis): Use PHI_ARG_DEF_FROM_EDGE. - * tree.h (PHI_RESULT): Renamed to PHI_RESULT_TREE. - (PHI_ARG_DEF): Renamed to PHI_ARG_DEF_TREE. + * tree.h (PHI_RESULT): Renamed to PHI_RESULT_TREE. + (PHI_ARG_DEF): Renamed to PHI_ARG_DEF_TREE. 2004-06-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> @@ -29326,7 +29326,7 @@ 2004-06-17 Daniel Berlin <dberlin@dberlin.org> - * tree-ssa-pre.c: Update comments. + * tree-ssa-pre.c: Update comments. (val_expr_pair_eq): Factor code from here. (expr_pred_trans_eq): and here. (expressions_equal_p): To here. @@ -29414,7 +29414,7 @@ 2004-06-16 Ulrich Weigand <uweigand@de.ibm.com> - * config/s390/s390.c (struct machine_function): New member + * config/s390/s390.c (struct machine_function): New member last_restore_gpr. (s390_frame_info): Add BASE_USED and RETURN_ADDR_USED parameters. Do not modify machine->save_return_addr_p or regs_ever_live. @@ -29475,7 +29475,7 @@ (udivmodhi4, divmodhi4): Use mvz to zero extend arg for divide. (iorsi3, xorsi3, andsi3): Use bitfield instructions if possible. - * config/m68k/m68k.c(valid_mov3q_const): New function. + * config/m68k/m68k.c(valid_mov3q_const): New function. (const_method): SWAP is valid for ColdFire. (MULL_COST, MULW_COST): Fix costs for ColdFire V3/V4. * config/m68k/m68k-protos.h (valid_mov3q_const): Prototype here. @@ -30895,7 +30895,7 @@ 2004-06-08 Per Bothner <per@bothner.com> - * configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION. + * configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION. 2004-06-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> @@ -31295,7 +31295,7 @@ (resource.o, regrename.o, insn-conditions.o, insn-emit.o, insn-recog.o): Replace resource.h with RESOURCE_H. (ddg.o, modulo-sched.o, haifa-sched.o, sched-deps.o, sched-rgn.o, - sched-ebb.o, sched-vis.o, out_object_file): Replace sched-int.h + sched-ebb.o, sched-vis.o, out_object_file): Replace sched-int.h with SCHED_INT_H. (web.o, lcm.o, df.o, ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o): Replace df.h with DF_H. @@ -31308,11 +31308,11 @@ * ddg.h: Include sbitmap.h, basic-block.h, df.h. * df.h: Add include guard. Include bitmap.h, sbitmap.h, basic-block.h. - * genconditions.c: Remove reload.h. + * genconditions.c: Remove reload.h. * ra.h: Add include guard. Include bitmap.h, sbitmap.h, hard-reg-set.h, insn-modes.h. * resource.h: Add include guard. Include hard-reg-set.h. - * sched-int.h: Add include guard. Include insn-attr.h, + * sched-int.h: Add include guard. Include insn-attr.h, basic-block.h, rtl.h. * target.h: Add include guard. Include insn-modes.h. * tree-ssa-live.h: Include partition.h. @@ -31364,7 +31364,7 @@ 2004-06-02 Jan Hubicka <jh@suse.cz> - * tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before + * tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before return_stmt. 2004-06-02 Jason Merrill <jason@redhat.com> @@ -31447,7 +31447,7 @@ 2004-06-01 Peter Barada <peter@the-baradas.com> Peter Jakubek <peter@laseranimation.com> - * config/m68k/m68k.c(m68k_output_mi_thunk): For ColdFire, use %d0 as + * config/m68k/m68k.c(m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform an add to memory. 2004-06-01 Bernardo Innocenti <bernie@develer.com> @@ -31854,7 +31854,7 @@ 2004-05-27 Jan Hubicka <jh@suse.cz> - * cfgbuild.c (control_flow_insn_p): Notice noreturn call + * cfgbuild.c (control_flow_insn_p): Notice noreturn call 2004-05-27 Paolo Bonzini <bonzini@gnu.org> @@ -31921,12 +31921,12 @@ 2004-05-26 Jan Hubicka <jh@suse.cz> - * cfgcleanup.c (try_forward_edges): Do not check loop structure when + * cfgcleanup.c (try_forward_edges): Do not check loop structure when not loop optimizing. 2004-05-26 Jan Hubicka <jh@suse.cz> - * except.c (can_throw_internal): Notice RESX instructions. + * except.c (can_throw_internal): Notice RESX instructions. 2004-05-26 Eric Botcazou <ebotcazou@act-europe.fr> @@ -31976,7 +31976,7 @@ 2004-05-25 Jan Hubicka <jh@suse.cz> - * builtins.def (__builtin_expect): Mark the function as const¬hrow. + * builtins.def (__builtin_expect): Mark the function as const¬hrow. 2004-05-25 Ayal Zaks <zaks@il.ibm.com> Mostafa Hagog <mustafa@il.ibm.com> @@ -32453,7 +32453,7 @@ 2004-05-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> PR c++/15463 - * loop-iv.c (iv_number_of_iterations): Use trunc_int_for_mode on + * loop-iv.c (iv_number_of_iterations): Use trunc_int_for_mode on result of inverse. PR rtl-optimization/15274 @@ -32697,7 +32697,7 @@ 2004-05-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - * pa.md: Fix typo from last change. Remove DFmode move to and from + * pa.md: Fix typo from last change. Remove DFmode move to and from SAR register. 2004-05-16 Richard Earnshaw <rearnsha@arm.com> @@ -32902,7 +32902,7 @@ * target-def.h (TARGET_ALIGN_ANON_BITFIELD): Define. (TARGET_INITIALIZER): Use it. * target.h (struct gcc_target): Add align_anon_bitfield. - * config/arm/arm.c (arm_align_anon_bitfield): New function. + * config/arm/arm.c (arm_align_anon_bitfield): New function. (TARGET_ALIGN_ANON_BITFIELD): Define. * doc/tm.texi: Document TARGET_ALIGN_ANON_BITFIELD. @@ -33521,7 +33521,7 @@ (emit_move_insn_1): Don't generate inline warnings. (expand_vars, expand_var): Split from ... (expand_expr_1): ... here. - (expand_expr_real, expand_expr_real_1): Use new macros + (expand_expr_real, expand_expr_real_1): Use new macros EXPR_LOCATION and EXPR_HAS_LOCATION. * expr.h (simplify_builtin_fputs, simplify_builtin_strcpy, simplify_builtin_strncpy, @@ -33723,7 +33723,7 @@ Do rtl-based profiling only when !flag_tree_based_profiling. Register rtl-based profiling hooks. - * predict.c: Include tree-flow.h, ggc.h, tree-dump.h + * predict.c: Include tree-flow.h, ggc.h, tree-dump.h (predicted_by_p): Rename to ... (rtl_predicted_by_p): .. this one; make global (tree_predicted_by_p): New. @@ -34652,7 +34652,7 @@ * vmsdbgout.c (vms_func_node, vms_func_ref): New. (func_table): Change type from char ** to vms_func_ref. - (write_rtnbeg): Update to reflect func_table change. Use + (write_rtnbeg): Update to reflect func_table change. Use fde->funcdef_number instead of rtnnum in output. (write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise. @@ -35441,35 +35441,35 @@ 2004-04-22 Per Bothner <per@bothner.com> - * line-map.h (struct line_maps): New field highest_line. - (linemap_position_for_column): Make non-inline function. - (LINEMAP_POSITION_FOR_COLUMN): New macro. - * line-map.c (linemap_init): Clear highest_line field. - (linemap_add): Set highest_line field. - (linemap_line_start): Minor optimization - use highest_line field. + * line-map.h (struct line_maps): New field highest_line. + (linemap_position_for_column): Make non-inline function. + (LINEMAP_POSITION_FOR_COLUMN): New macro. + * line-map.c (linemap_init): Clear highest_line field. + (linemap_add): Set highest_line field. + (linemap_line_start): Minor optimization - use highest_line field. Reduce maximum column hint to 10000. Update highest_line field. - (linemap_position_for_column): Moved from line-map.h. Optimize a bit. - * cpphash.h (struct cpp_reader): Remove line field - instead use + (linemap_position_for_column): Moved from line-map.h. Optimize a bit. + * cpphash.h (struct cpp_reader): Remove line field - instead use line_table->highest_line. - (saved_line): Remove unused field. - (CPP_INCREMENT_FILE): Don't do linemap_lookup - just use newest map. + (saved_line): Remove unused field. + (CPP_INCREMENT_FILE): Don't do linemap_lookup - just use newest map. Use line_table's highest_line field instead of cpp_reader's line. - * cpplib.c (start_directive): Likewise use highest_line field. - (do_line, do_linemarker): Likewise just use newest map. - (_cpp_do_file_change): Don't need to set cpp_reader's line field. - * cpperror.c (cpp_error): Likewise use highest_line field. - * cppfiles.c (open_file_failed: Likewise. - (cpp_make_system_header): Likewise use newest map and highest_line. - * cppinit.c (cpp_create_reader): Don't initialize removed field. + * cpplib.c (start_directive): Likewise use highest_line field. + (do_line, do_linemarker): Likewise just use newest map. + (_cpp_do_file_change): Don't need to set cpp_reader's line field. + * cpperror.c (cpp_error): Likewise use highest_line field. + * cppfiles.c (open_file_failed: Likewise. + (cpp_make_system_header): Likewise use newest map and highest_line. + * cppinit.c (cpp_create_reader): Don't initialize removed field. * cpplex.c (_cpp_process_line_notes, _cpp_skip_block_comment, skip_line_comment, skip_whitespace, _cpp_get_fresh_line, - _cpp_lex_direct): Likewise use highest_line. - (_cpp_lex_direct): Use new LINEMAP_POSITION_FOR_COLUMN macro. - * cppmacro.c (_cpp_builtin_macro_text): Likewise use highest_line, + _cpp_lex_direct): Likewise use highest_line. + (_cpp_lex_direct): Use new LINEMAP_POSITION_FOR_COLUMN macro. + * cppmacro.c (_cpp_builtin_macro_text): Likewise use highest_line, and use newest map. - * cpppch.c (cpp_read_state): Don't save+restore cpp_reader's line. - * cpptrad.c (_cpp_overlay_buffer): Don't save cpp_reader's line. - (copy_comment, _cpp_scan_out_logical_line): Likewise use highest_line. + * cpppch.c (cpp_read_state): Don't save+restore cpp_reader's line. + * cpptrad.c (_cpp_overlay_buffer): Don't save cpp_reader's line. + (copy_comment, _cpp_scan_out_logical_line): Likewise use highest_line. 2004-04-23 Alan Modra <amodra@bigpond.net.au> @@ -35486,7 +35486,7 @@ 2004-04-22 Per Bothner <per@bothner.com> - * cppinit.c (cpp_read_main_file): Return NULL rather than false. + * cppinit.c (cpp_read_main_file): Return NULL rather than false. Fixes PR preprocessor/15067. 2004-04-23 Andreas Schwab <schwab@suse.de> @@ -36119,7 +36119,7 @@ 2004-04-11 Roger Sayle <roger@eyesopen.com> - * fold-const.c (fold_binary_op_with_conditional_arg): Tweak + * fold-const.c (fold_binary_op_with_conditional_arg): Tweak calling convention to allow a NULL_TREE to be returned. Factor sanity checks from callers, return NULL_TREE when appropriate. (fold): Handle COMPOUND_EXPR operands of binary expressions @@ -36129,7 +36129,7 @@ 2004-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - * config/mips/iris5.h (current_section_flags): Add + * config/mips/iris5.h (current_section_flags): Add in_unlikely_executed_text and default case. 2004-04-11 Andreas Tobler <a.tobler@schweiz.ch> @@ -36195,13 +36195,13 @@ 2004-04-09 Caroline Tice <ctice@apple.com> - * basic-block.h (struct edge_def): Add new field, crossing_edge. - (struct basic_block_def): Add new field, partition. - (UNPARTITIONED, HOT_PARTITION, COLD_PARTITION): New constant macro + * basic-block.h (struct edge_def): Add new field, crossing_edge. + (struct basic_block_def): Add new field, partition. + (UNPARTITIONED, HOT_PARTITION, COLD_PARTITION): New constant macro definitions. (partition_hot_cold_basic_blocks): Add extern function declaration. - * bb-reorder.c (function.h, obstack.h, expr.h, regs.h): Add four new + * bb-reorder.c (function.h, obstack.h, expr.h, regs.h): Add four new include statements. (N_ROUNDS): Increase the maximum number of rounds by 1. (branch_threshold): Add array value for new round. @@ -36218,17 +36218,17 @@ (fix_crossing_unconditional_branches): New function. (fix_edges_for_rarely_executed_code): New function. (partition_hot_cold_basic_blocks): New function. - (find_traces): Add an extra round for partitioning hot/cold + (find_traces): Add an extra round for partitioning hot/cold basic blocks. (find_traces_1_round): Add a parameter. Modify to push all cold blocks, and only cold blocks, into the last (extra) round of collecting traces. (better_edge_p): Add a parameter. Modify to favor non-crossing edges over crossing edges. - (bb_to_key): Add code to correctly identify cold blocks when + (bb_to_key): Add code to correctly identify cold blocks when doing partitioning. (connect_traces): Modify to connect all the non-cold traces first, then go back and connect up all the cold traces. - (reorder_basic_blocks): Add call to add_unlikely_executed_notes. + (reorder_basic_blocks): Add call to add_unlikely_executed_notes. * cfg.c (entry_exit_blocks): Add initialization for partition field in entry and exit blocks. * cfgbuild.c (make_edges): Update current_function_has_computed_jump @@ -36248,33 +36248,33 @@ * cfghooks.c (tidy_fallthru_edges): Modify to not remove indirect jumps that cross section boundaries. * cfglayout.c (flags.h): Add new include statement. - (update_unlikely_executed_notes): New function. - (fixup_reorder_chain): Add code so when a new jumping basic block is + (update_unlikely_executed_notes): New function. + (fixup_reorder_chain): Add code so when a new jumping basic block is added, it's UNLIKELY_EXECUTED_CODE and REG_CROSSING_JUMP notes are updated appropriately. - (duplicate_insn_chain): Add code to duplicate the new NOTE insn + (duplicate_insn_chain): Add code to duplicate the new NOTE insn introduced by this optimization. - * cfglayout.h (scan_ahead_for_unlikely_executed_note): Add new + * cfglayout.h (scan_ahead_for_unlikely_executed_note): Add new extern function declaration. - * cfgrtl.c (can_delete_note_p): Add NOTE_INSN_UNLIKELY_EXECUTED_CODE to + * cfgrtl.c (can_delete_note_p): Add NOTE_INSN_UNLIKELY_EXECUTED_CODE to list of notes that can be deleted. - (create_basic_block_structure): Add initialization for partition field. - (rtl_can_merge_blocks): Modify to test blocks for jumps that cross + (create_basic_block_structure): Add initialization for partition field. + (rtl_can_merge_blocks): Modify to test blocks for jumps that cross section boundaries. - (try_redirect_by_replacing_jump): Modify to not attempt on jumps that + (try_redirect_by_replacing_jump): Modify to not attempt on jumps that cross section boundaries. (commit_one_edge_insertion): Add code so newly created basic block ends up in correct (hot or cold) section. Modify to disallow insertions before NOTE_INSN_UNLIKELY_EXECUTED_CODE notes. - (rtl_verify_flow_info_1): Add code to verify that no fall_thru edge + (rtl_verify_flow_info_1): Add code to verify that no fall_thru edge crosses section boundaries. (cfg_layout_can_merge_blocks_p): Modify to test blocks for jumps that cross section boundaries. (force_nonfallthru_and_redirect): Modify to make sure new basic block ends up in correct section, with correct notes attached. - * common.opt (freorder-blocks-and-partition): Add new flag for this + * common.opt (freorder-blocks-and-partition): Add new flag for this optimization. - * dbxout.c (dbx_function_end): Add code to make sure scope labels at + * dbxout.c (dbx_function_end): Add code to make sure scope labels at the end of functions are written into the correct (hot or cold) section. (dbx_source_file): Add code so writing debug file information @@ -36287,14 +36287,14 @@ conditional branches can span all of memory. (HAS_LONG_UNCOND_BRANCH): New constant macro, indicationg whether or not unconditional branches can span all of memory. - * final.c (scan_ahead_for_unlikely_executed_note): New function. - (final_scan_insn): Add code to check for NOTE instruction indicating + * final.c (scan_ahead_for_unlikely_executed_note): New function. + (final_scan_insn): Add code to check for NOTE instruction indicating whether basic block belongs in hot or cold section, and to make sure the current basic block is being written to the appropriate section. Also added code to ensure that jump table basic blocks end up in the correct section. - * flags.h (flag_reorder_blocks_and_partition): New flag. - * ifcvt.c (find_if_case_1): Modify to not attempt if conversion if + * flags.h (flag_reorder_blocks_and_partition): New flag. + * ifcvt.c (find_if_case_1): Modify to not attempt if conversion if one of the branches has a jump that crosses between sections. (find_if_case_2): Likewise. (ifcvt): Modify to not attempt to mark loop exit edges after @@ -36306,52 +36306,52 @@ flag_reorder_blocks_and_partition. * output.h (unlikely_text_section): New extern function declaration. (in_unlikely_text_section): New extern function declaration. - * passes.c (rest_of_handle_stack_regs): Add + * passes.c (rest_of_handle_stack_regs): Add flag_reorder_blocks_and_partition as an 'or' condition for calling reorder_basic_blocks. - (rest_of_handle_reorder_blocks): Add flag_reorder_blocks_and_partition + (rest_of_handle_reorder_blocks): Add flag_reorder_blocks_and_partition as an 'or' condition for calling reorder_basic_blocks. - (rest_of_compilation): Add call to partition_hot_cold_basic_blocks. + (rest_of_compilation): Add call to partition_hot_cold_basic_blocks. * print-rtl.c (print_rtx): Add code for handling new note, NOTE_INSN_UNLIKELY_EXECUTED_CODE * rtl.c (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note insn (see below). (REG_CROSSING_JUMP): New kind of reg_note, to mark jumps that cross between section boundaries. - * rtl.h (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note instruction, + * rtl.h (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note instruction, indicating the basic block containing it belongs in the cold section. (REG_CROSSING_JUMP): New type of reg_note, to mark jumps that cross between hot and cold sections. - * toplev.c (flag_reorder_blocks_and_partition): Add code to + * toplev.c (flag_reorder_blocks_and_partition): Add code to initialize this flag, and to tie it to the command-line option freorder-blocks-and-partition. - * varasm.c (cfglayout.h): Add new include statement. - (unlikely_section_label_printed): New global variable, used for + * varasm.c (cfglayout.h): Add new include statement. + (unlikely_section_label_printed): New global variable, used for determining when to output section name labels for cold sections. - (in_section): Add in_unlikely_executed_text to enum data structure. - (text_section): Modify code to use SECTION_FORMAT_STRING and + (in_section): Add in_unlikely_executed_text to enum data structure. + (text_section): Modify code to use SECTION_FORMAT_STRING and NORMAL_TEXT_SECTION_NAME macros. - (unlikely_text_section): New function. - (in_unlikely_text_section): New function. - (function_section): Add code to make sure beginning of function is + (unlikely_text_section): New function. + (in_unlikely_text_section): New function. + (function_section): Add code to make sure beginning of function is written into correct section (hot or cold). - (assemble_start_function): Add code to make sure stuff is written to + (assemble_start_function): Add code to make sure stuff is written to the correct section. - (assemble_zeros): Add in_unlikely_text_section as an 'or' condition + (assemble_zeros): Add in_unlikely_text_section as an 'or' condition to an if statement that was checking 'in_text_section'. - (assemble_variable): Add 'in_unlikely_text_section' as an 'or' + (assemble_variable): Add 'in_unlikely_text_section' as an 'or' condition to an if statement that was checking 'in_text_section'. - (default_section_type_flags_1): Add check: if in cold section + (default_section_type_flags_1): Add check: if in cold section flags = SECTION_CODE. - * config/darwin.c (darwin_asm_named_section): Modify to use + * config/darwin.c (darwin_asm_named_section): Modify to use SECTION_FORMAT_STRING if we are partitioning hot/cold blocks. * config/i386/i386.h (HAS_LONG_COND_BRANCH): Defined this macro specifically for the i386. - (HAS_LONG_UNCOND_BRANCH): Defined this macro specifically for the i386. + (HAS_LONG_UNCOND_BRANCH): Defined this macro specifically for the i386. * config/rs6000/darwin.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Change text string to something more informative. (NORMAL_TEXT_SECTION_NAME): Add new definition. - (SECTION_FORMAT_STRING): Add new definition. - * config/rs6000/rs6000.c (rs6000_assemble_integer): Add + (SECTION_FORMAT_STRING): Add new definition. + * config/rs6000/rs6000.c (rs6000_assemble_integer): Add '!in_unlikely_text_section' as an 'and' condition to an if statement that was already checking '!in_text_section'. * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME,NORMAL_TEXT_SECTION_NAME, @@ -36359,7 +36359,7 @@ sure these are properly defined for linux on ppc. * doc/invoke.texi (freorder-blocks-and-partition): Add documentation for this new flag. - * doc/rtl.texi (REG_CROSSING_JUMP): Add documentation for new + * doc/rtl.texi (REG_CROSSING_JUMP): Add documentation for new reg_note. * doc/tm.texi (NORMAL_TEXT_SECTION_NAME, SECTION_FORMAT_STRING, HAS_LONG_COND_BRANCH, HAS_LONG_UNCOND_BRANCH): Add documentation for @@ -36564,18 +36564,18 @@ * gcc.c (combine_flag): New global variable, for new driver option. (struct compiler): Add two new fields, to be used when combining multiple input files in a single pass (IMA). - (default_compilers): Add values for the new fields to all + (default_compilers): Add values for the new fields to all compiler entries. Modify the "@c" compiler entry for doing IMA properly with "-save-temps" and the "combine" flag. - (option_map): Add new driver option, "--combine", to tell driver + (option_map): Add new driver option, "--combine", to tell driver to pass multiple input files to compiler at one time. (have_o_argbuf_index): New global variable. (store_arg): Modify to assign value to have_o_argbuf_index. - (struct infile): Add three new fields, to help with IMA. + (struct infile): Add three new fields, to help with IMA. (display_help): Add help for new "combine" option. (process_command): Remove local variable have_o; add code to check for new "combine" option; remove assignment to combine_inputs. - (do_spec_1): Modify to deal with IMA better. + (do_spec_1): Modify to deal with IMA better. (main): Make variable 'lang_n_infiles' local to entire function rather than to a single block. Use flag combine_flag to determine whether to do IMA or not; Modify loop initializing @@ -36793,7 +36793,7 @@ (cgraph_decide_inlining_of_small_functions): ... here; simplify. (cgraph_decide_inlining, cgraph_decide_inlining_incrementally): Likewise. - (cgraph_expand_all_functions): Remove inline clones from the ordered + (cgraph_expand_all_functions): Remove inline clones from the ordered list. (cgraph_preserve_function_body_p): New predicate. (cgraph_optimize): Verify cgraph. @@ -38593,7 +38593,7 @@ * config/mips/mips.md: Use move_operand in splitters for 64-bit moves. (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates. (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16) - (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use + (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use move_operand as source predicate in all cases. (*movdi_32bit): Renamed from movdi_internal. Remove 'F' constraint. Test reg_or_0_operand. Use move_operand as source predicate. @@ -39011,7 +39011,7 @@ 2004-03-07 Jan Hubicka <jh@suse.cz> - * except.c (emit_to_new_bb_before): Break fallthru edges. + * except.c (emit_to_new_bb_before): Break fallthru edges. 2004-03-07 Stephane Carrez <stcarrez@nerim.fr> @@ -39288,7 +39288,7 @@ 2004-03-04 Phil Edwards <phil@codesourcery.com> - * genmultilib: Change '=' to '-' when translating option names + * genmultilib: Change '=' to '-' when translating option names to directory names. 2004-03-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> @@ -39300,8 +39300,8 @@ * reload.c (find_reloads): Reorganize if seqeunce to switch. - * cfgrtl.c (rtl_redirect_edge_and_branch): Set the source BB as dirty. - (cfglayout_redirect_edge_and_branch): Set the source BB as dirty. + * cfgrtl.c (rtl_redirect_edge_and_branch): Set the source BB as dirty. + (cfglayout_redirect_edge_and_branch): Set the source BB as dirty. 2004-03-04 Steve Ellcey <sje@cup.hp.com> @@ -39559,7 +39559,7 @@ 2004-03-03 Jan Hubicka <jh@suse.cz> - * cselib.c (hash_table): Remove GTY marker. + * cselib.c (hash_table): Remove GTY marker. (reg_values): Turn into array. (used_regs): Likewise. (n_used_regs): New static variable. @@ -39590,7 +39590,7 @@ ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Rename from ...; accept locations (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared, - ggc_realloc, ggc_alloc_typed): ... this one. + ggc_realloc, ggc_alloc_typed): ... this one. from ...; accept locations * ggc-page.c (ggc_alloc_typed_stat, ggc_alloc_zone_stat, ggc_alloc_stat): Rename from ... ; pass locations @@ -39598,7 +39598,7 @@ ... this one. (ggc_alloc_stat): Record overehead. * ggc.h (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared, - ggc_realloc, ggc_alloc_typed): Turn to macros + ggc_realloc, ggc_alloc_typed): Turn to macros (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat, ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Declare. (dump_ggc_loc_satistics, ggc_record_overehead): Declare. @@ -40033,8 +40033,8 @@ 2004-03-01 Paolo Bonzini <bonzini@gnu.org> - * combine.c (try_combine): Do not refer to is_replaced. - (gen_lowpart_for_combine): Perverse subregs now have a + * combine.c (try_combine): Do not refer to is_replaced. + (gen_lowpart_for_combine): Perverse subregs now have a more politically correct name. * cse.c (cse_insn): Likewise. * jump.c: Fix bogus reference to delete_insn. @@ -40206,9 +40206,9 @@ 2004-02-27 Dale Johannesen <dalej@apple.com> - * config/darwin.c (machopic_output_possible_stub_label): Remove. - config/darwin-protos.h: Ditto. - config/darwin.h: Remove call to it. + * config/darwin.c (machopic_output_possible_stub_label): Remove. + config/darwin-protos.h: Ditto. + config/darwin.h: Remove call to it. * combine.c (distribute_notes): Do not place a REG_DEAD note when value is both set and used. @@ -40423,7 +40423,7 @@ 2004-02-25 Jan Hubicka <jh@suse.cz> * basic-block.h (make_eh_edge, break_superblocks): Declare. - * cfgbuild.c (make_eh_edge): Make global. + * cfgbuild.c (make_eh_edge): Make global. * cfglayout.c (break_superblocks): Likewise; fix memory leak. * except.c (build_post_landing_pads, connect_post_landing_pads, dw2_build_landing_pads, sjlj_emit_function_enter, @@ -41032,8 +41032,8 @@ 2004-02-23 Dale Johannesen <dalej@apple.com> * config/rs6000.md (movsf_hardfloat): Add POWER form of nop. - (movdf_hardfloat64): Ditto. - (movdf_softfloat64): Ditto. + (movdf_hardfloat64): Ditto. + (movdf_softfloat64): Ditto. 2004-02-23 Fariborz Jahanian <fjahanian@apple.com> * config/rs6000/rs6000.c (function_arg): call to @@ -41043,7 +41043,7 @@ 2004-02-23 Dale Johannesen <dalej@apple.com> * config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy. - (movdf_hardfloat64): Ditto. + (movdf_hardfloat64): Ditto. 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> @@ -41230,11 +41230,11 @@ 2004-02-20 Per Bothner <per@bothner.com> - * input.h: Don't #include line-map.h. It may cause link problems + * input.h: Don't #include line-map.h. It may cause link problems with undefined linemap_line_start when line-map.h is included but line-map.o is not linked, as currently happens with gengtype on compilers that don't support inline. - * toplev.c: So we do have to explicitly #include line-map.h here. + * toplev.c: So we do have to explicitly #include line-map.h here. 2004-02-20 Richard Henderson <rth@redhat.com> @@ -41548,29 +41548,29 @@ 2004-02-18 Per Bothner <per@bothner.com> - * cpphash.h (struct cpp_buffer): Restore return_at_eof field. This + * cpphash.h (struct cpp_buffer): Restore return_at_eof field. This partly reverts my 2003-10-01 change, because we're back to logically including <command line> inside the main line. - * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field. - * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer. + * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field. + * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer. Fixes PR preprocessor/14103. - * cppfiles.c (_cpp_stack_include): When appropriate decrement + * cppfiles.c (_cpp_stack_include): When appropriate decrement line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION. - (cpp_push_include): Don't need to increment pfile's line field. - * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1. + (cpp_push_include): Don't need to increment pfile's line field. + * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1. - * c-ppoutput.c (print struct): New first_time field. - (init_pp_output): Set print.first_time. - (pp_file_change): Use print.first_time, rather than MAIN_FILE_P, + * c-ppoutput.c (print struct): New first_time field. + (init_pp_output): Set print.first_time. + (pp_file_change): Use print.first_time, rather than MAIN_FILE_P, which is set also for (say) <command line>. Clear print.first_time. - * cppfiles.c (struct _cpp_file): Comment and type for pch field + * cppfiles.c (struct _cpp_file): Comment and type for pch field does not match the code, so fix both. - (should_stack_file): Inline include_pch_p function. - (include_pch_p): Remove pointless function. + (should_stack_file): Inline include_pch_p function. + (include_pch_p): Remove pointless function. - * cpphash.h (struct cpp_buffer): Remove unused search_cached field. + * cpphash.h (struct cpp_buffer): Remove unused search_cached field. 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> @@ -41955,9 +41955,9 @@ 2004-02-14 Per Bothner <per@bothner.com> - * fix-header.c (line_table): Move local variable in main to global. - * scan.h (line_table): Use it. - * scan-decls.c (scan_decls): Need to call linemap_lookup on token's + * fix-header.c (line_table): Move local variable in main to global. + * scan.h (line_table): Use it. + * scan-decls.c (scan_decls): Need to call linemap_lookup on token's line (recently renamed to src_loc) before calling recognized_function. 2004-02-14 Matt Kraai <kraai@alumni.cmu.edu> @@ -42220,77 +42220,77 @@ Represent column numbers using line-map's source_location. The "next available source_location" is now managed internally by line-maps.c rather than by clients. - * line-map.h (struct line_map): New field column_bits. - <from_line>: Rename field to start_location. - (struct line_maps): New fields highest_location and max_column_hint. - (linemap_check_files_exited): New declaration. - (linemap_line_start): New declaration. - (linemap_add): Remove from_line parameter; use highest_location field. - (SOURCE_LINE, LAST_SOURCE_LINE): Modify to use column_bits. - (SOURCE_COLUMN, LAST_SOURCE_LINE_LOCATION): New macros. - (CURRENT_LINE_MAP): Remove macro. - (linemap_position_for_column): New inline function. - * line-map.c (linemap_init): Clear new fields. - (linemap_check_files_exited): New function, extracted from ... - (linemap_free): Use linemap_check_files_exited. - (linemap_add): Remove from_line parameter. Various updates. - (linemap_line_start): New function. - (linemap_lookeup): Update for new field names. - * cpphash.h (struct cpp_reader) <map>: Field removed. Because + * line-map.h (struct line_map): New field column_bits. + <from_line>: Rename field to start_location. + (struct line_maps): New fields highest_location and max_column_hint. + (linemap_check_files_exited): New declaration. + (linemap_line_start): New declaration. + (linemap_add): Remove from_line parameter; use highest_location field. + (SOURCE_LINE, LAST_SOURCE_LINE): Modify to use column_bits. + (SOURCE_COLUMN, LAST_SOURCE_LINE_LOCATION): New macros. + (CURRENT_LINE_MAP): Remove macro. + (linemap_position_for_column): New inline function. + * line-map.c (linemap_init): Clear new fields. + (linemap_check_files_exited): New function, extracted from ... + (linemap_free): Use linemap_check_files_exited. + (linemap_add): Remove from_line parameter. Various updates. + (linemap_line_start): New function. + (linemap_lookeup): Update for new field names. + * cpphash.h (struct cpp_reader) <map>: Field removed. Because linemap_position_for_column may unpredictably change the current map, it is cleaner and simpler for us to not cache it in cpp_reader. - (struct cpp_buffer): New sysp field. + (struct cpp_buffer): New sysp field. Changed warned_cplusplus_comments and from_stage3 to bitfields. - * cppinit.c (cpp_read_min_file): pfile->map no longer exists. - * cpplib.c (do_line, do_linemarker, _cpp_do_file_change): Get + * cppinit.c (cpp_read_min_file): pfile->map no longer exists. + * cpplib.c (do_line, do_linemarker, _cpp_do_file_change): Get current map using linemap_lookup. - (do_linemarker): Also set buffer's sysp field. - (destringize_and_run): No longer need to decrement current line. - * cppfiles.c (_cpp_stack_file): Set sysp from and in buffer. - (search_path_head, open_file_failed): Use buffer's sysp. - (cpp_make_system_header): Get current map using linemap_lookup. + (do_linemarker): Also set buffer's sysp field. + (destringize_and_run): No longer need to decrement current line. + * cppfiles.c (_cpp_stack_file): Set sysp from and in buffer. + (search_path_head, open_file_failed): Use buffer's sysp. + (cpp_make_system_header): Get current map using linemap_lookup. Also set buffer's sysp flag. - * cppmacro.c (_cpp_builtin_macro_text): Likewise use linemap_lookup. - * cpphash.h (CPP_INCREMENT_LINE): New macro. - (struct cpp_buffer): Moved fields saved_cur, saved_rlimit to ... - (struct cpp_reader): ... and adding saved_line_base field. + * cppmacro.c (_cpp_builtin_macro_text): Likewise use linemap_lookup. + * cpphash.h (CPP_INCREMENT_LINE): New macro. + (struct cpp_buffer): Moved fields saved_cur, saved_rlimit to ... + (struct cpp_reader): ... and adding saved_line_base field. * cpptrad.c (_cpp_overlay_buffer, _cpp_remove_overlay): Update accordingly. Don't adjust line. - (_cpp_scan_out_logical_line): Use CPP_INCREMENT_LINE. - * cpphash.c (CPP_IN_SYSTEM_HEADER): Replaced macro by ... - (cpp_in_system_header): ... new inline function, using buffer's sysp. - * cpperror.c (_cpp_begin_message): Update to use cpp_in_system_header. - * cpplex.c (_cpp_lex_direct): Likewise. - * cppmacro.c (_cpp_builtin_macro_text): Likewise. - * cppmacro.c (_cpp_create_definition): Use buffer's sysp field. - * cpplib.h (struct cpp_token): Rename line field to src_loc. + (_cpp_scan_out_logical_line): Use CPP_INCREMENT_LINE. + * cpphash.c (CPP_IN_SYSTEM_HEADER): Replaced macro by ... + (cpp_in_system_header): ... new inline function, using buffer's sysp. + * cpperror.c (_cpp_begin_message): Update to use cpp_in_system_header. + * cpplex.c (_cpp_lex_direct): Likewise. + * cppmacro.c (_cpp_builtin_macro_text): Likewise. + * cppmacro.c (_cpp_create_definition): Use buffer's sysp field. + * cpplib.h (struct cpp_token): Rename line field to src_loc. Remove col field as it is now subsumed by src_loc. - * cpperror.c: Update various field, parameter, and macro names. - (print_location): If col==0, try SOURCE_COLUMN of line. - (cpp_error): Use cur_token's src_loc field, rather than line+col. - * cpplib.c (do_diagnostic): Token's src_loc fields replaces line+col. + * cpperror.c: Update various field, parameter, and macro names. + (print_location): If col==0, try SOURCE_COLUMN of line. + (cpp_error): Use cur_token's src_loc field, rather than line+col. + * cpplib.c (do_diagnostic): Token's src_loc fields replaces line+col. * cpplex.c (_cpp_process_line_notes, _cpp_lex_direct, - _cpp_skip_block_comment): Use CPP_INCREMENT_LINE. - (_cpp_temp_token): Replace cpp_token's line+col fields by src_loc. - (_cpp_get_fresh_line): Don't need to adjust line for missing newline. - (_cpp_lex_direct): Use linemap_position_for_column. - * c-ppoutput.c (maybe_print_line, print_line): Don't take map + _cpp_skip_block_comment): Use CPP_INCREMENT_LINE. + (_cpp_temp_token): Replace cpp_token's line+col fields by src_loc. + (_cpp_get_fresh_line): Don't need to adjust line for missing newline. + (_cpp_lex_direct): Use linemap_position_for_column. + * c-ppoutput.c (maybe_print_line, print_line): Don't take map parameter. Instead get it from the line_table global. Adjust callers. - (print): Remove map field. Replace line field to src_line. - (init_pp_output, account_for_newlines, maybe_print_line): Adjust. - (cb_line_change): Use SOURCE_COLUMN. Minor optimizations. - (pp_file_change): Use MAIN_FILE_P since we cannot checked print.map. + (print): Remove map field. Replace line field to src_line. + (init_pp_output, account_for_newlines, maybe_print_line): Adjust. + (cb_line_change): Use SOURCE_COLUMN. Minor optimizations. + (pp_file_change): Use MAIN_FILE_P since we cannot checked print.map. Use LAST_SOURCE_LINE_LOCATION to "catch up" after #include. - * cpptrad.c (copy_comment): Rename variable. - * c-lex.c (map): Remove static variable, for same reason we removed + * cpptrad.c (copy_comment): Rename variable. + * c-lex.c (map): Remove static variable, for same reason we removed cpp_reader's map field. - (cb_line_change, cb_def_pragma, cb_define, cb_undef): Hence we need + (cb_line_change, cb_def_pragma, cb_define, cb_undef): Hence we need to call linemap_lookup. - (cb_line_change): Token's line field replaced by src_loc. - (fe_file_change): Use MAINFILE_P and LAST_SOURCE_LINE macros. + (cb_line_change): Token's line field replaced by src_loc. + (fe_file_change): Use MAINFILE_P and LAST_SOURCE_LINE macros. Don't save new_map. - * cpphash.h, cpperror.c, cpplib.h: Some renames of fileline to + * cpphash.h, cpperror.c, cpplib.h: Some renames of fileline to source_location. 2004-02-11 Hartmut Penner <hpenner@de.ibm.com> @@ -42383,7 +42383,7 @@ 2004-02-10 Per Bothner <per@bothner.com> - * c-opts.c (c_common_post_options): Don't emit working directory + * c-opts.c (c_common_post_options): Don't emit working directory in cpp output if -P was specified. 2004-02-10 Paolo Bonzini <bonzini@gnu.org> @@ -42857,7 +42857,7 @@ * flow.c (update_life_info): Allocate reg_deaths when called from scheudler. - (attempt_auto_inc): Update life ranges accordingly. + (attempt_auto_inc): Update life ranges accordingly. 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com> @@ -43014,7 +43014,7 @@ 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> - * doc/install.texi: Update automake and autoconf version + * doc/install.texi: Update automake and autoconf version requirements. Note where to find gcj automake version. 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> @@ -43027,13 +43027,13 @@ 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> PR/13485 - Makefile.in (srcextra): Add a level of indirection to ... + Makefile.in (srcextra): Add a level of indirection to ... (gcc.srcextra): ... here. (po-generated): Delete. (po/$(PACKAGE).pot: Use srcextra instead of po-generated. Depend on options.c. (start.encap): Remove superfluous lang.srcextra dependency. - objc/Make-lang.in (po-generated): Delete. + objc/Make-lang.in (po-generated): Delete. 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> @@ -43128,35 +43128,35 @@ 2004-02-04 Per Bothner <per@bothner.com> Partially revert/redo 2003-10-01 change; fix -fworking-directory. - * c-ppoutput.c (pp_dir_change): New function. - * c-common.h (pp_dir_change): New declaration. - * cpplib.h (struct cpp_options): Remove working_directory field. - * cppinit.c (cpp_find_main_file, cpp_push_main_file): Merge back to - (cpp_read_main_file): as before 10-01. Call _cpp_stack_file. + * c-ppoutput.c (pp_dir_change): New function. + * c-common.h (pp_dir_change): New declaration. + * cpplib.h (struct cpp_options): Remove working_directory field. + * cppinit.c (cpp_find_main_file, cpp_push_main_file): Merge back to + (cpp_read_main_file): as before 10-01. Call _cpp_stack_file. Don't handle -fworking_directory here, but in c_common_post_options. (read_original_directory): Don't back up when done. Don't clear no-longer used working_directory flag. - * cpplib.h: Update declarations to match. - * c-lex.c (cb_dir_change): Move to c-opts.c. - (init_c_lex): Don't set dir_change callback here, since we want + * cpplib.h: Update declarations to match. + * c-lex.c (cb_dir_change): Move to c-opts.c. + (init_c_lex): Don't set dir_change callback here, since we want to set it even if flag_preprocess_only. - * c-opts.c (cb_dir_change): Function moved from c-lex.c. - (c_common_post_options): Set dir_change callback. + * c-opts.c (cb_dir_change): Function moved from c-lex.c. + (c_common_post_options): Set dir_change callback. Call pp_dir_change if approporiate. - (finish_options): Don't call cpp_find_main_file here. Hence remove + (finish_options): Don't call cpp_find_main_file here. Hence remove unneeded parameter and result. Do LC_RENAME for <built-in>. - (c_common_post_options): Call cpp_read_main_file here instead. - (c_common_init): Update accordingly. - (push_command_line_include): Don't cpp_push_main_file. + (c_common_post_options): Call cpp_read_main_file here instead. + (c_common_init): Update accordingly. + (push_command_line_include): Don't cpp_push_main_file. Do LC_RENAME rather than LC_LEASE to get back to main file. Compared to pre-10-01 version, inline cpp_rename_to_main_file. - (c_common_parse_file): Call cpp_read_main_file for subsequent main + (c_common_parse_file): Call cpp_read_main_file for subsequent main files, but call finish_options for all files. - * c-opts.c (sanitize_cpp_opts): Don't set cpp_opts->working_directory. - * fix-header.c (read_scan_file): Call cpp_read_main_file instead of + * c-opts.c (sanitize_cpp_opts): Don't set cpp_opts->working_directory. + * fix-header.c (read_scan_file): Call cpp_read_main_file instead of cpp_find_main_file + cpp_push_main_file. - * c-lex.c (fe_file_change): Don't set main_input_filename here. - * opts.c (handle_options): Only set main_input_filename first time. + * c-lex.c (fe_file_change): Don't set main_input_filename here. + * opts.c (handle_options): Only set main_input_filename first time. 2004-02-05 Ian Lance Taylor <ian@wasabisystems.com> @@ -43333,7 +43333,7 @@ 2004-02-04 Jan Hubicka <jh@suse.cz> - * alias.c (find_base_term, get_addr): Do not dereference NULL + * alias.c (find_base_term, get_addr): Do not dereference NULL pointer when all VALUE's locations has been invalidated. (rtx_equal_for_memref_p): Simplify checking of VALUEs. @@ -43358,7 +43358,7 @@ 2004-02-03 Roger Sayle <roger@eyesopen.com> PR target/9348 - * expr.c (expand_expr_real) <MULT_EXPR>: When performing widening + * expr.c (expand_expr_real) <MULT_EXPR>: When performing widening multiplies with a multiplication of the wrong signedness, its the signedness of the multiplication that we've performed that needs to be passed to expand_mult_highpart_adjust. Avoid emitting a nop-move @@ -43690,10 +43690,10 @@ 2003-11-22 Phil Edwards <phil@codesourcery.com> PR target/12476 - * config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use + * config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use 'bx' instead of 'b' to avoid branch range restrictions. Output the thunk immediately before the thunked-to function. - * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit + * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit .thumb_func if a thunk is being generated. Emit .code 16 along with .thumb_func if a thunk is not being generated. @@ -43713,12 +43713,12 @@ 2003-11-05 Phil Edwards <phil@codesourcery.com> - * config/arm/arm.md (insn): Add new V6 instruction names. - (generic_sched): New attr. - * config/arm/arm-generic.md: Use generic_sched here. - * config/arm/arm1026ejs.md: Do not model fetch/issue/decode + * config/arm/arm.md (insn): Add new V6 instruction names. + (generic_sched): New attr. + * config/arm/arm-generic.md: Use generic_sched here. + * config/arm/arm1026ejs.md: Do not model fetch/issue/decode stages of pipeline. Adjust latency counts accordingly. - * config/arm/arm1136jfs.md: New file. + * config/arm/arm1136jfs.md: New file. 2003-10-28 Mark Mitchell <mark@codesourcery.com> @@ -44041,7 +44041,7 @@ delete_output_reload): Likewise. * resource.c (update_live_status, mark_referenced_resources, mark_set_resources, mark_target_live_regs): Likewise. - * rtlanal.c: Include regs.h + * rtlanal.c: Include regs.h (refers_to_regno_p, reg_overlap_mentioned_p, dead_or_set_p, dead_or_set_regno_p, find_regno_note, find_reg_fusage, subreg_regno_offset, subreg_offset_representable_p, @@ -44425,7 +44425,7 @@ (print_statistics, dump_alloc_pool_statistics): New function. * alloc-pool.h (alloc_pool_def): Turn name to be constant. (dump_alloc_pool_statistics): Declare. - * toplev.c (finalize): Dump statistics. + * toplev.c (finalize): Dump statistics. * reload.c (secondary_memlocs_elim_used): New static variable. (get_secondary_mem): Update it. @@ -45062,7 +45062,7 @@ 2004-01-26 Jan Hubicka <jh@suse.cz> - * cselib.c (discard_useless_values): Clear out value pointer pointing + * cselib.c (discard_useless_values): Clear out value pointer pointing to datastructure to be recycled. 2004-01-25 Jan Hubicka <jh@suse.cz> @@ -45206,7 +45206,7 @@ 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> - * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct + * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct memory references if TARGET_EXPOSE_LDP nonzero. 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> @@ -45256,7 +45256,7 @@ 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> - * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref. + * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref. 2004-01-25 Chris Demetriou <cgd@broadcom.com> @@ -45478,7 +45478,7 @@ 2004-01-24 Jan Hubicka <jh@suse.cz> * emit-rtl.c (change_address, adjust_address_1, offset_address, - widen_memory_access): Return early when there is nothing to change. + widen_memory_access): Return early when there is nothing to change. 2004-01-24 Jakub Jelinek <jakub@redhat.com> @@ -45524,7 +45524,7 @@ 2004-01-24 Jan Hubicka <jh@suse.cz> - * cselib.c (remove_useless_values): Do not access discarded values. + * cselib.c (remove_useless_values): Do not access discarded values. 2004-01-24 Joseph S. Myers <jsm@polyomino.org.uk> @@ -45561,7 +45561,7 @@ 2004-01-23 Jan Hubicka <jh@suse.cz> - * emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing + * emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing change. * alloc-pool.c (align_four): Kill. @@ -45648,7 +45648,7 @@ 2004-01-23 Jan Hubicka <jh@suse.cz> - * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets. + * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets. 2004-01-23 J"orn Rennecke <joern.rennecke@superh.com> @@ -45662,7 +45662,7 @@ * basic-block.h (PROP_POSTRELOAD): New macro. (CLEANUP_LOG_LINKS): New. * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to. - * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg. + * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg. * cselib.c (value_pool): New. (new_cselib_val): Use pool. @@ -45682,7 +45682,7 @@ 2004-01-22 Paolo Bonzini <bonzini@gnu.org> PR optimization/13724 - * cse.c (fold_rtx) <SUBREG>: Fold a SUBREG to zero if it + * cse.c (fold_rtx) <SUBREG>: Fold a SUBREG to zero if it represents the zero bits produced by a ZERO_EXTEND operation. 2004-01-22 Roger Sayle <roger@eyesopen.com> @@ -45706,9 +45706,9 @@ 2004-01-22 Jan Hubicka <jh@suse.cz> * cfgcleanup.c (first_pass): New static variable. - (try_forward_edges): Add work limiting check for threading. - (try_crossjump_bb): Add work limiting check for crossjumping. - (try_optimize_cfg): Maintain first pass variable. + (try_forward_edges): Add work limiting check for threading. + (try_crossjump_bb): Add work limiting check for crossjumping. + (try_optimize_cfg): Maintain first pass variable. 2004-01-22 Bob Wilson <bob.wilson@acm.org> @@ -46005,7 +46005,7 @@ 2004-01-20 Jan Hubicka <jh@suse.cz> - * varray.c: Include hashtab.h + * varray.c: Include hashtab.h (varray_descriptor): New structure. (hash_descriptor, eq_descriptor, varray_descriptor, print_statistics): New static functions @@ -46074,35 +46074,35 @@ 2004-01-19 Per Bothner <per@bothner.com> Move cpp_reader's line_maps field to a shared global. - * cpphash.h (cpp_reader): Rename line_maps field to line_table + * cpphash.h (cpp_reader): Rename line_maps field to line_table and change the type to a pointer rather than a struct. - * cppinit.c (cpp_push_main_field): Adjust accordingly. + * cppinit.c (cpp_push_main_field): Adjust accordingly. * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks): Likewise. - * cppfiles.c (validate_pch): Likewise. + * cppfiles.c (validate_pch): Likewise. * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text): Likewise. - * cpperror.c (print_location): Likewise. - * cpplib.h (cpp_create_reader): New line_maps pointer parameter. - * cppinit.c (cpp_create_reader): Handle new parameter. - (cpp_destroy): Don't free line_maps - that's no longer our job. - * input.h (line_table): New variable. - * toplev.c (line_table): Declare variable. - (general_init): Initialize line_table. - * c-opts.c (c_common_init_options): Pass line_table to + * cpperror.c (print_location): Likewise. + * cpplib.h (cpp_create_reader): New line_maps pointer parameter. + * cppinit.c (cpp_create_reader): Handle new parameter. + (cpp_destroy): Don't free line_maps - that's no longer our job. + * input.h (line_table): New variable. + * toplev.c (line_table): Declare variable. + (general_init): Initialize line_table. + * c-opts.c (c_common_init_options): Pass line_table to cpp_create_reader. - * fix-header.c (read_scan_file): New local variable line_table. + * fix-header.c (read_scan_file): New local variable line_table. Initialize, and pass it to cpp_create_reader. - * Makefile.in (LIBS, LIBDEPS): Add libcpp.a. - (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a. + * Makefile.in (LIBS, LIBDEPS): Add libcpp.a. + (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a. 2004-01-19 Per Bothner <per@bothner.com> Implement a cache for linemap_lookup. - * line-map.h (struct_line_maps): Add cache field. - * line-map.c (linemap_init): Zero cache field. - (linemap_add): Set cache field to offset of newly allocated map. - (linemap_lookup): Use and set cache field. + * line-map.h (struct_line_maps): Add cache field. + * line-map.c (linemap_init): Zero cache field. + (linemap_add): Set cache field to offset of newly allocated map. + (linemap_lookup): Use and set cache field. 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org> @@ -46868,7 +46868,7 @@ 2004-01-14 Jan Hubicka <jh@suse.cz> - * alias.c (get_alias_set): Initialize alias set to 0 when subset is + * alias.c (get_alias_set): Initialize alias set to 0 when subset is impossible. 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> @@ -47026,9 +47026,9 @@ 2004-01-13 Jan Hubicka <jh@suse.cz> - * c-decl.c (diagnose_mismatched_decls): Fix warning calls. + * c-decl.c (diagnose_mismatched_decls): Fix warning calls. - * cgraphunit.c (cgraph_optimize_function): Always do + * cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there is always_inline callee. (cgraph_decide_inlining): Fix formating. * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline @@ -47106,7 +47106,7 @@ PR opt/12863 * cfgcleanup.c (label_is_jump_target_p): Move to... * rtlanal.c (label_is_jump_target_p): ... here. - * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru + * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru edges unified with branch edges. 2004-01-12 Richard Earnshaw <rearnsha@arm.com> @@ -47127,7 +47127,7 @@ 2004-01-12 Jan Hubicka <jh@suse.cz> - * alias.c: Invlude varray.h + * alias.c: Invlude varray.h (alias_sets): Turn into varray. (get_alias_set_entry): Use VARRAY; mark inline. (mems_in_disjoint_alias_sets_p): Mark inline. @@ -47140,7 +47140,7 @@ Partial fix for PR opt/10776 II * cselib.c: Include params.h - (cselib_invalidate_mem): Limit amount of nonconflicting memory + (cselib_invalidate_mem): Limit amount of nonconflicting memory locations. * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New. * Makefile.in (cselib.o): Depend on params.h @@ -47268,7 +47268,7 @@ 2004-01-10 Jan Hubicka <jh@suse.cz> PR opt/11635 - * expr.c (expand_expr_real): More curefully expand union casts. + * expr.c (expand_expr_real): More curefully expand union casts. 2004-01-10 Kazu Hirata <kazu@cs.umass.edu> @@ -47434,7 +47434,7 @@ 2004-01-08 Jan Hubicka <jh@suse.cz> - * cgraphunit.c (cgraph_decide_inlining): Fix typo. + * cgraphunit.c (cgraph_decide_inlining): Fix typo. 2004-01-08 Geoffrey Keating <geoffk@apple.com> @@ -47570,7 +47570,7 @@ 2004-01-06 Jan Hubicka <jh@suse.cz> - * invoke.texi: Remove typo in last change. + * invoke.texi: Remove typo in last change. PR target/10301 * config.gcc: Accept opteron and athlon-64 as variants @@ -47621,8 +47621,8 @@ 2004-01-06 Jan Hubicka <jh@suse.cz> - * i386.c (init_cumulative_args): Add handling of MMX_REGPARM. - (function_arg_advance): Do not pass aggregates in SSE; deal handling + * i386.c (init_cumulative_args): Add handling of MMX_REGPARM. + (function_arg_advance): Do not pass aggregates in SSE; deal handling of MMX_REGPARM. (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM; add MMX_REGPARM. @@ -47774,7 +47774,7 @@ (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set reasons. (cgraph_inline_p): Add new argument reason. - * tree-inline.c (expand_call_inline): Update warning. + * tree-inline.c (expand_call_inline): Update warning. 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org> @@ -47828,13 +47828,13 @@ 2004-01-02 Jan Hubicka <jh@suse.cz> - * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls + * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls when there is nothing to inline but warnings are requested. - (cgraph_decide_inlining): Fix memory leak. + (cgraph_decide_inlining): Fix memory leak. 2004-01-02 Jan Hubicka <jh@suse.cz> - * expr.c (store_constructor): Fix pasto in previous patch. + * expr.c (store_constructor): Fix pasto in previous patch. 2004-01-02 Kazu Hirata <kazu@cs.umass.edu> diff --git a/gcc/ChangeLog-2005 b/gcc/ChangeLog-2005 index 243a99e..325812c 100644 --- a/gcc/ChangeLog-2005 +++ b/gcc/ChangeLog-2005 @@ -93,7 +93,7 @@ Create modify_expr_node_pool. (fini_pre): Free modify_expr_node_pool and need_creation array. (execute_pre): Call insert_fake_stores, compute_rvuse, and - realify_fake_stores. + realify_fake_stores. * tree-flow.h (vn_compute): Fix prototype. (vn_add): Ditto. (vn_lookup): Ditto. @@ -106,7 +106,7 @@ 2005-12-30 Gabriel Dos Reis <gdr@integrable-solutions.net> * c-pretty-print.h (struct c_pretty_print_info): Add new member - "constant". + "constant". (pp_constant): New macro. * c-pretty-print.c (pp_c_pretty_printer_init): Set pp->constant. @@ -118,13 +118,13 @@ 2005-12-29 Kenneth Zadeck <zadeck@naturalbridge.com> - * bitmap.c (bitmap_element_free, bitmap_element_link, - bitmap_elt_insert_after, bitmap_and, bitmap_and_compl, - bitmap_and_compl, bitmap_ior, bitmap_ior_into, bitmap_xor, - bitmap_xor_into): Added code to properly maintain the variants - associated with the CURRENT and HEAD fields. - (bitmap_popcount, bitmap_clear_range, bitmap_compl_and_into): New - functions. + * bitmap.c (bitmap_element_free, bitmap_element_link, + bitmap_elt_insert_after, bitmap_and, bitmap_and_compl, + bitmap_and_compl, bitmap_ior, bitmap_ior_into, bitmap_xor, + bitmap_xor_into): Added code to properly maintain the variants + associated with the CURRENT and HEAD fields. + (bitmap_popcount, bitmap_clear_range, bitmap_compl_and_into): New + functions. * bitmap.h: Added defs for bitmap_popcount, bitmap_clear_range, and bitmap_compl_and_into. @@ -195,7 +195,7 @@ 2005-12-28 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/25394 - * fold-const.c (fold_checksum_tree): Guard + * fold-const.c (fold_checksum_tree): Guard portions of checksumming with correct structure checks. 2005-12-27 Kazu Hirata <kazu@codesourcery.com> @@ -209,9 +209,9 @@ * fold-const.c (int_const_binop): Return NULL_TREE when an expression can't be evaluated at compile-time (instead of calling abort). Return NULL_TREE for division (and modulus) by zero. - (const_binop): Return NULL_TREE for floating point operators that + (const_binop): Return NULL_TREE for floating point operators that aren't handled by real_arithmetic. - (fold_binary): Eliminate "wins" variable, and "binary" label, by + (fold_binary): Eliminate "wins" variable, and "binary" label, by folding operators with constant operands early. Assert that operands are non-NULL. @@ -228,7 +228,7 @@ * c-common.c (compound_literal_number): New variable. (set_compound_literal_name): New function. * c-common.h (set_compound_literal_name): Declare. - + 2005-12-26 Kazu Hirata <kazu@codesourcery.com> PR tree-optimization/25125 @@ -274,24 +274,24 @@ 2005-12-23 Paolo Bonzini <bonzini@gnu.org> - * combine.c (simplify_shift_const): Fix typo. Use, whenever + * combine.c (simplify_shift_const): Fix typo. Use, whenever applicable, simplify_const_binary_operation. - (simplify_shift_const): Leave only the fallback - case when no simplification is possible. Extract to... - (simplify_shift_const_1): ... here. Always create a new - RTX instead of substituting. Remove the signed_count variable. - Return NULL_RTX if no substitution is possible. + (simplify_shift_const): Leave only the fallback + case when no simplification is possible. Extract to... + (simplify_shift_const_1): ... here. Always create a new + RTX instead of substituting. Remove the signed_count variable. + Return NULL_RTX if no substitution is possible. - (simplify_and_const_int): Leave only the fallback - case when no simplification is possible. Extract to... - (simplify_and_const_int_1): ... here. Always create a new - RTX instead of substituting. Return NULL_RTX if no substitution - is possible. + (simplify_and_const_int): Leave only the fallback + case when no simplification is possible. Extract to... + (simplify_and_const_int_1): ... here. Always create a new + RTX instead of substituting. Return NULL_RTX if no substitution + is possible. - (force_to_mode, simplify_comparison): Don't pass a non-NULL first - parameter to simplify_and_const_int and simplify_shift_const, - unless it is equal to the expected non-simplified result. + (force_to_mode, simplify_comparison): Don't pass a non-NULL first + parameter to simplify_and_const_int and simplify_shift_const, + unless it is equal to the expected non-simplified result. 2005-12-23 Jakub Jelinek <jakub@redhat.com> @@ -383,7 +383,7 @@ 2005-12-22 Dale Johannesen <dalej@apple.com> - * config/i386/sse.md (sse_movhlps): Reverse operands for + * config/i386/sse.md (sse_movhlps): Reverse operands for 2nd and 3rd alternatives. 2005-12-22 Andrew Pinski <pinskia@physics.uc.edu> @@ -567,7 +567,7 @@ * df.c (df_analyze_1, df_analyze_subcfg, iterative_dataflow): Corrected basic block number calculations for changes in entry and exit numbering. - + 2005-12-19 Zdenek Dvorak <dvorakz@suse.cz> * tree-flow.h (struct var_ann_d): Change type of @@ -621,7 +621,7 @@ * flow.c (update_life_info, count_or_remove_death_notes): Fixed latent bug that could happen if update_life_info was called with a blocks parameter and the call to cleanup_cfg actually deleted one - of those blocks. + of those blocks. 2005-12-19 Zdenek Dvorak <dvorakz@suse.cz> @@ -695,7 +695,7 @@ folding. * dwarf2out.c (base_type_die): Use DW_ATE_decimal_float to describe decimal floating point types. - + 2005-12-18 Ulrich Weigand <uweigand@de.ibm.com> PR rtl-optimization/21041 @@ -779,9 +779,9 @@ 2005-12-18 Dorit Nuzman <dorit@il.ibm.com> - PR tree-optimization/24378 + PR tree-optimization/24378 * tree-vect-transform.c (vect_transform_loop): Create single-predecessor - basic-block after loop-versioning. + basic-block after loop-versioning. 2005-12-18 Jeff Law <law@redhat.com> @@ -800,7 +800,7 @@ * config/m68k/m68k.md (m68k_output_function_prologue): Always call dwarf2out_def_cfa. Only add space for frame pointer to cfa_offset - when frame_pointer_needed. + when frame_pointer_needed. 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net> @@ -896,7 +896,7 @@ * c-format.c (check_format_info_main): Use GGC_NEW. (format_type_warning): Use explicit cast when converting from void *. * c-typeck.c (alloc_tagged_tu_seen_cache): Use XNEW instead of - xmalloc. + xmalloc. (start_init): Likewise. * tree-flow-inline.h (first_referenced_var): Use explicit cast when converting from void *. @@ -1256,7 +1256,7 @@ * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Guard against prev_cache_entry == NULL when moving a cache entry to the head of the list. - + 2005-12-15 Nathan Sidwell <nathan@codesourcery.com> * config/mt/mt.c (mt_override_options): Require lower case @@ -1307,7 +1307,7 @@ Second part of MS1->MT renaming * config/mt/mt.md (doloop_end): Call mt_add_loop. (movqi, movhi): Call mt_set_memflags. - (*movdf_internal): Call mt_split_words. + (*movdf_internal): Call mt_split_words. (reload_inqi, reload_outqi, reload_inhi, reload_outhi): Call mt_set_memflags. (cmpsi): Store to mt_compare_op[01]. @@ -1338,7 +1338,7 @@ (mt_cpu): Renamed. (mt_init_machine_status, mt_override_options, mt_builtin_saveregs, mt_va_start, mt_compute_frame_size, mt_emit_save_restore, - mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p, + mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p, mt_expand_prologue, mt_epilogue_uses, mt_expand_epilogue, mt_expand_eh_return, mt_emit_eh_prologue, mt_handl_interrupt_attribute): Renamed, adjusted. @@ -1617,7 +1617,7 @@ * predict.c (tree_predicted_by_p): Likewise for struct edge_prediction. (tree_predict_edge, combine_predictions_for_bb): Likewise. (remove_predictions_associated_with_edge): Likewise. - + 2005-12-12 Jeff Law <law@redhat.com> * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove @@ -1634,7 +1634,7 @@ * tree-ssa-operands.c (swap_tree_operands): Make external. (get_expr_operands): Stop auto-canonicalization. * tree-ssa-reassoc.c: Rewrite. - (init_optimization_passes): + (init_optimization_passes): * tree-flow.h (swap_tree_operands): Prototype. * Makefile.in (tree-ssa-reassoc.o): Update dependencies. @@ -1679,20 +1679,20 @@ VARRAY_RTVEC, VARRAY_TREE, VARRAY_BITMAP, VARRAY_REG, VARRAY_BB, VARRAY_ELT_LIST, VARRAY_EDGE, VARRAY_TREE_PTR): Adjust definition. (VARRAY_PUSH_CHAR, VARRAY_PUSH_UCHAR, VARRAY_PUSH_SHORT, - VARRAY_PUSH_USHORT, VARRAY_PUSH_INT, VARRAY_PUSH_UINT, - VARRAY_PUSH_LONG, VARRAY_PUSH_ULONG, VARRAY_PUSH_WIDE_INT, - VARRAY_PUSH_UWIDE_INT, VARRAY_PUSH_GENERIC_PTR, - VARRAY_PUSH_GENERIC_PTR_NOGC, VARRAY_PUSH_CHAR_PTR, - VARRAY_PUSH_RTX, VARRAY_PUSH_RTVEC, VARRAY_PUSH_TREE, - VARRAY_PUSH_BITMAP, VARRAY_PUSH_REG, VARRAY_PUSH_BB, + VARRAY_PUSH_USHORT, VARRAY_PUSH_INT, VARRAY_PUSH_UINT, + VARRAY_PUSH_LONG, VARRAY_PUSH_ULONG, VARRAY_PUSH_WIDE_INT, + VARRAY_PUSH_UWIDE_INT, VARRAY_PUSH_GENERIC_PTR, + VARRAY_PUSH_GENERIC_PTR_NOGC, VARRAY_PUSH_CHAR_PTR, + VARRAY_PUSH_RTX, VARRAY_PUSH_RTVEC, VARRAY_PUSH_TREE, + VARRAY_PUSH_BITMAP, VARRAY_PUSH_REG, VARRAY_PUSH_BB, VARRAY_PUSH_EDGE, VARRAY_PUSH_TREE_PTR): Likewise. - (VARRAY_TOP_CHAR, VARRAY_TOP_UCHAR, VARRAY_TOP_SHORT, - VARRAY_TOP_USHORT, VARRAY_TOP_INT, VARRAY_TOP_UINT, - VARRAY_TOP_LONG, VARRAY_TOP_ULONG, VARRAY_TOP_WIDE_INT, - VARRAY_TOP_UWIDE_INT, VARRAY_TOP_GENERIC_PTR, - VARRAY_TOP_GENERIC_PTR_NOGC, VARRAY_TOP_CHAR_PTR, VARRAY_TOP_RTX, - VARRAY_TOP_RTVEC, VARRAY_TOP_TREE, VARRAY_TOP_BITMAP, - VARRAY_TOP_REG, VARRAY_TOP_BB, VARRAY_TOP_EDGE, + (VARRAY_TOP_CHAR, VARRAY_TOP_UCHAR, VARRAY_TOP_SHORT, + VARRAY_TOP_USHORT, VARRAY_TOP_INT, VARRAY_TOP_UINT, + VARRAY_TOP_LONG, VARRAY_TOP_ULONG, VARRAY_TOP_WIDE_INT, + VARRAY_TOP_UWIDE_INT, VARRAY_TOP_GENERIC_PTR, + VARRAY_TOP_GENERIC_PTR_NOGC, VARRAY_TOP_CHAR_PTR, VARRAY_TOP_RTX, + VARRAY_TOP_RTVEC, VARRAY_TOP_TREE, VARRAY_TOP_BITMAP, + VARRAY_TOP_REG, VARRAY_TOP_BB, VARRAY_TOP_EDGE, VARRAY_TOP_TREE_PTR): Likewise. * varray.c (varray_grow): Likewise. (varray_clear): Likewise. @@ -1771,7 +1771,7 @@ (anyoffset_tree): Ditto. (anyoffset_id): Ditto. (do_deref): Take vector of constraints, no return value. - Update to work on vector. + Update to work on vector. (get_constraint_for): Ditto. (get_constraint_for_component_ref): Ditto. (do_structure_copy): Ditto. @@ -1844,7 +1844,7 @@ PR target/25311 * config/s390/s390.c (struct s390_address): New field literal_pool. - (s390_decompose_address): Compute literal_pool field. Do not + (s390_decompose_address): Compute literal_pool field. Do not assume register %r13 is always (and solely) used as pool base. (s390_extra_constraint_str): Use literal_pool field. @@ -1930,7 +1930,7 @@ (setmem_long): Use shift_count_or_setmem_operand instead of setmem_operand. -2005-12-08 Daniel Jacobowitz <dan@codesourcery.com> +2005-12-08 Daniel Jacobowitz <dan@codesourcery.com> Andreas Tobler <a.tobler@schweiz.ch> * Makefile.in (ALL_GTFILES_H): Replace sed statement with more portable @@ -1966,13 +1966,13 @@ * config/s390/s390-protos.h (s390_expand_atomic): Declare. * config/s390/s390.md ("ATOMIC"): New code macro. ("atomic"): Corresponding new code attribute. - ("sync_lock_test_and_set[hq]i", + ("sync_lock_test_and_set[hq]i", "sync_{new_,old_,}{and,ior,xor,add,sub,nand}[hq]i"): New pattern. 2005-12-07 Adrian Straetling <straetling@de.ibm.com> - * config/s390/s390.c (s390_expand_mask_and_shift, - struct alignment_context, init_alignment_context, + * config/s390/s390.c (s390_expand_mask_and_shift, + struct alignment_context, init_alignment_context, s390_expand_cs_hqi): New. * config/s390/s390-protos.h (s390_expand_cs_hqi): Declare. * config/s390/s390.md ("sync_compare_and_swaphi", @@ -2592,11 +2592,11 @@ is set. 2005-12-05 Daniel Berlin <dberlin@dberlin.org> - + * print-tree.c (print_node): Ditto. * tree-dfa.c (add_referenced_var): Tag's don't have DECL_INITIAL. * tree-dump.c (dequeue_and_dump): Check for decl_common structure - before accessing DECL_ARTIFICIAL. + before accessing DECL_ARTIFICIAL. Handle new tag tree codes. * tree-flow-inline.h (clear_call_clobbered): Update for tag changes. @@ -2608,7 +2608,7 @@ * tree-ssa-alias.c (init_alias_info): Update for memory tag changes. (group_aliases): Ditto. (setup_pointers_and_addressables): Ditto. - (is_escape_site): Ditto. + (is_escape_site): Ditto. (may_alias_p): Ditto. (create_tag_raw): New function. (create_memory_tag): Use it. @@ -2640,10 +2640,10 @@ (MTAG_GLOBAL): New macro. (union tree_node): Add memory tag member. * treestruct.def (TS_MEMORY_TAG): New. - + 2005-12-05 Dale Johannesen <dalej@apple.com> - * config/i386/xmmintrin.h (_MM_TRANSPOSE4_PS): Fix to match + * config/i386/xmmintrin.h (_MM_TRANSPOSE4_PS): Fix to match what was approved (PR 24323). 2005-12-05 Gabriel Dos Reis <gdr@integrable-solutions.net> @@ -2671,7 +2671,7 @@ * config/darwin.c (machopic_select_section): It's not defined as weak if it's only marked as weak_import. - + * config/darwin-protos.h (darwin_cxx_determine_class_data_visibility): Prototype. @@ -2942,7 +2942,7 @@ * tree-pretty-print.c (op_symbol): Handle LROTATE_EXPR and RROTATE_EXPR. - + 2005-12-02 Alan Modra <amodra@bigpond.net.au> PR target/21017 @@ -3119,7 +3119,7 @@ 2005-11-30 Dale Johannesen <dalej@apple.com> Andrew Pinski <pinskia@physics.uc.edu> - * combine.c (find_split_point): Sign extend bitmask + * combine.c (find_split_point): Sign extend bitmask when changing bitfield assignment to IOR of AND. 2005-11-30 Nathan Sidwell <nathan@codesourcery.com> @@ -3277,7 +3277,7 @@ 2005-11-28 Nathan Sidwell <nathan@codesourcery.com> PR c++/21166 - * c-decl.c (finish_struct): Only set DECL_PACKED on a field + * c-decl.c (finish_struct): Only set DECL_PACKED on a field when its natural alignment is > BITS_PER_UNIT. * stor-layout.c (finalize_type_size): Revert my patch of 2005-08-08. * c-common.c (handle_packed_attribute): Ignore packing on a field @@ -4319,9 +4319,9 @@ 2005-11-14 Dale Johannesen <dalej@apple.com> - * expmed.c (store_bit_field): Add offset unconditionally for + * expmed.c (store_bit_field): Add offset unconditionally for memory targets. - (extract_bit_field): Don't force extzv or extv operand into + (extract_bit_field): Don't force extzv or extv operand into a register if field is too big. 2005-11-14 Daniel Jacobowitz <dan@codesourcery.com> @@ -5756,7 +5756,7 @@ * tree.c (merge_dllimport_decl_attributes): Check DECL_DLLIMPORT_P instead of attribute. Check for dllexport override. Warn if inconsistent dll linkage. Don't lose old dllimport if decl has - had address referenced. Tweak lookup of dllimport atribute. + had address referenced. Tweak lookup of dllimport atribute. (handle_dll_attribute): Check targetm.valid_dllimport_attribute_p for target specific rules. Don't add dllimport attribute if DECL_DECLARED_INLINE_P. Set DECL_DLLIMPORT_P when adding @@ -6188,7 +6188,7 @@ 2005-10-05 Dale Johannesen <dalej@apple.com> - * convert.c (convert_to_real): Don't convert + * convert.c (convert_to_real): Don't convert (float)floor(double d) to floorf((float)d). 2005-10-05 Daniel Jacobowitz <dan@codesourcery.com> @@ -6518,7 +6518,7 @@ PR 17886 * expmed.c (expand_shift): Move logic to reverse rotation - direction when rotating by constants ... + direction when rotating by constants ... * optabs.c (expand_binop): ... here. * config/i386/i386.md (rotrdi3): Handle 32-bit mode. (ix86_rotrdi3): New pattern. @@ -7724,7 +7724,7 @@ 2005-09-01 Craig Rodrigues <rodrigc@gcc.gnu.org> - * c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls, + * c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls, do not issue warning for a variable definition following a declaration. @@ -7754,11 +7754,11 @@ 2005-09-01 Phil Edwards <phil@codesourcery.com> - * config.gcc (i*86-wrs-vxworks): Update. Split out vxworksae target. - * config/i386/t-vxworks: Update multilibs for VxWorks 6 and RTP mode. - * config/i386/vxworks.h: Likewise. - * config/i386/t-vxworksae: New file, for VxWorks AE. - * config/i386/vxworksae.h: Likewise. + * config.gcc (i*86-wrs-vxworks): Update. Split out vxworksae target. + * config/i386/t-vxworks: Update multilibs for VxWorks 6 and RTP mode. + * config/i386/vxworks.h: Likewise. + * config/i386/t-vxworksae: New file, for VxWorks AE. + * config/i386/vxworksae.h: Likewise. 2005-09-01 Sebastian Pop <pop@cri.ensmp.fr> @@ -7870,7 +7870,7 @@ 2005-08-31 Dale Johannesen <dalej@apple.com> - * loop-iv.c (iv_number_of_iterations): Fix overflow check for + * loop-iv.c (iv_number_of_iterations): Fix overflow check for loops that count down. 2005-08-31 Richard Henderson <rth@redhat.com> @@ -7966,7 +7966,7 @@ 2005-08-28 Dale Johannesen <dalej@apple.com> - * config/i386/i386.c (nocona_cost): Increase MOVE_RATIO. + * config/i386/i386.c (nocona_cost): Increase MOVE_RATIO. 2005-08-28 Andrew Pinski <pinskia@physics.uc.edu> @@ -8198,27 +8198,27 @@ 2005-08-23 Phil Edwards <phil@codesourcery.com> - * config.gcc (*-*-vxworks*): Update tm_file, add extra_options, + * config.gcc (*-*-vxworks*): Update tm_file, add extra_options, remove use_collect2. - (powerpc-wrs-vxworks): Update, split out *-*-vxworksae target. + (powerpc-wrs-vxworks): Update, split out *-*-vxworksae target. - * target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target + * target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target configuration files to override the default value. - * config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO, + * config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO, EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS. - * config/vx-common.h: New file, split out from... - * config/vxworks.h: here. Update for VxWorks 6.x and RTP mode. - * config/vxworksae.h: New file, for VxWorks AE. - * config/vxworks.opt: New file. - * config/vxlib.c: Update for VxWorks 6. + * config/vx-common.h: New file, split out from... + * config/vxworks.h: here. Update for VxWorks 6.x and RTP mode. + * config/vxworksae.h: New file, for VxWorks AE. + * config/vxworks.opt: New file. + * config/vxlib.c: Update for VxWorks 6. - * config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust + * config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust other MULTILIB_* variables appropriately. - (LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm. - * config/rs6000/t-vxworksae: New file, adjust multilibs for AE. - * config/rs6000/vxworks.h: Update for VxWorks 6. - * config/rs6000/vxworksae.h: New file, mostly placeholder for now. + (LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm. + * config/rs6000/t-vxworksae: New file, adjust multilibs for AE. + * config/rs6000/vxworks.h: Update for VxWorks 6. + * config/rs6000/vxworksae.h: New file, mostly placeholder for now. 2005-08-23 Andrew Pinski <pinskia@physics.uc.edu> @@ -10346,7 +10346,7 @@ 2005-07-26 Dale Johannesen <dalej@apple.com> - * postreload-gcse.c (alloc_mem): Start CUID numbering at 1. + * postreload-gcse.c (alloc_mem): Start CUID numbering at 1. 2005-07-26 Mark Mitchell <mark@codesourcery.com> @@ -11352,7 +11352,7 @@ 2005-07-17 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/22531 - * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the + * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the moment. 2005-07-17 Daniel Berlin <dberlin@dberlin.org> @@ -11754,7 +11754,7 @@ 2005-07-12 Dale Johannesen <dalej@apple.com> - * config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. + * config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. 2005-07-12 Andrew Pinski <pinskia@physics.uc.edu> @@ -11763,17 +11763,17 @@ 2005-07-12 Dale Johannesen <dalej@apple.com> - * expr.c (compress_float_constant): Add cost check. - * config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost. + * expr.c (compress_float_constant): Add cost check. + * config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost. 2005-07-12 Dale Johannesen <dalej@apple.com> - * gcc.target/i386/compress-float-sse.c: New. - * gcc.target/i386/compress-float-sse-pic.c: New. - * gcc.target/i386/compress-float-387.c: New. - * gcc.target/i386/compress-float-387-pic.c: New. - * gcc.dg/compress-float-ppc.c: New. - * gcc.dg/compress-float-ppc-pic.c: New. + * gcc.target/i386/compress-float-sse.c: New. + * gcc.target/i386/compress-float-sse-pic.c: New. + * gcc.target/i386/compress-float-387.c: New. + * gcc.target/i386/compress-float-387-pic.c: New. + * gcc.dg/compress-float-ppc.c: New. + * gcc.dg/compress-float-ppc-pic.c: New. 2005-07-12 Eric Christopher <echristo@redhat.com> @@ -12193,7 +12193,7 @@ to check whether we have seen arguments. * c-objc-common.c (c_tree_printer): Reverse order of tests so that flag is checked before field (flag is common, field is not). - * dwarf2out.c (decl_ultimate_origin): Only DECL's with + * dwarf2out.c (decl_ultimate_origin): Only DECL's with TS_DECL_COMMON could have an origin. (add_location_or_const_value_attribute): Don't check section name on non-var/function decls. @@ -12243,7 +12243,7 @@ (tree_node_structure): Update for new structures. (make_node_stat): Don't try to set DECL_IN_SYSTEM_HEADER on decls without the field. - (copy_node_stat): Copy init priority. + (copy_node_stat): Copy init priority. (build_decl_stat): Ditto for visibility. (ts_enum_names): New. (tree_contains_struct_check_failed): New function. @@ -13340,7 +13340,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (check_all_va_list_escapes): Ditto. (execute_optimize_stdarg): Ditto. * tree-tailcall.c (suitable_for_tail_opt_p): Used referenced_var - iterator. + iterator. 2005-06-30 Andrew Pinski <pinskia@physics.uc.edu> @@ -13358,7 +13358,7 @@ Older entries for 2005 can be found in ChangeLog-2005. process_unification_queue, init_topo_info, topo_visit, init_scc_info, free_scc_info, perform_var_substitution, solve_graph): Use unsigned instead of uint. - + 2005-06-30 Jakub Jelinek <jakub@redhat.com> * function.c (gen_stack_protect_test): Add third argument. @@ -13547,9 +13547,9 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-29 Caroline Tice <ctice@apple.com> Fix PR 21956 - * varasm.c (assemble_start_function): Add "L" to beginning of + * varasm.c (assemble_start_function): Add "L" to beginning of local labels, so assembler & linker treat them as local. - + 2005-06-29 Richard Henderson <rth@redhat.com> * config/i386/i386.c (ix86_expand_int_vcond): Remove unsignedp @@ -13575,7 +13575,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * config/i386/emmintrin.h: Likewise. * config/i386/pmmintrin.h: Likewise. * config/i386/xmmintrin.h: Likewise. - + 2005-06-29 Steve Ellcey <sje@cup.hp.com> PR middle-end/21969 @@ -13591,7 +13591,7 @@ Older entries for 2005 can be found in ChangeLog-2005. displacements for addresses containing frame_pointer_rtx or virtual_stack_vars_rtx. (s390_frame_info): Replaced use of STARTING_FRAME_OFFSET. - (s390_initial_elimination_offset): New offset when eliminating the + (s390_initial_elimination_offset): New offset when eliminating the soft frame pointer. * config/s390/s390.h (FRAME_GROWS_DOWNWARD): Defined as 1. (STARTING_FRAME_OFFSET, STACK_DYNAMIC_OFFSET): Definitions changed. @@ -13842,7 +13842,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-28 Andreas Krebbel <krebbel1@de.ibm.com> - * except.c (current_function_has_exception_handlers): Function + * except.c (current_function_has_exception_handlers): Function description added and if statements merged. 2005-06-28 Richard Henderson <rth@redhat.com> @@ -14063,7 +14063,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (assign_parm_adjust_stack_rtl): Zap stack_parm when stack protect wants to copy the parameter into the stack frame. (stack_protect_prologue, stack_protect_epilogue): New. - (expand_function_end): Call stack_protect_epilogue. Do + (expand_function_end): Call stack_protect_epilogue. Do sjlj_emit_function_exit_after after naked_return_label. * function.h (struct function): Add stack_protect_guard. * params.def (PARAM_SSP_BUFFER_SIZE): New. @@ -14317,7 +14317,7 @@ Older entries for 2005 can be found in ChangeLog-2005. CALL_EXPR_HAS_RETURN_SLOT_ADDR based on escape analysis. * tree-pass.h: Declare pass_return_slot. * tree-optimize.c (init_tree_optimization_passes): Add it. - + 2005-06-23 David Edelsohn <edelsohn@gnu.org> PR target/21760 @@ -14328,7 +14328,7 @@ Older entries for 2005 can be found in ChangeLog-2005. patterns test PPC405_ERRATUM77. 2005-06-23 Jan Hubicka <jh@suse.cz> - + * tree-inline.c (copy_body_r): Remap labels correctly. 2005-06-22 Alan Modra <amodra@bigpond.net.au> @@ -14472,7 +14472,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * config/ia64/ia64-modes.def (V4SF): Add. * config/ia64/ia64.c (ia64_legitimate_constant_p): Handle CONST_VECTOR. - * config/ia64/ia64.h (CANNOT_CHANGE_MODE_CLASS): Allow vector to + * config/ia64/ia64.h (CANNOT_CHANGE_MODE_CLASS): Allow vector to integer mode changes in fp regs. * config/ia64/ia64.md (UNSPEC_VECT_EXTR): New. * config/ia64/vect.md (smaxv2sf3, sminv2sf3): Fix typos in names. @@ -14586,7 +14586,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): New tree-codes. * optabs.h (OTI_reduc_smax, OTI_reduc_umax, OTI_reduc_smin, - OTI_reduc_umin, OTI_reduc_plus): New optabs for reduction. + OTI_reduc_umin, OTI_reduc_plus): New optabs for reduction. (reduc_smax_optab, reduc_umax_optab, reduc_smin_optab, reduc_umin_optab, reduc_plus_optab): New optabs for reduction. * expr.c (expand_expr_real_1): Handle new tree-codes. @@ -14595,12 +14595,12 @@ Older entries for 2005 can be found in ChangeLog-2005. new tree-codes. * optabs.c (optab_for_tree_code): Handle new tree-codes. (init_optabs): Initialize new optabs. - * genopinit.c (optabs): Define handlers for new optabs. + * genopinit.c (optabs): Define handlers for new optabs. * tree-vect-analyze.c (vect_analyze_operations): Fail vectorization in case of a phi that is marked as relevant. Call vectorizable_reduction. (vect_mark_relevant): Phis may be marked as relevant. - (vect_mark_stmts_to_be_vectorized): The use corresponding to the + (vect_mark_stmts_to_be_vectorized): The use corresponding to the reduction variable in a reduction stmt does not mark its defining phi as relevant. Update documentation accordingly. (vect_can_advance_ivs_p): Skip reduction phis. @@ -14609,9 +14609,9 @@ Older entries for 2005 can be found in ChangeLog-2005. (vect_create_destination_var): Update call to vect_get_new_vect_var. Handle non-vector argument. (get_initial_def_for_reduction): New function. - (vect_create_epilog_for_reduction): New function. + (vect_create_epilog_for_reduction): New function. (vectorizable_reduction): New function. - (vect_get_new_vect_var): Handle new vect_var_kind. + (vect_get_new_vect_var): Handle new vect_var_kind. (vectorizable_assignment, vectorizable_operation, vectorizable_store, vectorizable_condition): Update call to vect_get_new_vect_var. (vect_transform_stmt): Call vectorizable_reduction. @@ -14628,7 +14628,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree-vect-analyze.c (vect_determine_vectorization_factor): Remove ENABLE_CHECKING around gcc_assert. * tree-vect-transform.c (vect_do_peeling_for_loop_bound, - (vect_do_peeling_for_alignment, vect_transform_loop, + (vect_do_peeling_for_alignment, vect_transform_loop, vect_get_vec_def_for_operand): Likewise. 2005-06-18 Joseph S. Myers <joseph@codesourcery.com> @@ -14679,7 +14679,7 @@ Older entries for 2005 can be found in ChangeLog-2005. altivec_vspltisw_v4sf): Use new 5 bit constant operand predicates. * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Fix signed 5 bit constant check. - + 2005-06-17 Richard Henderson <rth@redhat.com> * local-alloc.c (update_equiv_regs): Update reg_equiv_init @@ -14732,7 +14732,7 @@ Older entries for 2005 can be found in ChangeLog-2005. fold_complex_mult, fold_complex_div_parts, fold_complex_div): Remove. (fold_binary): Don't call them. Don't expand complex comparisons to elementary comparisons. - * tree-complex.c (init_dont_simulate_again): Enhance search for + * tree-complex.c (init_dont_simulate_again): Enhance search for stmts that require decomposition. (complex_visit_stmt): Handle RETURN_EXPR properly. (create_components): Handle no referenced variables properly. @@ -14907,7 +14907,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * config/mips/mips.c (mips_rtx_cost_data): Add cost for 4kc, 4kp, 24k and 24kx. - + 2005-06-15 Richard Sandiford <richard@codesourcery.com> * doc/invoke.texi (-mips16): Fix typo. @@ -14921,12 +14921,12 @@ Older entries for 2005 can be found in ChangeLog-2005. (*zero_extend<SHORT:mode><GPR:mode>2_mips16e): New pattern for matching mips16e zeb/zeh. (*extend<SHORT:mode><GPR:mode>2_mips16e): New pattern for matching - mips16e seb/seh. + mips16e seb/seh. (*extend<SHORT:mode><GPR:mode>2): Disable this pattern for - GENERATE_MIPS16E. + GENERATE_MIPS16E. * doc/invoke.texi (MIPS Options): Add comment to -mips16 indicating MIPS16e ASE is used if targetting for MIPS32 or MIPS64. - + 2005-06-15 Diego Novillo <dnovillo@redhat.com> PR 22018 @@ -15170,14 +15170,14 @@ Older entries for 2005 can be found in ChangeLog-2005. Fix PR tree-optimization/22005 Fix PR tree-optimization/22025 - + * tree-ssa-structalias.c (struct variable_info): Add has_union member. - (create_variable_info_for): Mark variables containing unions. + (create_variable_info_for): Mark variables containing unions. Don't sort the field stack if notokay is true. (find_what_p_points_to): Convert variables containing unions back to their SFT's if necessary. - + 2005-06-11 Daniel Berlin <dberlin@dberlin.org> * lambda-code.c (replace_uses_equiv_to_x_with_y): Verify the step @@ -15197,7 +15197,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * lambda-code.c (replace_uses_equiv_to_x_with_y): Check step and access function against chrec_dont_know. - + 2005-06-10 Daniel Berlin <dberlin@dberlin.org> * lambda-code.c (replace_uses_of_x_with_y): Renamed and rewritten @@ -15206,7 +15206,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (can_put_in_inner_loop): Ditto. (can_convert_to_perfect_nest): Ditto. (perfect_nestify): Create iv with right type. - Rewrite statements in correct order. + Rewrite statements in correct order. 2005-06-10 Keith Besaw <kbesaw@us.ibm.com> @@ -15221,7 +15221,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-10 Dorit Nuzman <dorit@il.ibm.com> * tree-vect-analyze.c (vect_analyze_data_ref_dependence): DRs whose - dependence-distance modulo VF is 0 are recorded in the + dependence-distance modulo VF is 0 are recorded in the SAME_ALIGN_REFs VEC in each DR. (vect_enhance_data_refs_alignment): Avoid 80 column overflow. The alignment information of DRs that are in the SAME_ALIGN_REFs VEC of the @@ -15247,9 +15247,9 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-09 Dale Johannesen <dalej@apple.com> - * config/i386/i386.c (optimization_options): Make -fno-math-errno + * config/i386/i386.c (optimization_options): Make -fno-math-errno the default on Darwin. - * config/rs6000/rs6000.c (optimization_options): Ditto. + * config/rs6000/rs6000.c (optimization_options): Ditto. * doc/invoke.texi (-fno-math-errno): Document. 2005-06-09 Dale Johannesen <dalej@apple.com> @@ -15346,7 +15346,7 @@ Older entries for 2005 can be found in ChangeLog-2005. "invalid_within_doloop". Change return type to "const char *". Update Comment. * targhooks.h (default_insn_valid_within_doloop): Rename into - "default_invalid_within_doloop". + "default_invalid_within_doloop". * targhooks.c (default_insn_valid_within_doloop): Likewise. Update Comment. * target-def.h (TARGET_INSN_VALID_WITHIN_DOLOOP): Rename target hook @@ -15389,9 +15389,9 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree-complex.c (complex_lattice_t): New. (complex_lattice_values, complex_variable_components): New. (some_nonzerop, find_lattice_value, is_complex_reg, - init_parameter_lattice_values, init_dont_simulate_again, + init_parameter_lattice_values, init_dont_simulate_again, complex_visit_stmt, complex_visit_phi, create_components, - update_complex_components, update_parameter_components, + update_complex_components, update_parameter_components, update_phi_components, update_all_vops, expand_complex_move): New. (extract_component): Handle INDIRECT_REF, COMPONENT_REF, ARRAY_REF, SSA_NAME. @@ -15414,11 +15414,11 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-08 Dale Johannesen <dalej@apple.com> - * config/darwin.c (darwin_binds_local_p): New. - * config/darwin-protos.h (darwin_binds_local_p): Declare it. - * config/i386/i386.c (TARGET_BINDS_LOCAL_P): Use it for TARGET_MACHO. - * config/rs6000/rs6000.c (rs6000_binds_local_p): Remove. - (TARGET_BINDS_LOCAL_P): Change it to darwin_binds_local_p. + * config/darwin.c (darwin_binds_local_p): New. + * config/darwin-protos.h (darwin_binds_local_p): Declare it. + * config/i386/i386.c (TARGET_BINDS_LOCAL_P): Use it for TARGET_MACHO. + * config/rs6000/rs6000.c (rs6000_binds_local_p): Remove. + (TARGET_BINDS_LOCAL_P): Change it to darwin_binds_local_p. 2005-06-08 Aldy Hernandez <aldyh@redhat.com> @@ -15493,7 +15493,7 @@ Older entries for 2005 can be found in ChangeLog-2005. From Jie Zhang <jie.zhang@analog.com> * config/bfin/bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the behavior of the native assembler in VDSP. So change accordingly. - + 2005-06-08 Sebastian Pop <pop@cri.ensmp.fr> * tree-data-ref.c (compute_estimated_nb_iterations, @@ -15569,7 +15569,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-07 Dale Johannesen <dalej@apple.com> - * config/i386/i386.md (movqi_1): Fix case where source + * config/i386/i386.md (movqi_1): Fix case where source is memory and destination EDI. 2005-06-08 Kazu Hirata <kazu@codesourcery.com> @@ -15626,7 +15626,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (frndintxf2_floor, *fist<mode>2_floor_1): Change constants in call to assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_FLOOR. Use new ix86_optimize_mode_switching[] array. - (frndintxf2_ceil, *fist<mode>2_ceil_1): Change constants in call to + (frndintxf2_ceil, *fist<mode>2_ceil_1): Change constants in call to assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_CEIL. Use new ix86_optimize_mode_switching[] array. (frndintxf2_trunc): Change constants in call to @@ -15645,7 +15645,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-07 Dale Johannesen <dalej@apple.com> - * tree-nested.c (finalize_nesting_tree_1): Disable + * tree-nested.c (finalize_nesting_tree_1): Disable warn_padded around layout_type call. 2005-06-08 Zdenek Dvorak <dvorakz@suse.cz> @@ -15684,7 +15684,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (evolution_function_is_invariant_rec_p, evolution_function_is_invariant_p): New. (chrec_convert): Use an extra parameter AT_STMT for refining the - information that is passed down to convert_step. Integrate the + information that is passed down to convert_step. Integrate the code that was in count_ev_in_wider_type. * tree-chrec.h (count_ev_in_wider_type): Removed. (chrec_convert): Modify its declaration. @@ -15700,9 +15700,9 @@ Older entries for 2005 can be found in ChangeLog-2005. analyze_scalar_evolution_1): Initialize AT_STMT with the current analyzed statement. (instantiate_parameters_1): Don't know yet how to initialize AT_STMT. - * tree-ssa-loop-ivopts.c (idx_find_step): Update the use of + * tree-ssa-loop-ivopts.c (idx_find_step): Update the use of can_count_iv_in_wider_type to use convert_step. - * tree-ssa-loop-niter.c (can_count_iv_in_wider_type_bound): Move + * tree-ssa-loop-niter.c (can_count_iv_in_wider_type_bound): Move code that is independent of the loop over the known iteration bounds to convert_step_widening, the rest is moved to proved_non_wrapping_p. @@ -15710,9 +15710,9 @@ Older entries for 2005 can be found in ChangeLog-2005. (can_count_iv_in_wider_type): Renamed convert_step. * tree-vrp.c (adjust_range_with_scev): Take an extra AT_STMT parameter. Use scev_probably_wraps_p for computing init_is_max. - (vrp_visit_assignment): Pass the current analyzed statement to + (vrp_visit_assignment): Pass the current analyzed statement to adjust_range_with_scev. - (execute_vrp): Call estimate_numbers_of_iterations for refining the + (execute_vrp): Call estimate_numbers_of_iterations for refining the information provided by scev analyzer. 2005-06-07 Eric Christopher <echristo@redhat.com> @@ -15761,7 +15761,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (struct affine_tree_combination): Moved from tree-ssa-loop-ivopts.c. (create_mem_ref, addr_for_mem_ref, get_address_description, maybe_fold_tmr, multiplier_allowed_in_address_p, - multiply_by_cost): Declare. + multiply_by_cost): Declare. * tree-mudflap.c (mf_xform_derefs_1): Handle TARGET_MEM_REFs. * tree-pretty-print.c (dump_generic_node): Ditto. * tree-ssa-loop-im.c (for_each_index): Ditto. @@ -15850,12 +15850,12 @@ Older entries for 2005 can be found in ChangeLog-2005. * c-lex.c (lex_string): Use XOBFINISH. * collect2.c (extract_string, dump_file): Likewise. * dbxout.c (dbxout_finish_complex_stabs): Likewise. - * gcc.c (init_spec, build_search_list, convert_filename, + * gcc.c (init_spec, build_search_list, convert_filename, set_collect_gcc_options, do_spec_2, do_spec_1, main): Likewise. * genpreds.c (write_predicate_subfunction): Likewise. * genflags.c (main): Likewise. - * read-rtl.c (mode_attr_index, apply_macro_to_string, - join_c_conditions, read_quoted_string, read_braced_string, + * read-rtl.c (mode_attr_index, apply_macro_to_string, + join_c_conditions, read_quoted_string, read_braced_string, read_rtx_1): Likewise. * stringpool.c (ggc_alloc_string): Likewise. * tlink.c (obstack_fgets, recompile_files): Likewise. @@ -16072,18 +16072,18 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-04 Dale Johannesen <dalej@apple.com> * config/rs6000/rs6000.c (no_global_regs_above): New. - (rs6000_emit_prologue): Use it; cosmetic formatting fixes. - (rs6000_emit_epilogue): Use it; cosmetic formatting fixes. + (rs6000_emit_prologue): Use it; cosmetic formatting fixes. + (rs6000_emit_epilogue): Use it; cosmetic formatting fixes. (rs6000_conditional_register_usage): Don't put Darwin PIC register in global_regs. - (rs6000_stack_info): Don't set lr_save_p just because Darwin + (rs6000_stack_info): Don't set lr_save_p just because Darwin PIC reg used. - (rs6000_emit_prologue): Save LR in R0 around Darwin PIC setup, + (rs6000_emit_prologue): Save LR in R0 around Darwin PIC setup, if not done by lr_save_p. - * config/rs6000/rs6000.md (insnv1_internal1): Back out 05-18 patch. + * config/rs6000/rs6000.md (insnv1_internal1): Back out 05-18 patch. Use rotate instead of ashift. - (call_indirect_nonlocal_sysv): Prefer CTR to LR. - (call_value_indirect_nonlocal_sysv): Ditto. + (call_indirect_nonlocal_sysv): Prefer CTR to LR. + (call_value_indirect_nonlocal_sysv): Ditto. 2005-06-04 Jan Hubicka <jh@suse.cz> @@ -16102,7 +16102,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P. * dwarf2out.c (loc_descriptor_from_tree_1): Ditto. - * expr.c (expand_var): Ditto. + * expr.c (expand_var): Ditto. * function.c (gimplify_parameters): Use SET_DECL_VALUE_EXPR too. * gimplify.c (gimplify_decl_expr): Ditto. (gimplify_expr): Ditto. @@ -16158,7 +16158,7 @@ Older entries for 2005 can be found in ChangeLog-2005. implicit == 1. 2005-06-03 Sebastian Pop <pop@cri.ensmp.fr> - + * tree-data-ref.c (compute_self_dependence): New function. (compute_all_dependences): Use it. @@ -16179,7 +16179,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-03 Gabriel Dos Reis <gdr@integrable-solutions.net> * configure.ac: Check declaration for asprintf, needed by - libiberty.h. + libiberty.h. * configure: Regenerate. * config.in: Likewise. @@ -16243,10 +16243,10 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree-complex.c (build_replicated_const, vector_inner_type, vector_last_type, vector_last_nunits, build_word_mode_vector_type, elem_op_func, tree_vec_extract, do_unop, do_binop, do_plus_minus, - do_negate, expand_vector_piecewise, expand_vector_parallel, - expand_vector_addition, expand_vector_operation, - type_for_widest_vector_mode, expand_vector_operations_1, - gate_expand_vector_operations, expand_vector_operations, + do_negate, expand_vector_piecewise, expand_vector_parallel, + expand_vector_addition, expand_vector_operation, + type_for_widest_vector_mode, expand_vector_operations_1, + gate_expand_vector_operations, expand_vector_operations, pass_lower_vector_ssa): Move to tree-vect-generic.c. (tree_lower_complex): Rename from tree_lower_operations. (pass_lower_complex): Rename from pass_pre_expand. @@ -16257,7 +16257,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-02 Richard Henderson <rth@redhat.com> - * modulo-sched.c (doloop_register_get): Protect against + * modulo-sched.c (doloop_register_get): Protect against doloop_end not defined. 2005-06-02 Kazu Hirata <kazu@codesourcery.com> @@ -16407,7 +16407,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree-vectorizer.c (slpeel_update_phis_for_duplicate_loop): Use the phi_result when current_def is not available. (slpeel_update_phi_nodes_for_guard1): Don't fail if current_def is not - available. + available. 2005-06-02 David Edelsohn <edelsohn@gnu.org> @@ -16481,7 +16481,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree-ssa-propagate.h (enum value_range_type): Move from tree-flow.h. (struct value_range_d): Likewise. - Add field 'equiv'. + Add field 'equiv'. (value_range_t): Rename from value_range. * tree-vrp.c (found_in_subgraph): Rename from found. (get_opposite_operand): Remove. @@ -16541,7 +16541,7 @@ Older entries for 2005 can be found in ChangeLog-2005. Call find_assert_locations and process_assert_insertions. (remove_range_assertions): Add more documentation. (vrp_initialize): Change return type to void. - Do not try to guess if running VRP is worth it. + Do not try to guess if running VRP is worth it. (compare_name_with_value): New. (compare_names): New. (vrp_evaluate_conditional): Add argument 'use_equiv_p'. If @@ -16577,7 +16577,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-01 Ramana Radhakrishnan <ramana@codito.com> - * doc/rtl.texi: Remove references to NOTE_INSN_SETJMP. + * doc/rtl.texi: Remove references to NOTE_INSN_SETJMP. Add documentation for REG_SETJMP 2005-06-01 Richard Guenther <rguenth@gcc.gnu.org> @@ -16734,14 +16734,14 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-06-01 Mostafa Hagog <mustafa@il.ibm.com> - * gcse.c (compute_transp, load_killed_in_block): Use + * gcse.c (compute_transp, load_killed_in_block): Use MEM_READONLY_P. 2005-06-01 David.Billinghurst <David.Billinghurst@riotinto.com> PR target/21854 * config/mips/mips-protos.h: Declare mips_use_ins_ext_p - + 2005-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * errors.h (warning, error, fatal, internal_error): Add printf @@ -16764,12 +16764,12 @@ Older entries for 2005 can be found in ChangeLog-2005. tree-ssa-uncprop.c, tree-ssa.c, tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c, vec.c: Don't include errors.h and include toplev.h if necessary. - + * rtl.c, varray.c: If we're compiling as a GENERATOR_FILE, include errors.h otherwise include toplev.h. - + * Makefile.in: Update dependencies. - + 2005-06-01 Danny Smith <dannysmith@users.sourceforge.net> * config/i386/cygming.h (NO_PROFILE_COUNTERS): Define. @@ -16802,7 +16802,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (dump_tree_statistics): Dump debug_expr hashtable stats. * tree.h (DECL_DEBUG_EXPR): Change (SET_DECL_DEBUG_EXPR): Add. - + 2005-06-01 Alan Modra <amodra@bigpond.net.au> * configure.ac: Add --enable-secureplt. @@ -16996,7 +16996,7 @@ Older entries for 2005 can be found in ChangeLog-2005. the destination. This routine is now only called when this is safe. (better_edge): New function split out from convert_regs_1 to determine which of two edges is better to propagate across. - (convert_regs_1): We need only search for a best edge if the + (convert_regs_1): We need only search for a best edge if the stack layout hasn't been defined yet. Use better_edge to help find beste. No longer traverse unnecessary edges. @@ -17111,7 +17111,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-05-28 Jan Hubicka <jh@suse.cz> - * except.c (can_throw_internal_1, can_throw_external_1): Add + * except.c (can_throw_internal_1, can_throw_external_1): Add "is_resx" argument. (can_throw_external, can_throw_internal): Bring into sync wrt dealing resx. @@ -17259,7 +17259,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers for Objective-C++. - + 2005-05-26 Richard Guenther <rguenth@gcc.gnu.org> * tree-ssa-forwprop.c (forward_propagate_addr_expr): @@ -17346,7 +17346,7 @@ Older entries for 2005 can be found in ChangeLog-2005. with "var_type". * opts.c (handle_option, option_enabled): Update after above name change. Cast flag_var before using it. Handle CLVC_STRING. - + * config/alpha/alpha.h (alpha_tls_size): Delete. * config/alpha/alpha.c (alpha_tls_size, alpha_cpu_string) (alpha_tune_string, alpha_tp_string, alpha_fprm_string) @@ -17484,7 +17484,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-05-25 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/21705 - + * tree-ssa-pre.c (in_fre): New static variable. (create_value_expr_from): Recursively value number reference ops in argument lists. @@ -17523,7 +17523,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-05-25 Adrian Straetling <straetling@de.ibm.com> - * loop-doloop.c: Include "target.h". + * loop-doloop.c: Include "target.h". (doloop_valid_p): Move tests to function in targhooks.c. * target.h (struct gcc_target): New target hook "insn_valid_within_doloop". @@ -17557,10 +17557,10 @@ Older entries for 2005 can be found in ChangeLog-2005. (tle_symbolic_operand): Likewise. 2005-05-24 DJ Delorie <dj@redhat.com> - + * common.opt (-Wattributes): New. Default true. * doc/invoke.texi (-Wno-attributes): Document. - + * attribs.c (decl_attributes): Move warning control from if() to warning(OPT_*). * c-common.c (handle_packed_attribute): Likewise. @@ -17664,7 +17664,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * configure.ac: Don't use gcc_AC_C_LONG_LONG. Check for existence of long long and __int64 before determining their size. * aclocal.m4: Delete gcc_AC_C_LONG_LONG. - * configure, config.h.in: Regenerate. + * configure, config.h.in: Regenerate. 2005-05-24 Kelley Cook <kcook@gcc.gnu.org> @@ -17730,13 +17730,13 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-05-24 Nick Clifton <nickc@redhat.com> * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define - __NO_FPRS__ when 'f' class registers will not be available. + __NO_FPRS__ when 'f' class registers will not be available. 2005-05-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - * config/m32r/m32r.c (m32r_expand_block_move): Return 0 if + * config/m32r/m32r.c (m32r_expand_block_move): Return 0 if nothing was done. - * config/m32r/m32r.md (movmemsi): If m32r_expand_block_move did + * config/m32r/m32r.md (movmemsi): If m32r_expand_block_move did nothing then FAIL. * config/m32r/m32r/m32r-protos.h (m32r_expand_block_move): Update prototype. @@ -17856,7 +17856,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-05-19 Richard Henderson <rth@redhat.com> PR target/21390 - * config/alpha/alpha.c (alpha_emit_conditional_branch): Move + * config/alpha/alpha.c (alpha_emit_conditional_branch): Move TFmode code swapping ... (alpha_emit_xfloating_compare): ... here. (alpha_emit_setcc): Update to match. @@ -17919,7 +17919,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * config/rs6000/rs6000.md (insvsi_internal1): Subtract shift from the mask end. - + 2005-05-18 Richard Henderson <rth@redhat.com> * tree-ssa-forwprop.c (cfg_changed): New. @@ -17969,7 +17969,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * rs6000/predicates.md (fix_trunc_dest_operand): New. * rs6000/rs6000.md (fix_truncdfsi2): Use fix_trunc_dest_operand. Check that a memory operand is valid before trying to use it. - + * tree-cfg.c (pass_remove_useless): This pass works on trees. 2005-05-18 Richard Guenther <rguenth@gcc.gnu.org> @@ -18066,7 +18066,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * cfgrtl.c (purge_dead_edges): Don't remove fake edges. 2005-05-18 Daniel Berlin <dberlin@dberlin.org> - + Fix PR tree-optimization/21407 * tree-ssa-operands.c (note_addressable): Change @@ -18142,7 +18142,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (fobjc-sjlj-exceptions): Likewise. * config/rs6000/darwin.h (OFFS_MSGSEND_FAST): Add. (OFFS_ASSIGNIVAR_FAST): Add. - + 2005-05-17 Eric Botcazou <ebotcazou@libertysurf.fr> * config/sparc/sparc.md (movhi): Do not test constness @@ -18304,7 +18304,7 @@ Older entries for 2005 can be found in ChangeLog-2005. appropriate. * unwind-dw2-fde.c (__deregister_frame_info_bases, base_from_object, fde_split, end_fde_sort): Likewise. - * unwind-dw2.c (_Unwind_GetGR, _Unwind_SetGR, execute_stack_op, + * unwind-dw2.c (_Unwind_GetGR, _Unwind_SetGR, execute_stack_op, execute_cfa_program, _Unwind_SetSpColumn, uw_update_context_1, uw_init_context_1): Likewise. * unwind.inc (_Unwind_RaiseException_Phase2, _Unwind_Resume, @@ -18517,7 +18517,7 @@ Older entries for 2005 can be found in ChangeLog-2005. Steven Bosscher <stevenb@suse.de> PR tree-opt/21399 - * tree-eh.c (maybe_clean_or_replace_eh_stmt): Rename from + * tree-eh.c (maybe_clean_or_replace_eh_stmt): Rename from maybe_clean_eh_stmt; take old stmt parameter. Update EH region data structure to match replacement. * tree-flow.h: Update to match. @@ -18528,19 +18528,19 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-05-16 Caroline Tice <ctice@apple.com> - * bb-reorder.c (verify_hot_cold_block_grouping): Replace + * bb-reorder.c (verify_hot_cold_block_grouping): Replace internal_error with gcc_assert. - * dwarf2out.c (dwarf2out_switch_text_section): Likewise. + * dwarf2out.c (dwarf2out_switch_text_section): Likewise. * function.h (struct function): Remove space between "*" and struct field names. - * varasm.c (initialize_cold_section_name): Add gcc_assert; + * varasm.c (initialize_cold_section_name): Add gcc_assert; modify to use alloca. (unlikely_text_section): Add check for flag_function_sections. - (assemble_start_function): Move call to resolve_section, so it + (assemble_start_function): Move call to resolve_section, so it comes before first call to unlikely_text_section. - (assemble_end_function): Add test and call to function_section + (assemble_end_function): Add test and call to function_section if appropriate. - + 2005-05-16 Roger Sayle <roger@eyesopen.com> * c-common.c (c_common_truthvalue_conversion): Use fold_build2 @@ -18571,11 +18571,11 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-05-16 Fariborz Jahanian <fjahanian@apple.com> - * config/rs6000/altivec.md (altivec_vmrghb, altivec_vmrghh, + * config/rs6000/altivec.md (altivec_vmrghb, altivec_vmrghh, altivec_vmrghw, altivec_vmrglb, altivec_vmrglh, altivec_vmrglw): New values for vec_select definitions and bitmask for element selection. - + 2005-05-16 Kazu Hirata <kazu@cs.umass.edu> * dwarf2out.c (used_rtx_varray): Rename to used_rtx_array. @@ -18616,9 +18616,9 @@ Older entries for 2005 can be found in ChangeLog-2005. * config/ia64/ia64.c (ia64_expand_move): Don't add addend twice. 2005-05-15 Daniel Berlin <dberlin@dberlin.org> - + Fix PR tree-optimization/21576 - + * tree-ssa-pre.c (expression_node_pool): New pool. (comparison_node_pool): Ditto. (list_node_pool): Ditto. @@ -19113,7 +19113,7 @@ Older entries for 2005 can be found in ChangeLog-2005. for a 3 operand mul and its bypasses. * config/mips/3000.md (r3k_imul): Add imul3 to reservations. * config/mips/4000.md (r4k_imul): Likewise. - * config/mips/4100.md (r4100_imul_si, r4100_imul_di): Likewise. + * config/mips/4100.md (r4100_imul_si, r4100_imul_di): Likewise. * config/mips/4130.md (vr4130_class, vr4130_mulsi) (vr4130_muldi): Likewise. * config/mips/4300.md (r4300_imul_si, r4300_imul_di): Likewise. @@ -19121,13 +19121,13 @@ Older entries for 2005 can be found in ChangeLog-2005. * config/mips/5000.md (r5k_imul_si, r5k_imul_di): Likewise. * config/mips/5400.md (ir_vr54_imul_si, ir_vr54_imul_di) (ir_vr54_imadd_si): Likewise. - * config/mips/5500.md (ir_vr55_imul_si, ir_vr55_imul_di): Likewise. + * config/mips/5500.md (ir_vr55_imul_si, ir_vr55_imul_di): Likewise. * config/mips/7000.md (rm7_impy_si_mult, rm7_impy_si_mul) (rm7_impy_di): Likewise. - * config/mips/9000.md (rm9k_mulsi, rm9k_muldi): Likewise. + * config/mips/9000.md (rm9k_mulsi, rm9k_muldi): Likewise. * config/mips/generic.md (generic_imul): Likewise. * config/mips/sb1.md (ir_sb1_mulsi, ir_sb1_muldi): Likewise. - * config/mips/sr71k.md (ir_sr70_imul_si, ir_sr70_imul_di): Likewise. + * config/mips/sr71k.md (ir_sr70_imul_si, ir_sr70_imul_di): Likewise. 2005-05-11 J"orn Rennecke <joern.rennecke@st.com> @@ -19465,7 +19465,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * c-tree.h (parser_build_unary_op): New prototype. * c-typeck.c (parser_build_unary_op): New function to construct a unary operation in the C parser. - * c-parser.c (c_parser_unary_expression): Use the new function + * c-parser.c (c_parser_unary_expression): Use the new function parser_build_unary_op when appropriate. 2005-05-09 Mark Mitchell <mark@codesourcery.com> @@ -20845,7 +20845,7 @@ Older entries for 2005 can be found in ChangeLog-2005. ZERO_SSA_OPERANDS. * tree-ssa-sink.c (is_hidden_global_store): Use ZERO_SSA_OPERANDS. (statement_sink_location): Use generic interface. - * tree-ssa.c (verify_ssa): Use %p in fprintf. Use generic interface. + * tree-ssa.c (verify_ssa): Use %p in fprintf. Use generic interface. (delete_tree_ssa): Don't call release_defs. Call release_ssa_name and reset the immediate use link nodes. (stmt_references_memory_p): Use ZERO_SSA_OPERANDS. @@ -21506,12 +21506,12 @@ Older entries for 2005 can be found in ChangeLog-2005. (cold_section_end_label): Remove. (unlikely_section_label): Remove. (unlikely_text_section_name): Remove. - * passes.c (rest_of_handle_final): Remove extra blank line. + * passes.c (rest_of_handle_final): Remove extra blank line. * varasm.c (unlikely_section_label): Remove. (hot_section_label): Remove. (hot_section_end_label): Remove. (cold_section_end_label): Remove. - (unlikely_text_section_name): Remove. + (unlikely_text_section_name): Remove. (initialize_cold_section_name): Modify to call targetm.strip_name_encoding; to store cold section name in current function struct, if it exists; and to only use the decl_section_name @@ -21522,7 +21522,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (in_unlikely_text_section): Likewise. (named_section): Modify to get/put cold section name in current function struct, if there is one. - (function_section): Change 'bool unlikely' to 'int reloc'; check + (function_section): Change 'bool unlikely' to 'int reloc'; check targetm.have_named_sections before calling named_section. (current_function_section): Likewise. (assemble_start_function): Modify to get/put unlikely_text_section_name @@ -21532,7 +21532,7 @@ Older entries for 2005 can be found in ChangeLog-2005. test partitioning flag before writing out hot section label. (assemble_end_function): Test partitioning flag before writing out hot/cold section labels. - (default_section_type_flags_1): Get cold text section name from + (default_section_type_flags_1): Get cold text section name from function struct if there is one; Set flags correctly for cold text section if there is not a current function struct. @@ -22014,7 +22014,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-04-24 Per Bothner <per@bothner.com> - * c-opts.c (finish_options): Make the line-number of the <built-in> + * c-opts.c (finish_options): Make the line-number of the <built-in> location 0, as assumed elsewhere, rather than 1. 2005-04-24 Kazu Hirata <kazu@cs.umass.edu> @@ -22945,7 +22945,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (struct macro_def): New. (struct macro): Add multiple argument values. (macro_expans_end): New. - (push_macro_expansion): Chain on new macro. Process multiple + (push_macro_expansion): Chain on new macro. Process multiple args, create follow on expansion. Return follow on argument. (macro_input): Deal with multiple arguments. @@ -23328,7 +23328,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-04-19 James A. Morrison <phython@gcc.gnu.org> - * fold-const (fold_binary): Fold ~X ^ ~ Y to X ^ Y. + * fold-const (fold_binary): Fold ~X ^ ~ Y to X ^ Y. 2005-04-20 Michael Pogue <michael.pogue@sun.com> Joseph S. Myers <joseph@codesourcery.com> @@ -23399,7 +23399,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-04-18 Christopher Jaillet <christophe.jaillet@wanadoo.fr> - * config/rs6000/rs6000.c (machopic_output_stub): Increase + * config/rs6000/rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. 2005-04-18 Alexandre Oliva <aoliva@redhat.com> @@ -23934,13 +23934,13 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-04-13 Dale Johannesen <dalej@apple.com> - * objc/Make-lang.in (objc-lang.o): Depend on tree-gimple.h. - (objc-act.o): Ditto. - * objc/objc-act.c (objc_gimplify_expr): New. - (objc_get_callee_fndecl): New. - * objc/objc-act.h: Include tree-gimple.h. Declare new functions. - * objc/objc-lang.c (LANG_HOOKS_GIMPLIFY_EXPR): Define. - (LANG_HOOKS_GET_CALLEE_FNDECL): Define. + * objc/Make-lang.in (objc-lang.o): Depend on tree-gimple.h. + (objc-act.o): Ditto. + * objc/objc-act.c (objc_gimplify_expr): New. + (objc_get_callee_fndecl): New. + * objc/objc-act.h: Include tree-gimple.h. Declare new functions. + * objc/objc-lang.c (LANG_HOOKS_GIMPLIFY_EXPR): Define. + (LANG_HOOKS_GET_CALLEE_FNDECL): Define. 2005-04-13 Devang Patel <dpatel@apple.com> @@ -24185,16 +24185,16 @@ Older entries for 2005 can be found in ChangeLog-2005. (insert_section_boundary_note): Revert my patch from April 9. * dbxout.c (dbxout_function_end): Revert my patch from April 9. * dwarf2out.c (COLD_TEXT_SECTION_LABEL): Revert my patch from April 9. - (COLD_END_LABEL): Revert my patch from April 9. - (cold_text_section_label): Revert my patch from April 9. + (COLD_END_LABEL): Revert my patch from April 9. + (cold_text_section_label): Revert my patch from April 9. (cold_end_label): Revert my patch from April 9. (dwarf2out_switch_text_section): Revert my patch from April 9. (output_aranges): Revert my patch from April 9. - (output_ranges): Revert my patch from April 9. + (output_ranges): Revert my patch from April 9. (output_line_info): Revert my patch from April 9. - (add_location_or_const_value_attribute): Revert my patch from April 9. + (add_location_or_const_value_attribute): Revert my patch from April 9. (dwarf2out_var_location): Revert my patch from April 9. - (dwarf2out_init): Revert my patch from April 9. + (dwarf2out_init): Revert my patch from April 9. (dwarf2out_finish): Revert my patch from April 9. * function.h (struct function): Revert my patch from April 9. * opts.c (decode_options): Revert my patch from April 9. @@ -24607,13 +24607,13 @@ Older entries for 2005 can be found in ChangeLog-2005. (cold_section_end_label): Remove. (unlikely_section_label): Remove. (unlikely_text_section_name): Remove. - * passes.c (rest_of_handle_final): Remove code that frees + * passes.c (rest_of_handle_final): Remove code that frees unlikely_text_section_name. * varasm.c (unlikely_section_label): Remove. (hot_section_label): Remove. (hot_section_end_label): Remove. (cold_section_end_label): Remove. - (unlikely_text_section_name): Remove. + (unlikely_text_section_name): Remove. (initialize_cold_section_name): Modify to call targetm.strip_name_encoding; to store cold section name in current function struct, if it exists; and to only use the decl_section_name @@ -24624,7 +24624,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (in_unlikely_text_section): Likewise. (named_section): Modify to get/put cold section name in current function struct, if there is one. - (function_section): Change 'bool unlikely' to 'int reloc'; check + (function_section): Change 'bool unlikely' to 'int reloc'; check targetm.have_named_sections before calling named_section. (current_function_section): Likewise. (assemble_start_function): Modify to get/put unlikely_text_section_name @@ -24634,7 +24634,7 @@ Older entries for 2005 can be found in ChangeLog-2005. test partitioning flag before writing out hot section label. (assemble_end_function): Test partitioning flag before writing out hot/cold section labels. - (default_section_type_flags_1): Modify to use array instead of + (default_section_type_flags_1): Modify to use array instead of char* for unlikely_text_section_name; set flags correctly for cold text section if there is not a current function decl. @@ -25540,7 +25540,7 @@ Older entries for 2005 can be found in ChangeLog-2005. compute_immediate_uses. * tree-optimize.c (execute_todo): Call verify_ssa whenever the ssa_property is available. - (execute_one_pass): Change parameters passed to execute_todo. + (execute_one_pass): Change parameters passed to execute_todo. * tree-outof-ssa.c (rewrite_trees): Don't call modify_stmt. (remove_ssa_form): Call fini_ssa_operands. (insert_backedge_copies): Delete call to modify_stmt. @@ -25659,10 +25659,10 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-04-05 Dale Johannesen <dalej@apple.com> - * doc/invoke.texi (Optimization Options): Remove + * doc/invoke.texi (Optimization Options): Remove duplicate -fcse-follow-jumps. Add -fweb. - (-ftree-lim): Fix spelling (-ftree-loop-im, invariants). - (-fivcanon): Fix spelling (-ftree-loop-ivcanon). + (-ftree-lim): Fix spelling (-ftree-loop-im, invariants). + (-fivcanon): Fix spelling (-ftree-loop-ivcanon). 2005-04-05 Per Bothner <per@bothner.com> @@ -25833,7 +25833,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-04-04 Dale Johannesen <dalej@apple.com> - * ChangeLog: remove reference to ChangeLog.12. + * ChangeLog: remove reference to ChangeLog.12. 2005-04-05 Hans-Peter Nilsson <hp@axis.com> @@ -26620,7 +26620,7 @@ Older entries for 2005 can be found in ChangeLog-2005. profiledbootstrap flags. * bb-reorder.c (errors.h): Add new include. (struct bbro_basic_block_data_def): Add new field, in_trace. - (add_unlikely_executed_notes): Remove function. + (add_unlikely_executed_notes): Remove function. (mark_bb_for_unlikely_executed_section): Remove function. (insert_section_boundary_note): New function. (verify_hot_cold_block_grouping): New function. @@ -26628,7 +26628,7 @@ Older entries for 2005 can be found in ChangeLog-2005. cold blocks to last round. (find_traces): Remove code that added extra round of trace finding when doing partitioning. - (find_traces_1_round) : Remove variable last_round; add code to + (find_traces_1_round) : Remove variable last_round; add code to update new struct field, in_trace; correct trace_length where it was incorrect before (after call to copy_bb); change code that pushed all cold blocks to last round. Instead verify that all blocks going into @@ -26638,19 +26638,19 @@ Older entries for 2005 can be found in ChangeLog-2005. all the traces for blocks in the partition that the first block in the function belongs to; the second pass connnects all the traces containing blocks that belong in the other partition. - (find_rarely_executed_basic_blocks_and_crossing_edges): Remove + (find_rarely_executed_basic_blocks_and_crossing_edges): Remove code that automatically put the first block in a function into the hot partition if the function had any hot blocks. (fix_crossing_unconditional_branches): Check number of succ edges before attempting to get one. - (fix_edges_for_rarely_executed_code): Update comment describing + (fix_edges_for_rarely_executed_code): Update comment describing function. - (reorder_basic_blocks): Add code to initialize new field (in_trace); + (reorder_basic_blocks): Add code to initialize new field (in_trace); remove call to add_unlikely_executed_notes; add call to verify_hot_cold_block_grouping. (duplicate_computed_gotos): Don't change computed goto if it's a crossing edge. - (partition_hot_cold_basic_blocks): Update function comment. + (partition_hot_cold_basic_blocks): Update function comment. * cfgcleanup.c (try_simplify_condjump): Remove redundacy from condition. (try_forward_edges): Likewise. @@ -26661,7 +26661,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * cfglayout.c (update_unlikely_executed_notes): Remove function. (fixup_reorder_chain): Remove code for adding UNLIKELY_EXECUTED_CODE notes to cold bb's; remove call to update_unlikely_executed_notes. - (duplicate_insn_chain): change NOTE_INSN_UNLIKELY_EXECUTED_CODE to + (duplicate_insn_chain): change NOTE_INSN_UNLIKELY_EXECUTED_CODE to NOTE_INSN_SWITCH_TEXT_SECTIONS. * cfglayout.h (scan_ahead_for_unlikely_executed_note): Remove function declaration. @@ -26682,13 +26682,13 @@ Older entries for 2005 can be found in ChangeLog-2005. hot and cold sections. * debug.c (struct do_nothing_debug_hooks): Add do_nothing function for new debug_hooks funciton, switch_text_section.. - * debug.h (struct gcc_debug_hooks): Add new function to debug_hooks, + * debug.h (struct gcc_debug_hooks): Add new function to debug_hooks, switch_text_section. - * dwarf2out.c (struct dw_fde_struct): Add five new fields: + * dwarf2out.c (struct dw_fde_struct): Add five new fields: dw_fde_hot_section_label, dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, dw_fde_unlikely_section_end_label and dw_fde_switched_sections. - (output_call_frame_info): Add test to see if function switches text + (output_call_frame_info): Add test to see if function switches text sections in the middle; if so, use appropriate extra hot and cold section labels to compute size deltas for the hot and cold sections. (dwarf2out_begin_prologue): Add code to initialize new fields in @@ -26716,7 +26716,7 @@ Older entries for 2005 can be found in ChangeLog-2005. function_section into call to current_function_section. * final.c (profile_function): Likewise. (scan_ahead_for_unlikely_executed_note): Remove function. - (final_scan_insn): Remove calls to + (final_scan_insn): Remove calls to scan_ahead_for_unlikely_executed_note, and related code for switching to cold section, except for the single time NOTE_INSN_SWITCH_TEXT_SECTIONS may be encountered; add calls to @@ -26774,13 +26774,13 @@ Older entries for 2005 can be found in ChangeLog-2005. print hot and cold section labels at the start of the function; set first_function_block_is_cold, if appropriate; initialize l ast_text_section; add call to insert_section_boundary_note. - (assemble_end_function): Add code to write out hot and cold section + (assemble_end_function): Add code to write out hot and cold section end labels. *vmsdbgout.c (vmsdbg_debug_hooks): Add do_nothing for new function, switch_text_section. * config/darwin.c (machopic_select_section): Replace incorrect function in base_funs; update reloc for cold sections if necessary. - * config/darwin.h (SECTION_FUNCTION): Add code to update + * config/darwin.h (SECTION_FUNCTION): Add code to update last_text_section if appropriate. (text_unlikely_section): Remove. * config/sparc/sparc.c (sparc_output_deferred_case_vectors): Likewise. @@ -26822,8 +26822,8 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-03-30 Stuart Hastings <stuart@apple.com> Dale Johannesen <dalej@apple.com> - * Makefile.in (print-tree.o): Depend on tree-iterator.h. - * print-tree.c (print_node): Add case STATEMENT_LIST. + * Makefile.in (print-tree.o): Depend on tree-iterator.h. + * print-tree.c (print_node): Add case STATEMENT_LIST. 2005-03-31 Alan Modra <amodra@bigpond.net.au> @@ -26929,7 +26929,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-03-30 Dale Johannesen <dalej@apple.com> PR middle-end/19225 - * calls.c (expand_call): Flush pending deferrals before + * calls.c (expand_call): Flush pending deferrals before throwing call. 2005-03-30 Joseph S. Myers <joseph@codesourcery.com> @@ -26950,7 +26950,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (c_start_case): Initialize it. (do_case): Check it. (c_finish_case): Verify !blocked_stmt_expr. - (c_begin_stmt_expr): Push context on label_context_stack. + (c_begin_stmt_expr): Push context on label_context_stack. Increment blocked_stmt_expr. Mark labels jumped to from outside as undefinable. (c_finish_stmt_expr): December blocked_stmt_expr. Mark labels @@ -27269,7 +27269,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (tree_mod_pow2_value_transform): New. (tree_mod_subtract_transform): New. (tree_find_values_to_profile): Implement. - * profile.c (instrument_values): Free histograms. + * profile.c (instrument_values): Free histograms. (compute_value_histograms): Adjust. Implement tree version. 2005-03-29 Uros Bizjak <uros@kss-loka.si> @@ -28457,7 +28457,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-03-16 Dale Johannesen <dalej@apple.com> - * rtlanal.c (find_first_parameter_load): Rewrite to + * rtlanal.c (find_first_parameter_load): Rewrite to return actual first param load or the call if none, instead of first in block, when not all loads exist. @@ -30101,7 +30101,7 @@ Older entries for 2005 can be found in ChangeLog-2005. (redirect_edges): Clear EDGE_ABNORMAL. If edges were threaded then record that fact for the callers of redirct_edges. (thread_block): If BB has incoming backedges, then call - prune_undesirable_thraed_requests. Note when we are + prune_undesirable_thraed_requests. Note when we are going to have to rediscover loop information. Return a boolean indicating if any jumps were threaded. (thread_through_all_blocks): Bubble up boolean indicating @@ -30548,19 +30548,19 @@ Older entries for 2005 can be found in ChangeLog-2005. Rewrite of 64-bit Darwin structure-by-value pass/return. * config/rs6000/rs6000.h (CUMULATIVE_ARGS): New fields intoffset, use_stack, named. - * config/rs6000/rs6000.c (rs6000_darwin64_function_arg): Remove. - (rs6000_darwin64_record_arg_advance_flush): New. + * config/rs6000/rs6000.c (rs6000_darwin64_function_arg): Remove. + (rs6000_darwin64_record_arg_advance_flush): New. (rs6000_darwin64_record_arg_advance_recurse): New. - (rs6000_darwin64_record_arg_flush): New. - (rs6000_darwin64_record_arg_recurse): New. - (rs6000_darwin64_record_arg): New. - (rs6000_return_in_memory): Remove AGGREGATE_TYPE_P check. - (function_arg_boundary): Handle 128-bit aligned structs. - (function_arg_advance): Rewrite darwin64 struct handling. - (function_arg): Call rs6000_darwin64_record_arg. - (function_arg_partial_nregs): Handle darwin64 structs. - (rs6000_darwin64_function_value): Remove. - (rs6000_function_value): Call rs6000_darwin64_record_arg. + (rs6000_darwin64_record_arg_flush): New. + (rs6000_darwin64_record_arg_recurse): New. + (rs6000_darwin64_record_arg): New. + (rs6000_return_in_memory): Remove AGGREGATE_TYPE_P check. + (function_arg_boundary): Handle 128-bit aligned structs. + (function_arg_advance): Rewrite darwin64 struct handling. + (function_arg): Call rs6000_darwin64_record_arg. + (function_arg_partial_nregs): Handle darwin64 structs. + (rs6000_darwin64_function_value): Remove. + (rs6000_function_value): Call rs6000_darwin64_record_arg. 2005-02-28 Roger Sayle <roger@eyesopen.com> @@ -32004,7 +32004,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-02-11 Dale Johannesen <dalej@apple.com> - * cselib.c (cselib_process_insn): Clear out regs where + * cselib.c (cselib_process_insn): Clear out regs where HARD_REGNO_CALL_PART_CLOBBERED is true at a call. * reload.c (find_equiv_reg): Ditto. @@ -32173,7 +32173,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree.h (fold_strip_sign_ops): Prototype here. * builtins.c (fold_builtin_copysign): Take an additional FNDECL argument. Use fold_strip_sign_ops to simplify the first argument. - (fold_builtin_pow): Use fold_strip_sign_ops to simplify the + (fold_builtin_pow): Use fold_strip_sign_ops to simplify the first argument when the second argument is an even integer constant, but only with -funsafe_math_optimizations. (fold_builtin_1): Update call to fold_builtin_copysign. @@ -32870,7 +32870,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * tree-into-ssa.c (mark_def_sites_global_data): Make KILLS bitmap a sparse bitmap instead of a simple bitmap. - (mark_def_sites_initialize_block): Corresponding changes. + (mark_def_sites_initialize_block): Corresponding changes. (ssa_mark_def_sites_initialize_block): Likewise. (ssa_mark_phi_uses): Likewise. (mark_def_site, ssa_mark_def_sites): Likewise. @@ -32954,8 +32954,8 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-01-31 Dale Johannesen <dalej@apple.com> - * config/rs6000/darwin.md (movsf_low_di): Make work. - (movdf_low_di): Make work. + * config/rs6000/darwin.md (movsf_low_di): Make work. + (movdf_low_di): Make work. 2005-01-31 Dale Johannesen <dalej@apple.com> @@ -33014,7 +33014,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-01-31 Danny Smith <dannysmith@users.sourceforge.net> PR target/19704 - * config/i386/i386.c (ix86_function_ok_for_sibcall): Also check + * config/i386/i386.c (ix86_function_ok_for_sibcall): Also check that dllimport'd functions do not use all call-clobbered registers to pass parameters. @@ -33934,7 +33934,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * real.c (real_arithmetic): Change return type from void to bool to return an indication that the result may be inexact. * real.h (real_arithmeric): Update prototype. - * fold-const.c (const_binop): Don't constant fold floating + * fold-const.c (const_binop): Don't constant fold floating point expressions when the user specifies -frounding-math and the result may depend upon the run-time rounding mode. (fold_convert_const_real_from_real): Clean-up. @@ -34563,7 +34563,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * config.gcc (*-*-openbsd*): Set HAS_LIBC_R for OpenBSD <= 3.2. (i[34567]86-*-openbsd*): Switch to ELF for OpenBSD >= 3.4. - * config/openbsd.h: Fix C++ includes for native configurations. + * config/openbsd.h: Fix C++ includes for native configurations. Add proper OS_CPP_BUILTINS. Fix libspec for recent OpenBSD. Add trampoline support. * config/i386/openbsdelf.h: New. @@ -34725,7 +34725,7 @@ Older entries for 2005 can be found in ChangeLog-2005. 2005-01-13 David O'Brien <obrien@FreeBSD.org> - * config/freebsd-spec.h: Make KSE pthread lib logic the default. + * config/freebsd-spec.h: Make KSE pthread lib logic the default. 2005-01-13 Richard Henderson <rth@redhat.com> @@ -35074,7 +35074,7 @@ Older entries for 2005 can be found in ChangeLog-2005. * config/i386/i386.c (ix86_function_value): Use type_natural_mode. (ix86_return_in_memory): Likewise. - (function_arg_advance): Likewise. Mirror structure in function_arg + (function_arg_advance): Likewise. Mirror structure in function_arg for choosing register to advance. 2005-01-10 Kazu Hirata <kazu@cs.umass.edu> |