1. 19 Jul, 2005 11 commits
    • config/avr/avr.c (legitimate_address_p): Fix debugging print statement to avoid · 89a0b917
      displaying ASCII control characters.
      
      From-SVN: r102161
      Nick Clifton committed
    • var_defs.tree: Remove duplicate variable. · cac78d37
      2005-07-19  James A. Morrrison  <phython@gcc.gnu.org>
      
      	* compile/var_defs.tree: Remove duplicate variable.
      	* compile/var_defs-2.tree: Add duplicate variable test.
      
      From-SVN: r102159
      James A. Morrison committed
    • config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, and *-*-freebsd9. · 0219cf3d
      	* config.gcc: Add support for *-*-freebsd7, *-*-freebsd8,
      	and *-*-freebsd9.
      	* config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto.
      
      From-SVN: r102157
      Gerald Pfeifer committed
    • InputContext.java (clinit): Initialize line, im. · 75f81220
      2005-07-19  Matthias Klose  <doko@debian.org>
      
              * classpath/java/awt/im/InputContext.java (clinit): Initialize
                line, im.
      
      From-SVN: r102156
      Matthias Klose committed
    • re PR c++/22476 (-Wmissing-format-attribute should pick out function pointer candidates also) · 7876a414
      	PR c/22476
      	* c-common.c (check_function_arguments): Call
      	'check_function_format' if either -Wformat or
      	-Wmissing-format-attribute are specified.
      	* c-format.c (check_function_format): Check -Wformat before
      	calling 'check_format_info'.
      	* c-opts.c (c_common_post_options): Don't warn for
      	-Wmissing-format-attribute without -Wformat.
      	* c-typeck.c (convert_for_assignment): Detect additional cases for
      	-Wmissing-format-attribute.
      	* doc/invoke.texi (-Wmissing-format-attribute): Document new
      	behavior.
      
      testsuite:
      	* gcc.dg/format/miss-1.c, gcc.dg/format/miss-2.c: Don't
      	specify -Wformat for these tests.
      	* gcc.dg/format/miss-3.c, gcc.dg/format/miss-4.c,
      	gcc.dg/format/miss-5.c, gcc.dg/format/miss-6.c: New.
      	* gcc.dg/format/opt-6.c: Delete.
      
      From-SVN: r102155
      Kaveh R. Ghazi committed
    • i386.md (lrint<mode>2): Use temporary instead of clobbering non-existent memory. · 98ea7437
      2005-07-19  Richard Guenther  <rguenther@suse.de>
      
      	* config/i386/i386.md (lrint<mode>2): Use temporary
      	instead of clobbering non-existent memory.
      
      From-SVN: r102154
      Richard Guenther committed
    • bt-load.c (link_btr_uses): Fix uninitialised warnings. · dfea6c85
      	* bt-load.c (link_btr_uses): Fix uninitialised warnings.
      	* cfganal.c (find_edge_index): Ditto.
      	* combine.c (combine_instructions): Ditto.
      	* ddg.c (create_scc): Ditto.
      	(find_successors): Ditto.
      	(find_predecessors): Ditto.
      	(find_nodes_on_paths): Ditto.
      	(longest_simple_path): Ditto.
      	* flow.c (update_life_info): Ditto.
      	(count_or_remove_death_notes): Ditto.
      	(clear_log_links): Ditto.
      	* modulo-sched.c (generate_reg_moves): Ditto.
      	(find_max_asap): Ditto.
      	(find_max_hv_min_mob): Ditto.
      	(find_max_dv_min_mob): Ditto.
      	* sbitmap.c (sbitmap_first_set_bit): Ditto.
      	* sched-rgn.c (extract_edgelst): Ditto.
      	* tree-into-ssa.c (prepare_names_to_update): Ditto.
      	(dump_update_ssa): Ditto.
      	(ssa_names_to_replace) Ditto.
      	(switch_virtuals_to_full_rewrite): Ditto.
      	(update_ssa): Ditto.
      	* tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto.
      
      From-SVN: r102151
      Ben Elliston committed
    • re PR tree-optimization/22483 (ICE : tree check: expected ssa_name, have… · b9d33488
      re PR tree-optimization/22483 (ICE : tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466)
      
      2005-07-18  Daniel Berlin  <dberlin@dberlin.org>
      
      	Fix PR tree-optimization/22483
      
      	* tree-complex.c (create_components): Use
      	safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE.
      	* tree-flow-inline.h (fill_referenced_var_vec): New function.
      	* tree-flow.h (safe_referenced_var_iterator): New structure.
      	(FOR_EACH_REFERENCED_VAR_SAFE): New macro.
      	* tree-ssa-alias.c (setup_pointers_and_addressables): Use
      	safe_referenced_var iterator.
      	(add_type_alias): Ditto.
      
      From-SVN: r102150
      Daniel Berlin committed
    • loop-init.c (rest_of_handle_loop2): Remove. · 9fa26457
      	* loop-init.c (rest_of_handle_loop2): Remove.
      	(rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants,
      	rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions.
      	(pass_rtl_loop_init, pass_rtl_loop_done,
      	pass_rtl_move_loop_invariants, pass_rtl_unswitch,
      	pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes.
      	* tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done,
      	pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init,
      	pass_tree_loop_done, and pass_tree_unswitch.
      	(gate_loop): Rename to gate_tree_loop.
      	* passes.c (init_optimization_passes): Update for renamed tree
      	loop passes.  Add the new loop2 passes as subpasses of loop2.
      	* tree-pass.h: Add extern declarations for the new loop2 subpasses.
      	Update for the renamed tree loop passes.
      
      From-SVN: r102149
      Steven Bosscher committed
    • Daily bump. · 067b9122
      [[Split portion of a mixed commit.]]
      
      From-SVN: r102146.2
      GCC Administrator committed
    • sra-2.c: Pass --param sra-max-structure-size. · e2f93417
      2005-07-18  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * gcc.dg/tree-ssa/sra-2.c: Pass --param sra-max-structure-size.
              * gcc.dg/tree-ssa/sra-3.c: Likewise.
      
      From-SVN: r102144
      Andrew Pinski committed
  2. 18 Jul, 2005 11 commits
  3. 17 Jul, 2005 15 commits
  4. 16 Jul, 2005 3 commits
    • tree-ssa-structalias.c (need_to_solve): Need to check for preds, too. · b6e0bdbd
      2005-07-16  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-structalias.c (need_to_solve): Need to check for preds,
      	too.
      
      From-SVN: r102100
      Daniel Berlin committed
    • Makefile.in: Added rules for ipa-pure-const.c... · ea900239
      2005-07-16  Danny Berlin <dberlin@dberlin.org>
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c,
      	ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c,
      	ipa-type-escape.h, tree-promote-statics.c
      	* ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c,
      	ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
      	tree-promote-statics.c: new files.
      	* alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p,
      	nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1,
      	int nonlocal_set_p, mark_constant_function): Deleted.
      	(rest_of_handle_cfg): Removed call to mark_constant_function.
              (nonoverlapping_component_refs_p): Added calls to support
      	type based aliasing.
              * tree-ssa-alias.c (may_alias_p,
      	compute_flow_insensitive_aliasing): Ditto.
      	* calls.c (flags_from_decl_or_type): Removed reference to
      	cgraph_rtl_info.
      	(flags_from_decl_or_type): Support ECF_POINTER_NO_CAPTURE attribute.
      	* c-common.c (handle_pointer_no_capture_attribute): New function
      	and added pointer_no_capture attribute.
            	* c-typeck.c (convert_arguments): Make builtins tolerant of having
      	too many arguments.  This is necessary for Spec 2000.
      	* cgraph.h (const_function, pure_function): Removed.
      	* common.opt: Added "fipa-pure-const", "fipa-reference",
      	"fipa-type-escape", and "ftree-promote-static".
      	* opts.c: Ditto.
      	* passes.c: Added ipa and tree-promote-statics passes.
      	* timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE,
      	TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS.
      	* tree.h: Support ECF_POINTER_NO_CAPTURE attribute.
      	* tree-dfa.c (referenced_var_lookup_if_exists): New function.
      	* tree-flow.h: Added exposed sra calls and addition of
      	reference_vars_info field for FUNCTION_DECLS.
      	* tree-pass.h: Added passes.
      	* tree-sra.c: (sra_init_cache): New function.
      	(sra_insert_before, sra_insert_after) Made public.
      	(type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p
      	and made public.
      	* tree-ssa-alias.c (dump_alias_stats): Added stats for type based
      	aliasing. (may_alias_p): Added code to use type escape analysis to
      	improve alias sets.
      	* tree-ssa-operands.c (add_call_clobber_ops): Added parameter and
      	code to prune clobbers of static variables based on information
      	produced in ipa-reference pass.  Changed call clobbering so that
      	statics are not marked as clobbered if the call does not clobber
      	them.
      
      
      2005-07-16  Danny Berlin <dberlin@dberlin.org>
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* gcc.dg/tree-ssa/ssa-dce-2.c: Changed dg-options to run at -O2
      	since pure const detection cannot run at -O1 in c compiler.
      	* gcc.dg/tree-ssa/20030714-1.c Changed scanning patterns because we
      	can now optimize this case properly.
      	* gcc.dg/tree-ssa/sra-2.c: Changed to -O3 and removed xfail
      	because we now pass.
      	* gcc.dg/vect/vect-92.c: Removed out of bounds array access.
      
      Co-Authored-By: Kenneth Zadeck <zadeck@naturalbridge.com>
      
      From-SVN: r102098
      Daniel Berlin committed
    • makemake.tcl (emit_package_rule): Emit command to create target directory. · 8f59c51b
      	* scripts/makemake.tcl (emit_package_rule): Emit command to create
      	target directory.
      	* Makefile.am (%.lo): Don't create it here.
      	* sources.am, Makefile.in: Regenerated.
      
      From-SVN: r102096
      Andreas Schwab committed