rguenth [Fri, 17 Jul 2009 16:17:39 +0000 (17 16:17 +0000)]
2009-07-17 Richard Guenther <rguenther@suse.de>
Merge from trunk r149721.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@149751 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Thu, 4 Jun 2009 10:01:26 +0000 (4 10:01 +0000)]
2009-06-03 Richard Guenther <rguenther@suse.de>
Merge from trunk r148125.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@148164 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Sat, 11 Apr 2009 17:50:29 +0000 (11 17:50 +0000)]
2009-04-11 Richard Guenther <rguenther@suse.de>
* c-common.c (c_fully_fold_internal): Handle *NV_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@145960 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Sat, 11 Apr 2009 17:38:38 +0000 (11 17:38 +0000)]
2009-04-11 Richard Guenther <rguenther@suse.de>
Merge from trunk r145957.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@145959 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Fri, 3 Apr 2009 18:09:56 +0000 (3 18:09 +0000)]
2009-04-03 Richard Guenther <rguenther@suse.de>
Merge from trunk r145507.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@145512 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Wed, 18 Mar 2009 16:25:37 +0000 (18 16:25 +0000)]
2009-03-18 Richard Guenther <rguenther@suse.de>
* fold-const.c (extract_muldiv_1): Retain NV arithmetic
variants in some cases.
* c-common.c (pointer_int_sum): Remove re-association
optimization. Do the multiplication with the element sign
with the same sign as the offset expression.
* tree-ssa-forwprop.c
(forward_propagate_addr_into_variable_array_index): Look
through widening conversions.
* gcc.dg/fold-extendmult-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144936 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Wed, 18 Mar 2009 11:58:07 +0000 (18 11:58 +0000)]
2009-03-18 Richard Guenther <rguenther@suse.de>
* fold-const.c (extract_muldiv_1): Handle *NV_EXPR where
appropriate. Remove TYPE_OVERFLOW_* checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144931 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Mon, 16 Mar 2009 14:10:37 +0000 (16 14:10 +0000)]
2009-03-16 Richard Guenther <rguenther@suse.de>
* fold-const.c (fold_binary): Fold (T1)X +- (T1)Y to (T1)(X +- Y)
if the cast is only a sign change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144882 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Thu, 12 Mar 2009 14:57:12 +0000 (12 14:57 +0000)]
2009-03-12 Richard Guenther <rguenther@suse.de>
* fold-const.c (split_tree): Handle *NV_EXPR.
(associate_trees): Likewise.
(fold_binary): Re-enable reassociation. Remove restriction
for reassociating signed integers or pointers.
2009-03-12 Richard Guenther <rguenther@suse.de>
* fold-const.c (fold_plusminus_mult_expr): Handle *NV_EXPR.
(fold_binary): Complete PLUS_EXPR, MINUS_EXPR and MULT_EXPR
auditing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144813 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Thu, 12 Mar 2009 10:03:26 +0000 (12 10:03 +0000)]
2009-03-12 Richard Guenther <rguenther@suse.de>
* fold-const.c (may_negate_without_overflow_p): Unsigned zero
can be negated without overflow.
(negate_expr_p): Handle *NV_EXPR.
(fold_negate_expr): Likewise.
(fold_binary): Avoid loosing non-overflow flag during
A - B -> A + (-B) folding with constant B.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144808 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Tue, 10 Mar 2009 17:00:38 +0000 (10 17:00 +0000)]
2009-03-10 Richard Guenther <rguenther@suse.de>
* fold-const.c (fold_comparison): Adjust address comparison
folding.
* tree.h (strip_nv): Also strip POINTER_PLUSNV_EXPR.
* tree-ssa-dom.c (initialize_hash_element): Treat *NV_EXPR the
same as non-NV_EXPR variants for value-numbering.
(simple_iv_increment_p): Handle *NV_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144753 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Tue, 10 Mar 2009 14:56:37 +0000 (10 14:56 +0000)]
2009-03-10 Richard Guenther <rguenther@suse.de>
* builtins.c (get_pointer_alignment): Handle POINTER_PLUSNV_EXPR.
(get_memory_rtx): Likewise.
* expr.c (string_constant): Likewise.
* tree-object-size.c (plus_stmt_object_size): Likewise.
(collect_object_sizes_for): Likewise.
(check_for_plus_in_loops_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144748 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Mon, 9 Mar 2009 15:55:56 +0000 (9 15:55 +0000)]
2009-03-09 Richard Guenther <rguenther@suse.de>
* fold-const.c (try_move_mult_to_index): Only move idx * size
in &x[i] + idx * size into the index if the multiplication
does not overflow.
(fold_unary): Always fold (T1)(X p+ Y) to ((T1)X p+ Y).
Simplify that folding.
Fold abs(NEGATENV_EXPR) the same as abs(NEGATE_EXPR).
(fold_binary): Audit all pointer-plus folding. Preserve
non-wrapping variants where that is easily correct.
(tree_unary_nonnegative_warnv_p): Remove dead TYPE_OVERFLOW_UNDEFINED
case. Handle CONVERT_EXPR the same as NOP_EXPR.
(tree_binary_nonnegative_warnv_p): POINTER_PLUS*_EXPR are not
handled at all. Handle PLUSNV_EXPR and MULTNV_EXPR specially.
* tree-ssa-ccp.c (likely_value): Handle *NV_EXPR.
(ccp_fold): Also fold POINTER_PLUSNV_EXPR.
(maybe_fold_stmt_indirect): Also fold POINTER_PLUSNV_EXPR.
(fold_stmt_r): Likewise.
* tree-ssa-forwprop.c (forward_propagate_addr_into_variable_arr):
Only fold non-overflowed multiplications.
(forward_propagate_addr_expr_1): Handle POINTER_PLUSNV_EXPR.
* tree-vrp.c (supports_overflow_infinity): The assert that the
type needs overflow infinity is bogus now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144729 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Mon, 9 Mar 2009 13:21:40 +0000 (9 13:21 +0000)]
2009-03-09 Richard Guenther <rguenther@suse.de>
* tree-ssa-loop-niter.c (split_to_var_and_offset): Handle *NV_EXPR.
(expand_simple_operations): Likewise.
(derive_constant_upper_bound_ops): Likewise.
* tree-scalar-evolution.c (add_to_evolution): Handle MINUSNV_EXPR.
(follow_ssa_edge_binary): Handle *NV_EXPR.
(follow_ssa_edge_expr): Likewise.
(interpret_rhs_expr): Likewise.
(instantiate_scev_1): Likewise.
* tree-chrec.c (chrec_fold_poly_cst): Likewise.
(chrec_fold_plus_poly_poly): Likewise.
(chrec_fold_plus_1): Likewise.
(operator_is_linear): Likewise.
* tree-vectorizer.c (reduction_code_for_scalar_code):
Handle PLUSNV_EXPR.
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Handle
PLUSNV_EXPR.
(vect_recog_widen_mult_pattern): Handle MULTNV_EXPR.
(vect_recog_widen_sum_pattern): Handle PLUSNV_EXPR.
* tree-vect-transform.c (get_initial_def_for_reduction): Handle
PLUSNV_EXPR.
(vect_min_worthwhile_factor): Handle *NV_EXPR.
(vectorizable_operation): Treat POINTER_PLUSNV_EXPR as PLUS_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144725 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Mon, 9 Mar 2009 09:43:05 +0000 (9 09:43 +0000)]
2009-03-09 Richard Guenther <rguenther@suse.de>
* tree.h (int_const_binop_1): Declare.
* fold-const.c (add_double_with_sign): Fix unsigned overflow
detection.
(int_const_binop_1): Export. Fix unsigned overflow detection.
* stor-layout.c (layout_type): Drop TREE_OVERFLOW on TYPE_SIZE
if appropriate.
* tree-vrp.c (integral_range_p): New helper.
(simplify_unary_for_nonwrapping): Likewise.
(simplify_binary_for_nonwrapping): Likewise.
(simplify_stmt_using_ranges): Call them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144722 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Fri, 6 Mar 2009 16:05:33 +0000 (6 16:05 +0000)]
2009-03-06 Richard Guenther <rguenther@suse.de>
* fold-const.c (maybe_canonicalize_comparison_1): Canonicalize
A +- CST code arg1 if A +- CST does not overflow.
(fold_comparison): Transform X +- C1 CMP Y +- C2 to
X CMP Y +- C2 +- C1 if X +- C1 does not overflow and C2 +- C1
is less in magnitude than C2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144676 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Fri, 6 Mar 2009 15:05:43 +0000 (6 15:05 +0000)]
2009-03-06 Richard Guenther <rguenther@suse.de>
* fold-const.c (int_const_binop_1): New worker function split
out from ...
(int_const_binop): ... here.
(fold_comparison): Adjust X +- C1 CMP C2 to X CMP C2 +- C1 folding
to always apply if X +- C1 does not overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144675 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Fri, 6 Mar 2009 14:49:53 +0000 (6 14:49 +0000)]
2009-03-06 Richard Guenther <rguenther@suse.de>
* tree.def (PLUSNV_EXPR, MINUSNV_EXPR, MULTNV_EXPR,
POINTER_PLUSNV_EXPR, NEGATENV_EXPR): Fix tree code name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144674 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Fri, 6 Mar 2009 14:18:27 +0000 (6 14:18 +0000)]
2009-03-06 Richard Guenther <rguenther@suse.de>
* c-typeck.c (build_unary_op): Treat flag_strict_overflow the
same as flag_wrapv.
(build_binary_op): Likewise.
cp/
* typeck.c (cp_build_binary_op): Deal with *NV_EXPR. Build
*NV_EXPR variants for signed arithmetic with undefined overflow.
(cp_build_unary_op): Likewise.
* semantics.c (handle_omp_for_class_iterator): Deal with *NV_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144673 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Fri, 6 Mar 2009 12:12:36 +0000 (6 12:12 +0000)]
2009-03-06 Richard Guenther <rguenther@suse.de>
* fold-const.c (negate_expr_p): Only do not negate integer
constants if overflows on the type trap and the negation
might overflow. Remove superfluous TYPE_OVERFLOW_WRAPS checks.
Do not negate divisions on integral types.
(fold_negate_expr): Do not negate divisions on integral types.
(build_range_check): Remove superfluous TYPE_OVERFLOW_WRAPS checks.
(extract_muldiv_1): Likewise.
(fold_unary): Likewise for (T1)(X * Y) to (T1)X * (T1)Y folding.
Adjust folding to also apply to MULTNV_EXPR if NV is dropped
on the result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144669 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Fri, 6 Mar 2009 09:37:18 +0000 (6 09:37 +0000)]
2009-03-06 Richard Guenther <rguenther@suse.de>
* fold-const.c (fold_binary): Enable pointer re-association
for POINTER_PLUSNV_EXPR.
* gimplify.c (gimplify_expr): Handle POINTER_PLUSNV_EXPR.
(gimplify_omp_for): Handle *NV_EXPR.
* convert.c (convert_to_integer): Handle PLUSNV_EXPR and
MINUSNV_EXPR in narrowing properly. Remove use of
TYPE_OVERFLOW_WRAPS.
* omp-low.c (extract_omp_for_data): Handle *NV_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144665 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Thu, 5 Mar 2009 15:14:33 +0000 (5 15:14 +0000)]
2009-03-05 Richard Guenther <rguenther@suse.de>
* c-common.c (pointer_int_sum): Use *NV_EXPR codes for
pointer arithmetic.
* c-typeck.c (build_unary_op): Use NEGATENV_EXPR if
signed arithmetic has undefined overflow.
(build_binary_op): Handle *NV_EXPR for recursive invocations.
If signed arithmetic has undefined overflow use
PLUSNV_EXPR, MINUSNV_EXPR and MULTNV_EXPR.
* c-omp.c (c_finish_omp_for): Deal with *NV_EXPR for increments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144648 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Thu, 5 Mar 2009 15:13:43 +0000 (5 15:13 +0000)]
Missing piece for last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144647 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Thu, 5 Mar 2009 15:12:50 +0000 (5 15:12 +0000)]
2009-03-05 Richard Guenther <rguenther@suse.de>
* expr.c (expand_expr_real_1): Handle POINTER_PLUSNV_EXPR,
PLUSNV_EXPR, MINUSNV_EXPR, MULTNV_EXPR and NEGATENV_EXPR.
* flags.h (TYPE_OVERFLOW_WRAPS): Define to always true.
(TYPE_OVERFLOW_UNDEFINED): Define to always false.
(POINTER_TYPE_OVERFLOW_UNDEFINED): Define to always false.
* optabs.c (optab_for_tree_code): Handle *NV_EXPR.
* tree-cfg.c (verify_gimple_assign_unary): Likewise.
(verify_gimple_assign_binary): Likewise.
* tree-inline.c (estimate_operator_cost): Likewise.
* tree-pretty-print.c (dump_generic_node): Likewise.
(op_code_prio): Likewise.
(op_symbol_code): Likewise.
* tree-ssa-structalias.c (find_func_aliases): Handle
POINTER_PLUSNV_EXPR.
* tree.c (build2_stat): Adjust checks.
(associative_tree_code): Add PLUSNV_EXPR and MULTNV_EXPR.
(commutative_tree_code): Add PLUSNV_EXPR and MULTNV_EXPR.
(undefined_overflow_used_p_1): New function.
* tree.def (PLUSNV_EXPR, MINUSNV_EXPR, MULTNV_EXPR,
POINTER_PLUSNV_EXPR, NEGATENV_EXPR): New tree codes for
operations that are known to not overflow.
* tree.h (NEGATE_EXPR_CODE_P, PLUS_EXPR_CODE_P,
POINTER_PLUS_EXPR_CODE_P, MINUS_EXPR_CODE_P, MULT_EXPR_CODE_P): New.
(NEGATE_EXPR_P, PLUS_EXPR_P, POINTER_PLUS_EXPR_P, MINUS_EXPR_P,
MULT_EXPR_P): Likewise.
(strip_nv): New inline function.
(undefined_overflow_used_p_1): Declare.
(undefined_overflow_used_p): New inline function.
* varasm.c (narrowing_initializer_constant_valid_p): Handle
MINUSNV_EXPR.
(initializer_constant_valid_p): Handle *NV_EXPR.
* omp-low.c (omp_reduction_init): Likewise.
* gimple-pretty-print.c (dump_unary_rhs): Handle NEGATENV_EXPR.
* fold-const.c (fold_negate_expr): Likewise.
(int_const_binop): Handle *NV_EXPR.
(fold_unary): Handle NEGATENV_EXPR.
(tree_binary_nonzero_warnv_p): The type argument is unused.
(fold_binary): Handle simple cases for POINTER_PLUSNV_EXPR,
PLUSNV_EXPR, MINUSNV_EXPR and MULTNV_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144646 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Thu, 5 Mar 2009 14:56:39 +0000 (5 14:56 +0000)]
Branch no-undefined-overflow from trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144644 138bc75d-0d04-0410-961f-82ee72b054a4
jason [Thu, 5 Mar 2009 14:10:07 +0000 (5 14:10 +0000)]
PR c++/38908
* class.c (is_really_empty_class): New fn.
* cp-tree.h: Declare it.
* cp-objcp-common.c (cp_expr_size): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144643 138bc75d-0d04-0410-961f-82ee72b054a4
jakub [Thu, 5 Mar 2009 12:50:36 +0000 (5 12:50 +0000)]
PR debug/39379
* tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
with blocks containing IMPORTED_DECLs in BLOCK_VARS.
* g++.dg/debug/dwarf2/imported-module-3.C: New test.
* g++.dg/debug/dwarf2/imported-module-4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144640 138bc75d-0d04-0410-961f-82ee72b054a4
uros [Thu, 5 Mar 2009 07:34:16 +0000 (5 07:34 +0000)]
* config/i386/i386.md (R8_REG, R9_REG): New constants.
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
constants instead of magic numbers.
(HARD_REGNO_CALLER_SAVE_MODE): Ditto.
(QI_REG_P): Ditto.
* config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
(x86_64_ms_abi_int_parameter_registers): Ditto.
(x86_64_int_return_registers): Ditto.
(ix86_expand_call): Ditto for clobbered_registers array.
(ix86_hard_regno_mode_ok): Ditto.
(x86_extended_QIreg_mentioned_p): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144638 138bc75d-0d04-0410-961f-82ee72b054a4
jason [Thu, 5 Mar 2009 02:49:13 +0000 (5 02:49 +0000)]
PR c++/13549
* semantics.c (perform_koenig_lookup): Handle TEMPLATE_ID_EXPR.
* parser.c (cp_parser_postfix_expression): Call it for
TEMPLATE_ID_EXPR.
* tree.c (is_overloaded_fn): Look through TEMPLATE_ID_EXPR.
(get_first_fn): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144636 138bc75d-0d04-0410-961f-82ee72b054a4
amylaar [Thu, 5 Mar 2009 02:07:26 +0000 (5 02:07 +0000)]
Fix bugzilla references in ChangeLog for last recent checkins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144635 138bc75d-0d04-0410-961f-82ee72b054a4
amylaar [Thu, 5 Mar 2009 01:21:13 +0000 (5 01:21 +0000)]
* cse.c (cse_insn): Fix loop to stop at VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144634 138bc75d-0d04-0410-961f-82ee72b054a4
gccadmin [Thu, 5 Mar 2009 00:16:48 +0000 (5 00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144633 138bc75d-0d04-0410-961f-82ee72b054a4
amylaar [Thu, 5 Mar 2009 00:16:04 +0000 (5 00:16 +0000)]
* combine.c (gen_lowpart_for_combine): Use omode when generating
clobber.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144630 138bc75d-0d04-0410-961f-82ee72b054a4
jsm28 [Wed, 4 Mar 2009 23:26:51 +0000 (4 23:26 +0000)]
2009-03-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/torture/predcom-1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144629 138bc75d-0d04-0410-961f-82ee72b054a4
amylaar [Wed, 4 Mar 2009 23:22:22 +0000 (4 23:22 +0000)]
PR39235:
* loop-iv.c (get_simple_loop_desc): Use XCNEW.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144628 138bc75d-0d04-0410-961f-82ee72b054a4
rakdver [Wed, 4 Mar 2009 23:04:03 +0000 (4 23:04 +0000)]
* graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144627 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Wed, 4 Mar 2009 23:00:25 +0000 (4 23:00 +0000)]
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39362
* tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
that occur in abnormal PHIs should be varying.
* g++.dg/torture/pr39362.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144626 138bc75d-0d04-0410-961f-82ee72b054a4
jason [Wed, 4 Mar 2009 18:44:24 +0000 (4 18:44 +0000)]
add DR note
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144619 138bc75d-0d04-0410-961f-82ee72b054a4
jason [Wed, 4 Mar 2009 18:42:17 +0000 (4 18:42 +0000)]
PR c++/9634
PR c++/29469
PR c++/29607
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144618 138bc75d-0d04-0410-961f-82ee72b054a4
rakdver [Wed, 4 Mar 2009 17:50:20 +0000 (4 17:50 +0000)]
* tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
Extend comments.
(simple_iv): Take loop as an argument instead of statement.
* tree-scalar-evolution.h (simple_iv): Declaration changed.
* tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
to simple_iv.
* tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
Ditto.
* tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
* matrix-reorg.c (analyze_transpose): Ditto.
* tree-data-ref.c (dr_analyze_innermost): Ditto.
* tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
* tree-predcom.c (ref_at_iteration): Ditto.
* tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144615 138bc75d-0d04-0410-961f-82ee72b054a4
sje [Wed, 4 Mar 2009 17:25:16 +0000 (4 17:25 +0000)]
PR testsuite/39357
* gcc.dg/vect-iv-6.c (dg-require-effective-target): Change from
vect_int to vect_int_mult.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144614 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Wed, 4 Mar 2009 12:36:56 +0000 (4 12:36 +0000)]
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39358
* tree-ssa-structalias.c (do_sd_constraint): Fix check for
escaped_id and callused_id.
(solve_graph): Likewise.
* g++.dg/warn/Wstrict-aliasing-bogus-escape-2.C: New testcase.
* g++.dg/warn/Wstrict-aliasing-bogus-escape-3.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144602 138bc75d-0d04-0410-961f-82ee72b054a4
jsm28 [Wed, 4 Mar 2009 10:48:40 +0000 (4 10:48 +0000)]
* es.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144600 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Wed, 4 Mar 2009 09:02:59 +0000 (4 09:02 +0000)]
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39339
* tree-sra.c (try_instantiate_multiple_fields): Make it
no longer ICE on the above.
* gcc.c-torture/execute/pr39339.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144598 138bc75d-0d04-0410-961f-82ee72b054a4
jsm28 [Wed, 4 Mar 2009 01:57:29 +0000 (4 01:57 +0000)]
* emit-rtl.c (adjust_address_1): Reduce offset to a signed value
that fits within Pmode.
testsuite:
* gcc.c-torture/compile/
20090303-1.c,
gcc.c-torture/compile/
20090303-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144595 138bc75d-0d04-0410-961f-82ee72b054a4
gccadmin [Wed, 4 Mar 2009 00:16:45 +0000 (4 00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144594 138bc75d-0d04-0410-961f-82ee72b054a4
jsm28 [Tue, 3 Mar 2009 22:48:24 +0000 (3 22:48 +0000)]
* es.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144591 138bc75d-0d04-0410-961f-82ee72b054a4
sje [Tue, 3 Mar 2009 18:33:40 +0000 (3 18:33 +0000)]
PR middle-end/10109
* tm.texi (LIBCALL_VALUE): Update description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144586 138bc75d-0d04-0410-961f-82ee72b054a4
sje [Tue, 3 Mar 2009 18:27:42 +0000 (3 18:27 +0000)]
PR middle-end/34443
* doc/extend.texi (section): Update description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144582 138bc75d-0d04-0410-961f-82ee72b054a4
hjl [Tue, 3 Mar 2009 18:08:01 +0000 (3 18:08 +0000)]
2009-03-03 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/39345
* tree-inline.c (remapped_type): New.
(can_be_nonlocal): Call remapped_type instead of remap_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144581 138bc75d-0d04-0410-961f-82ee72b054a4
gandalf [Tue, 3 Mar 2009 17:03:51 +0000 (3 17:03 +0000)]
Cleanup new JDK directory support in GCJ.
2009-03-03 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
Remove dangling src.zip and javac symlinks.
Fix java.security symlink to use toolexeclibdir
as classpath/resource/Makefile.am does.
* Makefile.in,
* configure: Regenerated.
* configure.ac: Drop hard-coded prefix,
thus removing sdk_dir and making jre_dir="jre".
Map x86_64 to amd64 as used by OpenJDK.
* gcj/Makefile.in,
* include/Makefile.in,
* testsuite/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144576 138bc75d-0d04-0410-961f-82ee72b054a4
jakub [Tue, 3 Mar 2009 16:43:42 +0000 (3 16:43 +0000)]
PR fortran/39354
* gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
* gfortran.dg/gomp/pr39354.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144575 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Tue, 3 Mar 2009 13:05:53 +0000 (3 13:05 +0000)]
2009-03-03 Richard Guenther <rguenther@suse.de>
PR middle-end/39272
* tree.c (tree_nonartificial_location): New function.
* tree.h (tree_nonartificial_location): Declare.
* builtins.c (expand_builtin_memory_chk): Provide location
of the call location for artificial function pieces.
(maybe_emit_chk_warning): Likewise.
(maybe_emit_sprintf_chk_warning): Likewise.
(maybe_emit_free_warning): Likewise.
* expr.c (expand_expr_real_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144573 138bc75d-0d04-0410-961f-82ee72b054a4
jakub [Tue, 3 Mar 2009 11:29:51 +0000 (3 11:29 +0000)]
PR tree-optimization/39343
* tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
COMPONENT_REF t has ARRAY_TYPE.
* gcc.dg/pr39343.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144571 138bc75d-0d04-0410-961f-82ee72b054a4
irar [Tue, 3 Mar 2009 07:42:26 +0000 (3 07:42 +0000)]
PR tree-optimization/39248
* gcc.dg/vect/vect-complex-1.c: Add attribute aligned
to the arrays.
* gcc.dg/vect/vect-iv-6.c: Don't expect to fail to vectorize
on targets without vector misalignment support.
* lib/target-supports.exp
(check_effective_target_vect_short_mult): Add
check_effective_target_arm32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144569 138bc75d-0d04-0410-961f-82ee72b054a4
spop [Tue, 3 Mar 2009 03:47:22 +0000 (3 03:47 +0000)]
2009-03-02 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39335
* tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
when the type precision of the induction variable should be
larger than the type precision of nit.
(gen_parallel_loop): Update use of canonicalize_loop_ivs.
* graphite.c (graphite_loop_normal_form): Same.
* tree-flow.h (canonicalize_loop_ivs): Update declaration.
* testsuite/gcc.dg/graphite/pr39335_1.c: New.
* testsuite/gcc.dg/graphite/pr39335.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144564 138bc75d-0d04-0410-961f-82ee72b054a4
korbb [Tue, 3 Mar 2009 00:35:19 +0000 (3 00:35 +0000)]
fix ChangeLog date
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144561 138bc75d-0d04-0410-961f-82ee72b054a4
gccadmin [Tue, 3 Mar 2009 00:16:44 +0000 (3 00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144560 138bc75d-0d04-0410-961f-82ee72b054a4
uros [Mon, 2 Mar 2009 20:58:39 +0000 (2 20:58 +0000)]
* config/i386/i386.md (ST?_REG, MM?_REG): New constants.
(*call_1_rex64_ms_sysv): Use named constants instead of magic
numbers to describe clobbbered registers.
(*call_value_0_rex64_ms_sysv): Ditto.
* config/i386/mmx.md (emms): Ditto.
(femms): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144554 138bc75d-0d04-0410-961f-82ee72b054a4
rsandifo [Mon, 2 Mar 2009 20:26:22 +0000 (2 20:26 +0000)]
gcc/
* config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
of ABI_64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144552 138bc75d-0d04-0410-961f-82ee72b054a4
uweigand [Mon, 2 Mar 2009 19:32:05 +0000 (2 19:32 +0000)]
* config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
(spu_section_type_flags): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144550 138bc75d-0d04-0410-961f-82ee72b054a4
bkoz [Mon, 2 Mar 2009 18:55:54 +0000 (2 18:55 +0000)]
2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/thread/pthread4.cc: Move...
* testsuite/21_strings/basic_string/pthread4.cc: ...here.
* testsuite/thread/pthread5.cc: Move...
* testsuite/23_containers/list/pthread5.cc: ...here.
* testsuite/thread/pthread6.cc: Move...
* testsuite/23_containers/map/pthread6.cc: ...here.
* testsuite/thread/pthread7-rope.cc: Move...
* testsuite/ext/rope/pthread7-rope.cc: ...here.
* testsuite/thread/guard.cc: Move...
* testsuite/18_support/pthread_guard.cc: ...here.
* testsuite/thread/18185.cc: Move...
* testsuite/21_strings/basic_string/pthread18185.cc: ...here.
* testsuite/thread/pthread1.cc: Move...
* testsuite/23_containers/list/pthread1.cc: ...here.
* testsuite/thread/pthread2.cc: Move...
* testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
* testsuite/thread/pthread3.cc: Move...
* testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
* testsuite/libstdc++-dg/conformance.exp: Remove thread directory.
* testsuite/thread: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144547 138bc75d-0d04-0410-961f-82ee72b054a4
bkoz [Mon, 2 Mar 2009 18:49:03 +0000 (2 18:49 +0000)]
2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/thread/pthread4.cc: Move...
* testsuite/21_strings/basic_string/pthread4.cc: ...here.
* testsuite/thread/pthread5.cc: Move...
* testsuite/23_containers/list/pthread5.cc: ...here.
* testsuite/thread/pthread6.cc: Move...
* testsuite/23_containers/map/pthread6.cc: ...here.
* testsuite/thread/pthread7-rope.cc: Move...
* testsuite/ext/rope/pthread7-rope.cc: ...here.
* testsuite/thread/guard.cc: Move...
* testsuite/18_support/pthread_guard.cc: ...here.
* testsuite/thread/18185.cc: Move...
* testsuite/21_strings/basic_string/pthread18185.cc: ...here.
* testsuite/thread/pthread1.cc: Move...
* testsuite/23_containers/list/pthread1.cc: ...here.
* testsuite/thread/pthread2.cc: Move...
* testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
* testsuite/thread/pthread3.cc: Move...
* testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144546 138bc75d-0d04-0410-961f-82ee72b054a4
hjl [Mon, 2 Mar 2009 17:58:10 +0000 (2 17:58 +0000)]
2009-03-02 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/stackalign/return-4.c: Scan andl/andq instead
of andl.
* gcc.target/i386/stackalign/return-5.c: Likewise.
* gcc.target/i386/stackalign/return-6.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144544 138bc75d-0d04-0410-961f-82ee72b054a4
uros [Mon, 2 Mar 2009 13:46:05 +0000 (2 13:46 +0000)]
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
reg_class_contents of FLOAT_REGS into a temporary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144542 138bc75d-0d04-0410-961f-82ee72b054a4
irar [Mon, 2 Mar 2009 11:52:15 +0000 (2 11:52 +0000)]
2009-03-02 Richard Guenther <rguenther@suse.de>
Ira Rosen <irar@il.ibm.com>
PR tree-optimization/39318
* tree-vect-transform.c (vectorizable_call): Transfer the EH region
information to the vectorized statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144541 138bc75d-0d04-0410-961f-82ee72b054a4
gccadmin [Mon, 2 Mar 2009 00:16:44 +0000 (2 00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144538 138bc75d-0d04-0410-961f-82ee72b054a4
ebotcazou [Sun, 1 Mar 2009 23:04:50 +0000 (1 23:04 +0000)]
Fix latest entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144534 138bc75d-0d04-0410-961f-82ee72b054a4
uros [Sun, 1 Mar 2009 21:58:31 +0000 (1 21:58 +0000)]
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use defined
names instead of magic constants for REX SSE registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144533 138bc75d-0d04-0410-961f-82ee72b054a4
uros [Sun, 1 Mar 2009 21:30:24 +0000 (1 21:30 +0000)]
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not
shadow "i" variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144532 138bc75d-0d04-0410-961f-82ee72b054a4
rguenth [Sun, 1 Mar 2009 20:49:14 +0000 (1 20:49 +0000)]
2009-03-01 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39331
* omp-low.c (lower_send_shared_vars): Do not receive new
values for the reference of DECL_BY_REFERENCE parms or results.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144531 138bc75d-0d04-0410-961f-82ee72b054a4
ebotcazou [Sun, 1 Mar 2009 19:01:14 +0000 (1 19:01 +0000)]
Fix long lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144530 138bc75d-0d04-0410-961f-82ee72b054a4
hubicka [Sun, 1 Mar 2009 18:47:08 +0000 (1 18:47 +0000)]
PR debug/39267
* tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
BLOCK_NONLOCALIZED_VAR): New macros.
(tree_block): Add nonlocalized_vars.
* dwarf2out.c (gen_formal_parameter_die, gen_variable_die, gen_decl_die): Add
origin argument; allow generation of die with origin at hand only.
(gen_member_die, gen_type_die_with_usage, force_decl_die,
declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use of gen_*.
(gen_block_die): Fix checking for unused blocks.
(process_scope_var): Break out from .... ; work with origins only.
(decls_for_scope) ... here; process nonlocalized list.
(dwarf2out_ignore_block): Look for nonlocalized vars.
* tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized vars.
(dump_scope_block): Dump them.
* tree-inline.c (remap_decls): Handle nonlocalized vars.
(remap_block): Likewise.
(can_be_nonlocal): New predicate.
(copy_bind_expr, copy_gimple_bind): Update use of remap_block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144529 138bc75d-0d04-0410-961f-82ee72b054a4
rwild [Sun, 1 Mar 2009 17:49:31 +0000 (1 17:49 +0000)]
Backport from git Libtool:
2009-01-19 Robert Millan <rmh@aybabtu.com>
Support GNU/kOpenSolaris.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
GNU/kOpenSolaris.
libjava/classpath/
* configure: Regenerate.
libjava/
* configure: Regenerate.
libssp/
* configure: Regenerate.
libobjc/
* configure: Regenerate.
libstdc++-v3/
* configure: Regenerate.
libgfortran/
* configure: Regenerate.
boehm-gc/
* configure: Regenerate.
gcc/
* configure: Regenerate.
libmudflap/
* configure: Regenerate.
zlib/
* configure: Regenerate.
libffi/
* configure: Regenerate.
libgomp/
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144527 138bc75d-0d04-0410-961f-82ee72b054a4
rwild [Sun, 1 Mar 2009 12:20:33 +0000 (1 12:20 +0000)]
gcc/
* optc-gen.awk: No need to duplicate option flags twice.
Reuse help texts for duplicate options which do not have
any.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144526 138bc75d-0d04-0410-961f-82ee72b054a4
rwild [Sun, 1 Mar 2009 11:29:32 +0000 (1 11:29 +0000)]
gcc/
* gcc.c (display_help): Document --version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144525 138bc75d-0d04-0410-961f-82ee72b054a4
rwild [Sun, 1 Mar 2009 11:27:41 +0000 (1 11:27 +0000)]
gcc/
* gcc.c (main): If print_help_list and verbose_flag, ensure
driver output comes before subprocess output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144524 138bc75d-0d04-0410-961f-82ee72b054a4
rwild [Sun, 1 Mar 2009 11:26:06 +0000 (1 11:26 +0000)]
gcc/
* optc-gen.awk: Assign all remaining fields to help string,
space-separated, for multi-line help in *.opt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144523 138bc75d-0d04-0410-961f-82ee72b054a4
rwild [Sun, 1 Mar 2009 11:24:03 +0000 (1 11:24 +0000)]
contrib/
* check_warning_flags.sh: Update flag exceptions.
gcc/
* doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
-Wno-pedantic-ms-format is for MinGW targets only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144522 138bc75d-0d04-0410-961f-82ee72b054a4
rwild [Sun, 1 Mar 2009 11:21:16 +0000 (1 11:21 +0000)]
gcc/
* doc/options.texi (Option file format): Fix bad indentation,
restoring dropped sentence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144518 138bc75d-0d04-0410-961f-82ee72b054a4
hubicka [Sun, 1 Mar 2009 11:05:00 +0000 (1 11:05 +0000)]
* tree-inline.c (tree_function_versioning): Output debug info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144516 138bc75d-0d04-0410-961f-82ee72b054a4
hubicka [Sun, 1 Mar 2009 11:02:30 +0000 (1 11:02 +0000)]
PR debug/39267
* tree-inline.c (setup_one_parameter): Do not copy propagate
arguments when not optimizing.
PR debug/39267
* gcc.dg/debug/dwarf2/inline1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144515 138bc75d-0d04-0410-961f-82ee72b054a4
ebotcazou [Sun, 1 Mar 2009 10:53:17 +0000 (1 10:53 +0000)]
PR ada/39264
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no
call make_packable_type on fat pointer types.
<E_Array_Subtype>: Likewise.
<E_Record_Subtype>: Call make_packable_type on all record types
except for fat pointer types.
(make_packable_type): Likewise.
(gnat_to_gnu_field): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144514 138bc75d-0d04-0410-961f-82ee72b054a4
ebotcazou [Sun, 1 Mar 2009 10:51:28 +0000 (1 10:51 +0000)]
Move entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144513 138bc75d-0d04-0410-961f-82ee72b054a4
gccadmin [Sun, 1 Mar 2009 00:16:55 +0000 (1 00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144501 138bc75d-0d04-0410-961f-82ee72b054a4
hjl [Sat, 28 Feb 2009 22:29:25 +0000 (28 22:29 +0000)]
2009-02-28 H.J. Lu <hongjiu.lu@intel.com>
PR target/39327
* config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
(avx_addsubv4df3): Likewise.
(*avx_addsubv4sf3): Likewise.
(sse3_addsubv4sf3): Likewise.
(*avx_addsubv2df3): Likewise.
(sse3_addsubv2df3): Likewise.
(avx_unpckhps256): Correct item selectors.
(avx_unpcklps256): Likewise.
(avx_unpckhpd256): Likewise.
(avx_unpcklpd256): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144498 138bc75d-0d04-0410-961f-82ee72b054a4
hubicka [Sat, 28 Feb 2009 22:14:43 +0000 (28 22:14 +0000)]
* tree-inline.c (expand_call_inline): Avoid duplicate declarations of
static vars.
(copy_arguments_for_versioning): If var is declared don't declare it.
(tree_function_versioning): First setup substitutions and then copy
args.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144497 138bc75d-0d04-0410-961f-82ee72b054a4
hubicka [Sat, 28 Feb 2009 21:34:23 +0000 (28 21:34 +0000)]
PR debug/39267
* cgraph.h (varpool_output_debug_info): Remove.
* cgraphunit.c (varpool_output_debug_info): Remove.
* dwarf2out.c (deferred_locations_struct): New struct
(deferred_locations): New type.
(deferred_locations_list): New static var.
(deffer_location): New function.
(gen_variable_die): Use it.
(decls_for_scope): Output info on local static vars.
(dwarf2out_finish): Process deferred locations.
* varpool.c (varpool_output_debug_info): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144496 138bc75d-0d04-0410-961f-82ee72b054a4
korbb [Sat, 28 Feb 2009 20:47:01 +0000 (28 20:47 +0000)]
It has been a long time since I updated this....
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144494 138bc75d-0d04-0410-961f-82ee72b054a4
korbb [Sat, 28 Feb 2009 18:13:31 +0000 (28 18:13 +0000)]
add alpha_if_semocolon fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144490 138bc75d-0d04-0410-961f-82ee72b054a4
ebotcazou [Sat, 28 Feb 2009 17:29:55 +0000 (28 17:29 +0000)]
* gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
EH_MECHANISM change in r130816.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144488 138bc75d-0d04-0410-961f-82ee72b054a4
gccadmin [Sat, 28 Feb 2009 00:16:57 +0000 (28 00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144479 138bc75d-0d04-0410-961f-82ee72b054a4
ebotcazou [Fri, 27 Feb 2009 20:17:29 +0000 (27 20:17 +0000)]
Fix long lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144476 138bc75d-0d04-0410-961f-82ee72b054a4
hubicka [Fri, 27 Feb 2009 19:49:42 +0000 (27 19:49 +0000)]
PR debug/39267
* tree.h (TREE_PROTECTED): Fix comment.
(BLOCK_HANDLER_BLOCK): Remove.
(struct tree_block): Remove handler_block add body_block.
(inlined_function_outer_scope_p): New.
(is_body_block): Remove.
* dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
* dwarf2out.c (is_inlined_entry_point): Remove.
(add_high_low_attributes): Use inlined_function_outer_scope_p.
(gen_block_die): Use is_inlined_entry_point check; remove body block code.
* langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
* gimplify.c (gimplify_expr): Gimplify body blocks.
* tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper block
with multiple subblocks.
(dump_scope_block): Prettier output; dump more flags and info.
(dump_scope_blocks): New.
(remove_unused_locals): Use dump_scope_blocks.
* tree-flow.h (dump_scope_blocks): Declare.
* tree-cfg.c (execute_build_cfg): Dump scope blocks.
* stmt.c (is_body_block): Remove.
* tree-inline.c (remap_block): Copy BODY_BLOCK info.
* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144474 138bc75d-0d04-0410-961f-82ee72b054a4
spop [Fri, 27 Feb 2009 16:42:38 +0000 (27 16:42 +0000)]
2009-02-27 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39308
* graphite.c (graphite_loop_normal_form): Do not call
number_of_iterations_exit from a gcc_assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144470 138bc75d-0d04-0410-961f-82ee72b054a4
krebbel [Fri, 27 Feb 2009 14:56:19 +0000 (27 14:56 +0000)]
2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional
jumps if COND is NULL.
(find_cond_jump): New function.
(s390_z10_optimize_cmp): Handling for reg-reg compares added.
* gcc/config/s390/s390.md: Remove z10_cobra attribute value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144466 138bc75d-0d04-0410-961f-82ee72b054a4
schwab [Fri, 27 Feb 2009 14:44:33 +0000 (27 14:44 +0000)]
Update e-mail address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144465 138bc75d-0d04-0410-961f-82ee72b054a4
schwab [Fri, 27 Feb 2009 09:56:42 +0000 (27 09:56 +0000)]
Add PR ref.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144464 138bc75d-0d04-0410-961f-82ee72b054a4
schwab [Fri, 27 Feb 2009 09:54:25 +0000 (27 09:54 +0000)]
gcc/ada/:
* Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
* gcc-interface/Makefile.in: Change all uses of $(srcdir),
$(fsrcdir) and $(fsrcpfx) to add ada subdir.
(AWK): Substitute.
(target_cpu_default): Substitute.
gnattools/:
* Makefile.in (fsrcdir): Point to gcc directory, not gcc/ada.
(INCLUDES_FOR_SUBDIR): Adjust.
(ADA_INCLUDES_FOR_SUBDIR): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144463 138bc75d-0d04-0410-961f-82ee72b054a4
burnus [Fri, 27 Feb 2009 07:45:47 +0000 (27 07:45 +0000)]
2009-02-27 Tobias Burnus <burnus@net-b.de>
PR fortran/39309
* module.c (read_md5_from_module_file): Add missing quote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144462 138bc75d-0d04-0410-961f-82ee72b054a4