1. 19 Jul, 2005 4 commits
    • 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 10 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
    • install.texi (*-*-solaris2*): Document recommended version of GNU binutils and… · 2c00bd42
      install.texi (*-*-solaris2*): Document recommended version of GNU binutils and mention GNU linker problem on...
      
      	* doc/install.texi (*-*-solaris2*): Document recommended version
      	of GNU binutils and mention GNU linker problem on Solaris 10.
      
      From-SVN: r102094
      Eric Botcazou committed
    • re PR c/22421 (problems with -Wformat and bit-fields) · 0b359b01
      	PR c/22421
      	* c-decl.c (c_build_bitfield_integer_type): New function.
      	(finish_struct): Call it.
      	* c-pretty-print.c (pp_c_type_specifier): Handle bit-field types.
      
      testsuite:
      	* gcc.dg/format/bitfld-1.c: New test.
      
      From-SVN: r102091
      Joseph Myers committed
    • c-typeck.c (digest_init): Call 'convert_for_assignment' before returning. · 8fcef540
      	* c-typeck.c (digest_init): Call 'convert_for_assignment'
      	before returning.
      
      From-SVN: r102090
      Kaveh R. Ghazi committed
    • call.c (diagnostic_fn_t): New. · 72e78bf3
      	* call.c (diagnostic_fn_t): New.
      	(build_temp, convert_like_real): Use diagnostic_fn_t.
      
      From-SVN: r102089
      Kaveh R. Ghazi committed
    • Makefile.in (WARN_CFLAGS): New. · 87fbb651
      	* Makefile.in (WARN_CFLAGS): New.
      	(.c.o): Add $(WARN_CFLAGS).
      	* aclocal.m4: Include ../config/warnings.m4.
      	* configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
      	ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
      	ACX_PROG_CC_WARNINGS_ARE_ERRORS.
      	* fixopts.c (initialize_opts): Fix old-style definintion.
      
      	* configure: Regenerate.
      
      From-SVN: r102088
      Kaveh R. Ghazi committed
    • cfg.c (update_bb_profile_for_threading): Fix profile updating. · 84fc24e8
      
      	* cfg.c (update_bb_profile_for_threading): Fix profile updating.
      	(scale_bbs_frequencies_int): Watch roundoff errors.
      	* predict.c (return_prediction): Initialize return_stmt.
      
      From-SVN: r102087
      Jan Hubicka committed
    • all files: Update FSF address. · 866c78db
      2005-07-16  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* all files: Update FSF address.
      
      From-SVN: r102084
      Kelley Cook committed