1. 28 Dec, 2006 9 commits
    • * decl2.c: Fix a comment typo. · 44cbf6e4
      From-SVN: r120240
      Kazu Hirata committed
    • cp-tree.h (TYPE_NAMESPACE_SCOPE_P, [...]): Remove. · ca01388d
      	* cp/cp-tree.h (TYPE_NAMESPACE_SCOPE_P,
      	TYPE_FUNCTION_SCOPE_P): Remove.
      
      From-SVN: r120239
      Kazu Hirata committed
    • Makefile.in (OBJS-common): Remove conflict.o · 90a0f159
      	* Makefile.in (OBJS-common): Remove conflict.o
      	(conflict.o): Remove.
      	* basic-block.h: Remove the prototypes for conflict.c.
      	* conflict.c: Remove.
      
      From-SVN: r120238
      Kazu Hirata committed
    • sbitmap.c (BITMAP_DEBUGGING): New macro. · 97508a6b
      2006-12-27  Daniel Berlin  <dberlin@dberlin.org>
      
      	* sbitmap.c (BITMAP_DEBUGGING): New macro.
      	(do_popcount): Ditto.
      	(sbitmap_verify_popcount): New function.
      	(sbitmap_alloc): Set popcount to NULL, remove set of bytes
      	member.
      	(sbitmap_alloc_with_popcount): New function.
      	(sbitmap_resize): Remove uses of bytes member and update
      	popcount.
      	(sbitmap_realloc): Remove uses of bytes member.
      	(sbitmap_copy): Copy popcount.
      	(sbitmap_copy_n): New function.
      	(sbitmap_zero): Update popcount cache.
      	(sbitmap_ones): Ditto.
      	(sbitmap_a_and_b): Ditto.
      	(sbitmap_a_or_b): Ditto.
      	(sbitmap_a_xor_b): Ditto.
      	(sbitmap_union_of_diff_cg): Assert non-existence of popcount
      	cache.
      	(sbitmap_union_of_diff): Ditto.
      	(sbitmap_not): Ditto.
      	(sbitmap_difference): Ditto.
      	(sbitmap_a_and_b_cg): Ditto.
      	(sbitmap_a_xor_b_cg): Ditto.
      	(sbitmap_a_or_b_cg): Ditto.
      	(sbitmap_a_or_b_and_c_cg): Ditto.
      	(sbitmap_a_and_b_or_c_cg): Ditto.
      	(sbitmap_intersection_of_succs): Ditto.
      	(sbitmap_intersection_of_preds): Ditto.
      	(sbitmap_union_of_succs): Ditto.
      	(sbitmap_union_of_preds): Ditto.
      	(popcount_table): New.
      	(sbitmap_elt_popcount): New function.
      	(sbitmap_popcount): Ditto.
      
      	* sbitmap.h (sbitmap): Remove bytes member.
      	Add popcount member.
      	(SET_BIT): Macro turned into function.
      	(RESET_BIT): Ditto.
      	(SBITMAP_SIZE_BYTES): New macro.
      	(sbitmap_free): Free popcount too.
      	(sbitmap_alloc_with_popcount): New prototype.
      	(sbitmap_copy_n): Ditto.
      	(sbitmap_verify_popcount): Ditto.
      
      From-SVN: r120237
      Daniel Berlin committed
    • 2006-12-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> · f1e47eeb
      	Fix typo in ChangeLog.
      
      From-SVN: r120236
      Jerry DeLisle committed
    • re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) · 5fe1967f
      2006-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/30014
      	* gfortran.dg/io_constraints_1.f90: Update test.
      	* gfortran.dg/io_constraints_2.f90: Update test.
      	* gfortran.dg/inquire_iolength.f90: Ne test.
      
      From-SVN: r120235
      Jerry DeLisle committed
    • re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) · cf794652
      2006-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/30014
      	*io/io.h (st_parameter_dt): Change *size and *iolength type to
      	GFC_IO_INT.
      	*io/transfer.c (finalize_transfer): Cast dtp->u.p.size_used to
      	GFC_IO_INT.  (iolength_transfer): Cast size * nelems to GFC_IO_INT.
      
      From-SVN: r120234
      Jerry DeLisle committed
    • re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) · 3415f511
      2006-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/30014
      	*io.c (resolve_tag): Don't issue error for tag_size type not being
      	default integer size for -std=F2003.  Add similar check for
      	tag_iolength.
      	*ioparm.def: Change size and iolength parameters to ioint pointer, which
      	corresponds to GFC_IO_INT on the library side.
      
      From-SVN: r120233
      Jerry DeLisle committed
    • Daily bump. · 770bfcbe
      From-SVN: r120231
      GCC Administrator committed
  2. 27 Dec, 2006 5 commits
  3. 26 Dec, 2006 3 commits
  4. 25 Dec, 2006 2 commits
  5. 24 Dec, 2006 5 commits
  6. 23 Dec, 2006 12 commits
    • tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne, [...]): Use… · 6e42ce54
      tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne, [...]): Use integer_zerop/integer_nonzerop instead of...
      
      	* tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne,
      	assert_no_overflow_lt, assert_loop_rolls_lt,
      	number_of_iterations_lt, number_of_iterations_le,
      	number_of_iterations_cond, number_of_iterations_exit):
      	Use integer_zerop/integer_nonzerop instead of
      	null_or_integer_zerop/nonnull_and_integer_nonzerop.
      	* tree.h (null_or_integer_zerop, nonnull_and_integer_nonzerop):
      	Removed.
      	* tree-scalar-evolution.c (simple_iv): Return zero for step of
      	an invariant.
      	* tree-ssa-loop-ivopts.c (alloc_iv): Do not set step of invariants
      	to zero.
      	(get_iv): Return NULL for non-scalar types.  Use zero as a step
      	of an invariant.
      	(determine_biv_step, find_interesting_uses_op,
      	find_interesting_uses_cond, find_interesting_uses_stmt,
      	add_old_ivs_candidates, determine_use_iv_cost_condition,
      	rewrite_use_compare, remove_unused_ivs):
      	Use integer_zerop instead of null_or_integer_zerop.
      	(struct ifs_ivopts_data): Replace step_p field with step field.
      	(idx_find_step): Use zero as a step of an invariant.  Modify
      	step instead of *step_p.
      	(find_interesting_uses_address): Use zero as a step of an invariant.
      	Use integer_zerop instead of null_or_integer_zerop.
      	(find_interesting_uses_outside): Call find_interesting_uses_op only
      	for phi nodes for real operands.
      	(add_candidate_1): Expect step to be non-NULL.
      	* tree-ssa-loop-prefetch.c (idx_analyze_ref): Expect step to be
      	non-NULL.
      
      From-SVN: r120179
      Zdenek Dvorak committed
    • vec.c: Don't include tree.h. · ebf5f54a
      2006-12-23  Andrew Pinski  <pinskia@gmail.com>
      
              * vec.c: Don't include tree.h.
              * Makefile.in (vec.o): Update dependencies.
              (build/vec.o): Likewise.
      
      From-SVN: r120178
      Andrew Pinski committed
    • Makefile.in (final.o): Depend on vecprim.h. · 294340bf
      	* Makefile.in (final.o): Depend on vecprim.h.
      	* final.c: Include vecprim.h.
      	(insn_addresses_): Change the type to VEC(int,heap)*.
      	* insn-addr.h (INSN_ADDRESSES_DEFN): Remove.
      	(INSN_ADDRESSES, INSN_ADDRESSES_ALLOC, INSN_ADDRESSES_SIZE,
      	INSN_ADDRESSES_NEW): Use VEC instead of VARRAY.
      
      From-SVN: r120177
      Kazu Hirata committed
    • common.opt (flag_force_mem): Remove. · 8aceba8c
      	* common.opt (flag_force_mem): Remove.
      	* doc/invoke.texi (-fforce-mem): Remove.
      	* opts.c (common_handle_option): Don't handle OPT_fforce_mem.
      
      From-SVN: r120176
      Kazu Hirata committed
    • cgraphunit.c (cgraph_optimize): Fixed obvious thinko in memory consumption reporting. · 7fa982e5
      2006-12-23  Marcin Dalecki  <martin@dalecki.de>
      
             * cgraphunit.c (cgraph_optimize): Fixed obvious thinko in memory
             consumption reporting.
      
      From-SVN: r120174
      Marcin Dalecki committed
    • re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags) · cb4af25a
      2006-12-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR middle-end/7651
      	* c.opt (Wmissing-parameter-type): New.
      	* doc/invoke.texi (Wmissing-parameter-type): Document it.
      	(Wextra): Enabled by -Wextra.
      	* c-opts.c (c_common_post_options): Enabled by -Wextra.
      	* c-decl.c (store_parm_decls_oldstyle): Replace Wextra with
      	Wmissing-parameter-type.
      	
      testsuite/
      
      	* gcc.dg/Wmissing-parameter-type.c: New.
      	* gcc.dg/Wmissing-parameter-type-Wextra.c: New.
      	* gcc.dg/Wmissing-parameter-type-no.c: New.
      
      From-SVN: r120173
      Manuel López-Ibáñez committed
    • dwarf2out.c (dbx_reg_number): Do leaf register remapping only if the function is leaf. · ea049a41
      	* dwarf2out.c (dbx_reg_number): Do leaf register remapping
      	only if the function is leaf.
      	(multiple_reg_loc_descriptor): Likewise.
      
      From-SVN: r120170
      Eric Botcazou committed
    • * rtl.h (NOTE_EXPECTED_VALUE): Remove. · 3c1dd4a3
      From-SVN: r120169
      Kazu Hirata committed
    • toplev.c (dump_memory_report): Break out from... · a5573239
      	* toplev.c (dump_memory_report): Break out from...
      	(finalize): Here.
      	* toplev.h (dump_memory_report): Declare.
      	(cmp_statistic): Rename to ...
      	(final_cmp_statistic): ... this one
      	(cmp_statistic): New.
      	(dump_ggc_loc_staitsitcs): New FINAL parpameter.
      	* common.opt (-fpre-ipa-mem-report, -fpost-ipa-mem-report): Declare.
      	* varray.c (dump_varray_staitiscs): Do not segfault when no varray was
      	allocated so far.
      
      From-SVN: r120168
      Jan Hubicka committed
    • t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add -mmacosx-version-min=10.4. · 5b42ae41
              * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add
              -mmacosx-version-min=10.4.
              (crt2.o): Add $(DARWIN_EXTRA_CRT_BUILD_CFLAGS).
      
      From-SVN: r120167
      Mike Stump committed
    • tree-flow-inline.h (var_ann): External variable annotations are unshared too. · 6ac5a246
      	* tree-flow-inline.h (var_ann): External variable annotations are
      	unshared too.
      	(tree_common_ann): Handle correctly unshared variables annotations.
      	* tree-dfa.c (create_var_ann): External variable annotations are
      	unshared too.
      
      From-SVN: r120164
      Jan Hubicka committed
    • Daily bump. · 007948df
      From-SVN: r120162
      GCC Administrator committed
  7. 22 Dec, 2006 4 commits
    • basic-block.h: Remove the prototype for commit_edge_insertions_watch_calls. · 2ac66157
      	* basic-block.h: Remove the prototype for
      	commit_edge_insertions_watch_calls.
       	* cfgrtl.c (commit_edge_insertion): Drop the last argument.
      	Simplify.
      	(commit_edge_insertions_watch_calls): Remove.
      	(commit_edge_insertions): Adjust the call to
      	commit_one_edge_insertion.
      
      From-SVN: r120157
      Kazu Hirata committed
    • tree-ssa-loop-niter.c (zero_p, nonzero_p): Removed. · 6e682d7e
      	* tree-ssa-loop-niter.c (zero_p, nonzero_p): Removed.
      	(number_of_iterations_ne, number_of_iterations_lt_to_ne,
      	assert_no_overflow_lt, assert_loop_rolls_lt,
      	number_of_iterations_lt, number_of_iterations_le,
      	number_of_iterations_cond, tree_simplify_using_condition_1,
      	number_of_iterations_exit, find_loop_niter, loop_niter_by_eval,
      	implies_nonnegative_p, implies_ge_p, record_nonwrapping_iv,
      	idx_infer_loop_bounds, n_of_executions_at_most, scev_probably_wraps_p):
      	Do not use zero_p/nonzero_p.
      	* tree-ssa-loop-manip.c (determine_exit_conditions): Ditto.
      	* tree-ssa-loop-ivopts.c (niter_for_exit, determine_biv_step,
      	find_interesting_uses_op, find_interesting_uses_cond,
      	find_interesting_uses_address, find_interesting_uses_stmt,
      	strip_offset_1, add_candidate_1, add_old_ivs_candidates,
      	difference_cost, determine_use_iv_cost_condition,
      	rewrite_use_compare, remove_unused_ivs): Ditto.
      	* tree-ssa-address.c (tree_mem_ref_addr, create_mem_ref_raw): Ditto.
      	* tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
      	* tree-cfg.c (find_taken_edge_cond_expr): Ditto.
      	* tree.h (zero_p): Declaration removed.
      	(null_or_integer_zerop, nonnull_and_integer_nonzerop): New.
      
      From-SVN: r120156
      Zdenek Dvorak committed
    • re PR fortran/25818 ([4.1 only] Problem with handling optional and entry master arguments) · 54129a64
      2006-12-22  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/25818
      	* trans-array.c (gfc_trans_g77_array): If the variable is
      	optional or not always present, make the statement conditional
      	on presence of the argument.
      	* gfortran.h : Add symbol_attribute not_always_present.
      	* resolve.c (check_argument_lists): New function to check if
      	arguments are not present in all entries.
      
      	PR fortran/30084
      	* module.c (mio_component_ref): Move treatment of unique name
      	variables, during output, to fix_mio_expr.
      	(fix_mio_expr): New function that fixes defective expressions
      	before they are written to the module file.
      	(mio_expr): Call the new function.
      	(resolve_entries): Call check_argument_lists.
      
      2006-12-22  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/25818
      	* gfortran.dg/entry_array_specs_2.f: New test.
      
      	PR fortran/30084
      	* gfortran.dg/nested_modules_6.f90: New test.
      
      From-SVN: r120155
      Paul Thomas committed
    • re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags) · 2b001724
      2006-12-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR middle-end/7651
      	* c.opt (Wclobbered): New.
      	* doc/invoke.texi (Wclobbered): Document it.
      	(Wextra): Enabled by -Wextra.
      	* c-opts.c (c_common_post_options): Enabled by -Wextra.
      	* flow.c (rest_of_handle_life): Replace Wextra with Wclobbered.
      	* function.c (setjmp_vars_warning): Only warn for Wclobbered.
      	(setjmp_args_warning): Likewise.
      
      testsuite/
      
      	* gcc.dg/attr-returns_twice-1.c: Replace Wextra with Wclobbered.
      	* gcc.dg/setjmp-1.c: Add explicit Wclobbered.
      
      From-SVN: r120151
      Manuel López-Ibáñez committed