- 22 Dec, 2006 20 commits
-
-
* 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. (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 -
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 -
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 -
* config/elfos.h, config/spu/spu.c, tree-ssa-operands.h, tree-ssa-ter.c: Fix comment typos. From-SVN: r120149
Kazu Hirata committed -
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
Paolo Carlini committed -
re PR rtl-optimization/29840 (build/genconditions ../../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
Paolo Bonzini committed -
From-SVN: r120146
Andreas Schwab committed -
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
Andrew Pinski committed -
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
Andrew Pinski committed -
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
Andrew Pinski committed -
2006-12-20 Adam Megacz <megacz@cs.berkeley.edu> * configure.in: add AC_SUBST for *_FOR_TARGET. * configure: Regenerate. From-SVN: r120142
Adam Megacz committed -
trans-array.c (gfc_trans_create_temp_array): When the size is known at 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
Roger Sayle committed -
tree-pretty-print.c (dump_generic_node): Avoid outputing "(void) 0;" as the 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
Roger Sayle committed -
From-SVN: r120139
Kazu Hirata committed -
* 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
Kazu Hirata committed -
From-SVN: r120136
Kazu Hirata committed -
From-SVN: r120135
Kazu Hirata committed -
gcc-dg.exp (gcc-dg-prune): Return "::unsupported::memory full" if the linker 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
Ben Elliston committed -
From-SVN: r120130
GCC Administrator committed
-
- 21 Dec, 2006 16 commits
-
-
* 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
Ulrich Weigand committed -
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
Daniel Franke committed -
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
Eric Botcazou committed -
rtlanal.c (subreg_get_info): Do not make register size computations for mode 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
Joseph Myers committed -
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
Paul Thomas committed -
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
Adam Megacz committed -
tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted 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
Daniel Berlin committed -
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
Paul Thomas committed -
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
Jakub Jelinek committed -
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
Jakub Jelinek committed -
re PR target/28966 (-maltivec -m32 causes the stack to be saved and restored 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
Nathan Sidwell committed -
simplify-rtx.c (simplify_subreg): Use the correct mode when determining whether a SUBREG of a CONCAT refers to... * simplify-rtx.c (simplify_subreg): Use the correct mode when determining whether a SUBREG of a CONCAT refers to the first or second component. From-SVN: r120101
Roger Sayle committed -
* config/spu/spu.c (spu_builtin_mul_widen_even): Remove unused local variable `d'. From-SVN: r120100
Ben Elliston committed -
PR fortran/25392 fortran/ * trans-stmt.c (gfc_trans_return): Fix comment formatting. * trans-types.c (gfc_sym_type): Don't return early for functions. Remove special handling for -ff2c. (gfc_get_function_type): Add special handling for -ff2c. * trans-decl.c (gfc_create_function_decl): Fix comment formatting. (gfc_get_fake_result_decl): Make sure we get the right type for functions. (gfc_generate_function_code): Convert type of result variable to type of function. testsuite/ * gfortran.dg/f2c_8.f90: New test. From-SVN: r120099
Tobias Schlüter committed -
* cp-demangle.h: Add comment explaining what to do to avoid overrunning string. (d_check_char): New. (d_next_char): Don't advance past trailing '\0'. * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char. (d_nested_name): Likewise. (d_special_name): Likewise. (d_call_offset): Likewise. (d_function_type): Likewise. (d_array_type): Likewise. (d_pointer_to_member_type): Likewise. (d_template_param): Likewise. (d_template_args): Likewise. (d_template_arg): Likewise. (d_expr_primary): Likewise. (d_local_name): Likewise. (d_substitution): Likewise. (d_ctor_dtor_name): Use d_advance rather than d_next_char. * testsuite/test-demangle.c: Include sys/mman.h. (MAP_ANONYMOUS): Define. (protect_end): New. (main): Use protect_end. * testsuite/demangle-expected: Add testcases for overrunning the end of the string. From-SVN: r120097
Geoffrey Keating committed -
From-SVN: r120095
GCC Administrator committed
-
- 20 Dec, 2006 4 commits
-
-
* tree-dfa.c (add_referenced_var): Walk initializers of non-constant/readonly static vars. From-SVN: r120090
Jan Hubicka committed -
* tree-flow-inline.h (gimple_var_anns): New function. (var_ann): Use hashtable for static functions. * tree-dfa.c (create_var_ann): Likewise. * tree-ssa.c (var_ann_eq, var_ann_hash): New functions. (init_tree_ssa): Initialize var anns. (delete_tree_ssa): Delete var anns; also clear out gimple_df. * tree-flow.h (struct static_var_ann_d): New structure. (gimple_df): Add var_anns. From-SVN: r120089
Jan Hubicka committed -
gcc/ 2006-12-20 Carlos O'Donell <carlos@codesourcery.com> PR bootstrap/30242 * gcc/c-incpath.c (add_standard_paths): Only relocate paths that begin with the configured prefix. From-SVN: r120088
Carlos O'Donell committed -
2006-12-20 Bill Wendling <wendling@apple.com> * gcc.dg/asm-b.c: Check for __ppc64__. From-SVN: r120085
Bill Wendling committed
-