aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-12-25* tree-vectorizer.h (VECT_SMODULO): Remove.Kazu Hirata2-3/+4
From-SVN: r120202
2006-12-25Daily bump.GCC Administrator1-1/+1
From-SVN: r120196
2006-12-24pa.c: Remove heap vector type defines.Andreas Tobler2-3/+4
2006-12-24 Andreas Tobler <a.tobler@schweiz.org> * config/pa/pa.c: Remove heap vector type defines. From-SVN: r120191
2006-12-24tree-ssa-operands.h (struct ssa_operand_memory_d): add ssa_operand_mem_size.Jan Hubicka5-25/+49
* tree-ssa-operands.h (struct ssa_operand_memory_d): add ssa_operand_mem_size. * tree-ssa-operands.c (operands_bitmap_obstack): New. (ssa_operand_mem_size): Remove. (init_ssa_operands): Initialize obstack; use it. (fini_ssa_operands): Release obstack. (ssa_operand_alloc): Update. (finalize_ssa_vdefs, finalize_ssa_vuse_ops, copy_virtual_operands, get_mpt_for): Use obstack. * tree-ssa.c (delete_tree_ssa): Call fini_ssa_operands. * tree-outof-ssa.c: (remove_ssa_form): Don't call it here. From-SVN: r120189
2006-12-24tree-mudflap.c (ml_decl_cache_locals, [...]): add newly referenced vars.Jan Hubicka2-0/+12
* tree-mudflap.c (ml_decl_cache_locals, md_build_check_statement_for): add newly referenced vars. From-SVN: r120188
2006-12-24basic-block.h: Remove the prototype for expected_value_to_br_prob.Kazu Hirata3-5/+7
* basic-block.h: Remove the prototype for expected_value_to_br_prob. * rtl.h: Remove the prototypes for expand_builtin_expect_jump and purge_line_number_notes. From-SVN: r120186
2006-12-24Daily bump.GCC Administrator1-1/+1
From-SVN: r120184
2006-12-23tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne, [...]): Use ↵Zdenek Dvorak6-97/+93
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
2006-12-23vec.c: Don't include tree.h.Andrew Pinski3-3/+8
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
2006-12-23Makefile.in (final.o): Depend on vecprim.h.Kazu Hirata4-24/+48
* 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
2006-12-23common.opt (flag_force_mem): Remove.Kazu Hirata4-18/+6
* 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
2006-12-23cgraphunit.c (cgraph_optimize): Fixed obvious thinko in memory consumption ↵Marcin Dalecki2-1/+6
reporting. 2006-12-23 Marcin Dalecki <martin@dalecki.de> * cgraphunit.c (cgraph_optimize): Fixed obvious thinko in memory consumption reporting. From-SVN: r120174
2006-12-23re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags)Manuel López-Ibáñez9-10/+62
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
2006-12-23dwarf2out.c (dbx_reg_number): Do leaf register remapping only if the ↵Eric Botcazou2-14/+18
function is leaf. * dwarf2out.c (dbx_reg_number): Do leaf register remapping only if the function is leaf. (multiple_reg_loc_descriptor): Likewise. From-SVN: r120170
2006-12-23* rtl.h (NOTE_EXPECTED_VALUE): Remove.Kazu Hirata2-1/+4
From-SVN: r120169
2006-12-23toplev.c (dump_memory_report): Break out from...Jan Hubicka9-25/+93
* 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
2006-12-23t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add -mmacosx-version-min=10.4.Mike Stump2-1/+8
* 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
2006-12-23tree-flow-inline.h (var_ann): External variable annotations are unshared too.Jan Hubicka3-4/+15
* 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
2006-12-23Daily bump.GCC Administrator1-1/+1
From-SVN: r120162
2006-12-22basic-block.h: Remove the prototype for commit_edge_insertions_watch_calls.Kazu Hirata3-68/+13
* 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
2006-12-22tree-ssa-loop-niter.c (zero_p, nonzero_p): Removed.Zdenek Dvorak8-114/+126
* 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
2006-12-22re PR fortran/25818 ([4.1 only] Problem with handling optional and entry ↵Paul Thomas8-22/+181
master arguments) 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
2006-12-22re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags)Manuel López-Ibáñez9-9/+39
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
2006-12-22elfos.h, [...]: Fix comment typos.Kazu Hirata5-5/+10
* config/elfos.h, config/spu/spu.c, tree-ssa-operands.h, tree-ssa-ter.c: Fix comment typos. From-SVN: r120149
2006-12-22DR 541, [WP].Paolo Carlini5-5/+61
2006-12-22 Paolo Carlini <pcarlini@suse.de> DR 541, [WP]. * include/std/memory (auto_ptr<void>): Add specialization. * testsuite/tr1/2_general_utilities/memory/shared_ptr/ assign/dr541.cc: New. * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error markers. * docs/html/ext/howto.html: Add an entry for DR 541. From-SVN: r120148
2006-12-22re PR rtl-optimization/29840 (build/genconditions ↵Paolo Bonzini2-1/+12
../../gcc/gcc/config/pa/pa.md > tmp-condmd.c: /bin/sh: 13354 Memory fault(coredump)) 2006-12-22 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/29840 * fwprop.c (forward_propagate_into): Reject artificial uses/defs. (fwprop_init): Add DF_HARD_REGS to df_init call. From-SVN: r120147
2006-12-22* configure: Regenerate with correct autoconf version.Andreas Schwab2-5360/+2621
From-SVN: r120146
2006-12-22re PR c++/30225 (builtins's decl is copied in some cases where it is not ↵Andrew Pinski2-3/+9
needed to be copied) 2006-12-21 Andrew Pinski <pinskia@gmail.com> PR C++/30225 * decl.c (cxx_builtin_function): Only copy the decl if adding it to the std namespace From-SVN: r120145
2006-12-21re PR c++/30168 (C++ constructors can cause invalid gimple to happen with ↵Andrew Pinski4-0/+26
complex typed variables) 2006-12-21 Andrew Pinski <pinskia@gmail.com> PR C++/30168 * optimize.c (update_cloned_parm): Copy DECL_GIMPLE_REG_P also. 2006-12-21 Andrew Pinski <pinskia@gmail.com> PR C++/30168 * g++.dg/opt/complex6.C: New test. From-SVN: r120144
2006-12-21tree-nested.c (create_tmp_var_for): Check for vector type when setting ↵Andrew Pinski2-1/+7
DECL_GIMPLE_REG_P. 2006-12-21 Andrew Pinski <pinskia@gmail.com> * tree-nested.c (create_tmp_var_for): Check for vector type when setting DECL_GIMPLE_REG_P. From-SVN: r120143
2006-12-22configure.in: add AC_SUBST for *_FOR_TARGET.Adam Megacz3-2618/+5383
2006-12-20 Adam Megacz <megacz@cs.berkeley.edu> * configure.in: add AC_SUBST for *_FOR_TARGET. * configure: Regenerate. From-SVN: r120142
2006-12-22trans-array.c (gfc_trans_create_temp_array): When the size is known at ↵Roger Sayle2-15/+35
compile-time, avoid an unnecessary conditional assignment. * trans-array.c (gfc_trans_create_temp_array): When the size is known at compile-time, avoid an unnecessary conditional assignment. (gfc_array_init_size): Likewise. From-SVN: r120141
2006-12-22tree-pretty-print.c (dump_generic_node): Avoid outputing "(void) 0;" as the ↵Roger Sayle2-4/+15
else branch of a COND_EXPR. * tree-pretty-print.c (dump_generic_node): Avoid outputing "(void) 0;" as the else branch of a COND_EXPR. From-SVN: r120140
2006-12-22* cgraphunit.c, varpool.c: Fix comment typos.Kazu Hirata3-2/+4
From-SVN: r120139
2006-12-22cgraphunit.c, [...]: Fix comment typos.Kazu Hirata17-43/+51
* cgraphunit.c, config/i386/i386.c, config/ia64/ia64.c, cse.c, output.h, toplev.c, tree-affine.h, tree-flow.h, tree-ssa-alias.c, tree-ssa-coalesce.c, tree-ssa-live.c, tree-ssa-live.h, tree-ssa-operands.c, tree-ssa-ter.c, tree-vrp.c, varpool.c: Fix comment typos. From-SVN: r120137
2006-12-22* decl.c: Fix a coment typo.Kazu Hirata2-1/+5
From-SVN: r120136
2006-12-22* interface.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r120135
2006-12-22gcc-dg.exp (gcc-dg-prune): Return "::unsupported::memory full" if the linker ↵Ben Elliston3-6/+17
on spu-*-* warns about... * lib/gcc-dg.exp (gcc-dg-prune): Return "::unsupported::memory full" if the linker on spu-*-* warns about exceeding local store. And revert this patch: * lib/gcc-defs.exp (${tool}_check_compile): xfail test cases that fail to link due to relocation overflows on spu-*-*. From-SVN: r120134
2006-12-22Daily bump.GCC Administrator1-1/+1
From-SVN: r120130
2006-12-22spu.h (ARG_POINTER_CFA_OFFSET): Define.Ulrich Weigand3-5/+15
* config/spu/spu.h (ARG_POINTER_CFA_OFFSET): Define. * config/spu/spu.c (spu_expand_prologue): Set RTX_FRAME_RELATED_P for insn setting up the frame pointer. Do not set it for insns setting up scratch registers or storing the backchain. From-SVN: r120125
2006-12-21re PR libgomp/28209 (None of the GOMP_* environment variables are documented)Daniel Franke8-313/+1615
2006-12-21 Daniel Franke <franke.daniel@gmail.com> PR libgomp/28209 * libgomp.texi: New file. * configure.ac: Add --enable-generated-files-in-srcdir option. * Makefile.am: Add info, dvi, pdf, html targets. On request, copy files to srcdir. * Makefile.in: Regenerated. * config.h.in: Regenerated. * testsuite/Makefile.in: Regenerated. * NOTES: Removed. From-SVN: r120122
2006-12-21re PR other/29639 (ext/bitmap_allocator/check_allocate_max_size.cc execution ↵Eric Botcazou3-0/+79
test) PR other/29639 * configure.ac (HAVE_LD_EH_GC_SECTIONS): Check that exception tables are kept for .gnu.linkonce.t sections if COMDAT groups are disabled. * configure: Regenerate. From-SVN: r120121
2006-12-21rtlanal.c (subreg_get_info): Do not make register size computations for mode ↵Joseph Myers2-3/+9
sizes not divisible by the... * rtlanal.c (subreg_get_info): Do not make register size computations for mode sizes not divisible by the number of registers. From-SVN: r120119
2006-12-21re PR fortran/30273 ([4.1 only] gfc_todo: Not Implemented: Unable to ↵Paul Thomas4-0/+46
determine rank of expression) 2006-12-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/30273 * dependency.c (gfc_check_dependency): There is no dependency with EXPR_NULL so always return 0. 2006-12-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/30273 * gfortran.dg/dependency_19.f90: New test. From-SVN: r120117
2006-12-21configure.ac: add $built_gcc_dir to $GCJH and $GCJ when crossbuilding.Adam Megacz3-4/+10
2006-12-20 Adam Megacz <megacz@cs.berkeley.edu> * configure.ac: add $built_gcc_dir to $GCJH and $GCJ when crossbuilding. * configure: Regenerate. From-SVN: r120115
2006-12-21tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted ↵Daniel Berlin2-1/+6
constraints into rhsvar, not lhsvar. 2006-12-21 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted constraints into rhsvar, not lhsvar. From-SVN: r120114
2006-12-21re PR fortran/30202 ([4.1 only] ICE in trans-array.c)Paul Thomas4-3/+31
2006-12-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/30202 * trans-array.c (gfc_conv_function_call): Use parmse.expr for the nullifying of intent(out) arguments rather than the backend declaration. 2006-12-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/30202 * gfortran.dg/alloc_comp_basics_3.f90: New test. From-SVN: r120109
2006-12-21re PR middle-end/30262 (ICE with nested fn accessed var in asm "m" constraint)Jakub Jelinek5-0/+147
PR middle-end/30262 PR middle-end/30263 * tree-nested.c (walk_asm_expr): New function. (walk_stmts): Use it for ASM_EXPR. * gcc.c-torture/execute/20061220-1.c: New test. * gcc.dg/gomp/asm-1.c: New test. From-SVN: r120106
2006-12-21re PR target/30230 (Incorrect ia64 EH info when an EH region ends in the ↵Jakub Jelinek4-8/+119
middle of a bundle) PR target/30230 * config/ia64/ia64.c (ia64_add_bundle_selector_before): New function. (bundling): Use it. * g++.dg/eh/ia64-2.C: New test. From-SVN: r120103
2006-12-21re PR target/28966 (-maltivec -m32 causes the stack to be saved and restored ↵Nathan Sidwell4-8/+34
even though there is no need for it) gcc/ PR target/28966 PR target/29248 * reload1.c (reload): Realign stack after it changes size. gcc/testsuite/ PR target/28966 PR target/29248 * gcc.dg/rs6000-leaf.c: New. From-SVN: r120102