tromey [Tue, 9 Apr 2013 20:55:17 +0000 (20:55 +0000)]
* configure, config.h.in: Rebuild.
* configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
sys/sdt.h.
* acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197649
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 9 Apr 2013 20:38:21 +0000 (20:38 +0000)]
* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197647
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 9 Apr 2013 18:11:38 +0000 (18:11 +0000)]
PR c++/25466
* rtti.c (build_typeid): Check the address of the argument
rather than looking for an INDIRECT_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197644
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Tue, 9 Apr 2013 16:08:47 +0000 (16:08 +0000)]
2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.md (minmax_arithsi_non_canon): New pattern.
* gcc.target/arm/minmax_minus.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197642
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Tue, 9 Apr 2013 15:02:41 +0000 (15:02 +0000)]
* sched-vis.c (print_pattern): Print SEQUENCE of insns as insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197640
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Tue, 9 Apr 2013 15:01:45 +0000 (15:01 +0000)]
* config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197639
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Tue, 9 Apr 2013 14:56:59 +0000 (14:56 +0000)]
PR tree-optimization/48762
* params.def (PARAM_MAX_CSE_INSNS): Increase the minimum
value to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197637
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 9 Apr 2013 14:12:34 +0000 (14:12 +0000)]
2013-04-09 Richard Biener <rguenther@suse.de>
* tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code
dealing with cost.
(vect_build_slp_tree): Likewise.
(vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions
calculating the cost of a SLP instance.
(vect_analyze_slp_instance): Use it from here, after building
the SLP tree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197635
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 9 Apr 2013 13:25:58 +0000 (13:25 +0000)]
PR middle-end/56883
* omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
expand_omp_for_static_chunk): Use simple_p = true in
force_gimple_operand_gsi calls when assigning to addressable decls.
* c-c++-common/gomp/pr56883.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197633
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 9 Apr 2013 13:05:08 +0000 (13:05 +0000)]
* tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean
when the boolean was created by converting a wider object which
had a boolean range.
* gcc.dg/tree-ssa/vrp87.c: New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197631
138bc75d-0d04-0410-961f-
82ee72b054a4
ak [Tue, 9 Apr 2013 12:41:09 +0000 (12:41 +0000)]
Add missing ChangeLog entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197630
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 9 Apr 2013 12:39:22 +0000 (12:39 +0000)]
2013-04-09 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (slp_void_p): Remove.
(slp_tree): Typedef before _slp_tree declaration.
(struct _slp_tree): Use a vector of slp_tree as children.
(vect_get_place_in_interleaving_chain): Remove.
* tree-vect-data-refs.c (vect_get_place_in_interleaving_chain):
Move ...
* tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here
and make static.
(vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts,
vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts,
vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations,
vect_schedule_slp_instance, vect_remove_slp_scalar_calls):
Use slp_node instead of slp_void_p and adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197629
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 9 Apr 2013 10:48:59 +0000 (10:48 +0000)]
2013-04-09 Richard Biener <rguenther@suse.de>
java/
* expr.c (build_java_binop): Pass a type to build_int_cst.
* tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid
work that is not necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197626
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 9 Apr 2013 10:04:24 +0000 (10:04 +0000)]
PR tree-optimization/56854
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't
forward into clobber stmts if it would change MEM_REF lhs into
non-MEM_REF.
* g++.dg/torture/pr56854.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197625
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Tue, 9 Apr 2013 10:02:35 +0000 (10:02 +0000)]
2013-04-09 Tobias Burnus <burnus@net-b.de>
* gfortran.texi (KIND Type Parameters,
Internal representation of LOGICAL variables): Add crossrefs.
(Intrinsic Types): Mention issues with _Bool interop.
(Naming and argument-passing conventions): New section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197624
138bc75d-0d04-0410-961f-
82ee72b054a4
mkuvyrkov [Tue, 9 Apr 2013 09:47:33 +0000 (09:47 +0000)]
* tree.c (type_hash_lookup, type_hash_add): Make static.
* tree.h (type_hash_lookup, type_hash_add): Remove global declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197623
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 9 Apr 2013 08:26:45 +0000 (08:26 +0000)]
2013-04-09 Richard Biener <rguenther@suse.de>
* tree.h (unsave_expr_now): Remove.
* tree-inline.c (mark_local_for_remap_r): Remove.
(unsave_expr_1): Likewise.
(unsave_r): Likewise.
(unsave_expr_now): Likewise.
* tree-ssa-copy.c (replace_exp_1): Use unshare_expr.
(propagate_tree_value): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197620
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 9 Apr 2013 07:29:32 +0000 (07:29 +0000)]
Fix non-ASCII characters in names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197618
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 9 Apr 2013 00:16:54 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197617
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 8 Apr 2013 21:16:09 +0000 (21:16 +0000)]
PR c++/56838
PR c++/17232
* typeck2.c (abstract_virtuals_error_sfinae): Disable
complete_type again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197613
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 8 Apr 2013 19:59:57 +0000 (19:59 +0000)]
* doc/rtl.texi (sequence): Rewrite documentation to match the
current use of SEQUENCE rtl objects.
* rtl.def (SEQUENCE): Likewise.
* doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END):
Update documentation.
(NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT,
NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes.
* reg-notes.def (REG_EH_CONTEXT): Remove unused note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197611
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Mon, 8 Apr 2013 19:36:43 +0000 (19:36 +0000)]
2013-04-08 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/56782
* frontend-passes.c (callback_reduction): Dont't do
any simplification if there is only a single element
which has an iterator.
2013-04-08 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/56782
* gfortran.dg/array_constructor_44.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197610
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 8 Apr 2013 18:09:35 +0000 (18:09 +0000)]
/cp
2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/56871
* decl.c (validate_constexpr_redeclaration): Allow an explicit
specialization to be different wrt the constexpr specifier.
/testsuite
2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/56871
* g++.dg/cpp0x/constexpr-specialization.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197597
138bc75d-0d04-0410-961f-
82ee72b054a4
tejohnson [Mon, 8 Apr 2013 17:39:10 +0000 (17:39 +0000)]
First phase of unifying the computation of profile scale factors/probabilities
and the actual scaling to use rounding divides:
- Add new macro GCOV_COMPUTE_SCALE to basic-block.h to compute the scale
factor/probability via a rounding divide.
- Change all locations that already perform rounding divides (inline or via RDIV)
to use the appropriate helper: GCOV_COMPUTE_SCALE, apply_probability or
combine_probabilities.
- Change ipa-cp.c truncating divides to use rounding divides.
- Add comments to all other locations (currently using truncating divides) to
switch them to one of the helpers so they use a rounding divide.
Next phase will be to replace the locations using truncating divides, marked
with a comment here, into rounding divides via the helper methods.
2013-04-08 Teresa Johnson <tejohnson@google.com>
* basic-block.h (GCOV_COMPUTE_SCALE): Define.
* ipa-inline-analysis.c (param_change_prob): Use helper rounding divide
methods.
(estimate_edge_size_and_time): Add comment to suggest using rounding
methods.
(estimate_node_size_and_time): Ditto.
(remap_edge_change_prob): Use helper rounding divide methods.
* value-prof.c (gimple_divmod_fixed_value_transform): Ditto.
(gimple_mod_pow2_value_transform): Ditto.
(gimple_mod_subtract_transform): Ditto.
(gimple_ic_transform): Ditto.
(gimple_stringops_transform): Ditto.
* stmt.c (conditional_probability): Ditto.
(emit_case_dispatch_table): Ditto.
* lto-cgraph.c (merge_profile_summaries): Ditto.
* tree-optimize.c (execute_fixup_cfg): Ditto.
* cfgcleanup.c (try_forward_edges): Ditto.
* cfgloopmanip.c (scale_loop_profile): Ditto.
(loopify): Ditto.
(duplicate_loop_to_header_edge): Ditto.
(lv_adjust_loop_entry_edge): Ditto.
* tree-vect-loop.c (vect_transform_loop): Ditto.
* profile.c (compute_branch_probabilities): Ditto.
* cfgbuild.c (compute_outgoing_frequencies): Ditto.
* lto-streamer-in.c (input_cfg): Ditto.
* gimple-streamer-in.c (input_bb): Ditto.
* ipa-cp.c (update_profiling_info): Ditto.
(update_specialized_profile): Ditto.
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto.
* cfg.c (update_bb_profile_for_threading): Add comment to suggest using
rounding methods.
* sched-rgn.c (compute_dom_prob_ps): Ditto.
(compute_trg_info): Ditto.
* cfgrtl.c (force_nonfallthru_and_redirect): Ditto.
(purge_dead_edges): Ditto.
* loop-unswitch.c (unswitch_loop): Ditto.
* cgraphclones.c (cgraph_clone_edge): Ditto.
(cgraph_clone_node): Ditto.
* tree-inline.c (copy_bb): Ditto.
(copy_edges_for_bb): Ditto.
(initialize_cfun): Ditto.
(copy_cfg_body): Ditto.
(expand_call_inline): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197595
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 8 Apr 2013 16:47:02 +0000 (16:47 +0000)]
2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197594
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Mon, 8 Apr 2013 16:11:21 +0000 (16:11 +0000)]
* config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced
TARGET_CYGWIN64 by TARGET_64BIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197593
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 16:03:05 +0000 (16:03 +0000)]
* config/epiphany/epiphany.md (<insn_opname>v2si3):
Use gen_addsi3_i / gen_subsi3_i.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197592
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 16:00:26 +0000 (16:00 +0000)]
ChangeLog typo fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197591
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 15:59:41 +0000 (15:59 +0000)]
* config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern.
(cstoresi4): Also allow re-use of zero result when doing a NE
comparison to a non-zero operand.
Use (clobber (sratch)) for first insn if the gpr output is not needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197590
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 15:57:20 +0000 (15:57 +0000)]
* config/epiphany/epiphany.md (logical_op): New code iterator.
(op_mnc): New code attribute.
(<op_mnc>_f, mov_f, cstoresi4): New patterns.
(mov_f+1, mov_f+2): New peephole2 patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197589
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 15:52:44 +0000 (15:52 +0000)]
* config/epiphany/constraints.md (CnL): New constraint.
* config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative.
* config/epiphany/predicates.md (add_operand): Allow 1024.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197588
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 15:46:24 +0000 (15:46 +0000)]
* config/epiphany/epiphany.c (epiphany_select_cc_mode):
Don't use CC_FPmode for ORDERED / UNORDERED.
* config/epiphany/epiphany.md (cmpsf_ord): Make pattern
unconditional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197587
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 15:42:10 +0000 (15:42 +0000)]
* config/epiphany/epiphany.md (GPR_1): New constant.
(define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0.
* config/epiphany/epiphany.c (gen_compare_reg):
For flag_finite_math_only, avoid swapping operands when r0 and/or r1
is already in place.
Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers.
Don't require being called during rtl expansion; If y operlaps r0,
return 0.
(epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1.
(epiphany_expand_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197586
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 8 Apr 2013 13:46:48 +0000 (13:46 +0000)]
* gcc.c-torture/execute/pr56837.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197582
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 8 Apr 2013 13:46:00 +0000 (13:46 +0000)]
PR c++/34949
PR c++/50243
* tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't
contain anything but clobbers, at most one __builtin_stack_restore,
optionally debug stmts and final resx, and if it has at least one
incoming EH edge. Don't check for SSA_NAME on LHS of a clobber.
(sink_clobbers): Don't check for SSA_NAME on LHS of a clobber.
Instead of moving clobbers with MEM_REF LHS with SSA_NAME address
which isn't defaut definition, remove them.
(unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge}
instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}.
* tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers
with MEM_REF LHS with SSA_NAME address.
* g++.dg/opt/vt3.C: New test.
* g++.dg/opt/vt4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197580
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Apr 2013 13:11:56 +0000 (13:11 +0000)]
* gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into
x != y.
* gcc.dg/tree-ssa/forwprop-25.c: New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197579
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 8 Apr 2013 12:35:26 +0000 (12:35 +0000)]
2013-04-08 Richard Biener <rguenther@suse.de>
* gimple-pretty-print.c (debug_gimple_stmt): Do not print
extra newline.
* tree-vect-loop.c (vect_determine_vectorization_factor): Dump
determined vector type.
(vect_analyze_data_refs): Likewise.
(vect_get_new_vect_var): Adjust.
(vect_create_destination_var): Preserve SSA name versions.
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do
not dump anything here.
* gfortran.dg/vect/fast-math-mgrid-resid.f: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197578
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 8 Apr 2013 12:22:41 +0000 (12:22 +0000)]
* config/epiphany/epiphany.h (struct GTY (()) machine_function):
Add member lr_slot_known.
* config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs
if necessary.
* config/epiphany/epiphany.c (epiphany_compute_frame_size):
Remove code that sets lr_slot_offset according to what a previous
version of epiphany_emit_save_restore used to do.
(epiphany_emit_save_restore): When doing an lr save or restore,
set/verify lr_slot_known and lr_slot_offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197577
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Mon, 8 Apr 2013 12:19:02 +0000 (12:19 +0000)]
Fix PR target/54338 - Include IWMMXT_GR_REGS in ALL_REGS.
For Xinyu Qi.
2013-04-08 Xinyu Qi <xyqi@marvell.com>
PR target/54338
* config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS
in ALL_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197576
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 8 Apr 2013 09:50:48 +0000 (09:50 +0000)]
2013-04-08 Richard Biener <rguenther@suse.de>
* alias.c (find_base_term): Fix thinko in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197572
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 8 Apr 2013 08:42:12 +0000 (08:42 +0000)]
2013-04-08 Richard Biener <rguenther@suse.de>
* gfortran.dg/vect/fast-math-pr37021.f90: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197571
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 8 Apr 2013 08:34:43 +0000 (08:34 +0000)]
2013-04-08 Richard Biener <rguenther@suse.de>
* g++.dg/vect/slp-pr56812.cc: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197569
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 8 Apr 2013 08:20:39 +0000 (08:20 +0000)]
* tree-loop-distribution.c (const_with_all_bytes_same): New function.
(generate_memset_builtin): Only handle integer_all_onesp as -1 val if
TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same
if possible to compute val.
(classify_partition): Verify CONSTRUCTOR doesn't have any elts.
For QImode integers don't require anything about precision. Use
const_with_all_bytes_same to find out if the constant doesn't have
repeated bytes in it.
* gcc.dg/pr56837.c: New test.
* gcc.dg/tree-ssa/ldist-19.c: Don't check for
"generated memset minus one".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197568
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Mon, 8 Apr 2013 07:49:33 +0000 (07:49 +0000)]
2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_expand_insv): Only accept insertions
within mode size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197566
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Mon, 8 Apr 2013 07:44:33 +0000 (07:44 +0000)]
PR rtl-optimization/48182
* params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum
value to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197564
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 8 Apr 2013 00:16:51 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197562
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sun, 7 Apr 2013 19:58:18 +0000 (19:58 +0000)]
* update_web_docs_libstdcxx_svn: No longer ignore all output from
the actual copy process.
Check the exit code of the actual copy process; diagnose problems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197558
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 7 Apr 2013 17:15:22 +0000 (17:15 +0000)]
* parser.c (cp_parser_std_attribute): Treat [[noreturn]] like GNU
noreturn attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197555
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Sun, 7 Apr 2013 16:44:40 +0000 (16:44 +0000)]
* include/Makefile.am: Add ext/aligned_buffer.h
* include/Makefile.in: Regenerate.
* include/ext/aligned_buffer.h: New.
* include/std/future (_Result): Use __aligned_buffer.
* include/bits/forward_list.h (_Fwd_list_node): Likewise.
* include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197554
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 7 Apr 2013 16:09:39 +0000 (16:09 +0000)]
* c-pragma.c (add_to_renaming_pragma_list): Fix leading comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197553
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Sun, 7 Apr 2013 15:42:27 +0000 (15:42 +0000)]
* include/bits/forward_list.h: Only include required headers.
(forward_list::reference): Define directly, not using __alloc_traits.
(forward_list::const_reference): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197552
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Sun, 7 Apr 2013 10:42:51 +0000 (10:42 +0000)]
2013-04-04 François Dumont <fdumont@gcc.gnu.org>
* include/std/functional (_Derives_from_unary_function): Remove.
(_Derives_from_binary_function): Remove.
* include/std/type_traits (__sfinae_types): Remove.
(__is_assignable_helper): Adapt.
(__is_convertible_helper): Adapt.
(_GLIBCXX_HAS_NESTED_TYPE): Adapt.
Remove several explicit instantiations of integral_constant.
* testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adapt dg-error line number.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
* testsuite/20_util/bind/ref_neg.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197551
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sun, 7 Apr 2013 08:41:17 +0000 (08:41 +0000)]
2013-04-07 Tobias Burnus <burnus@net-b.de>
PR fortran/56849
* iresolve.c (gfc_resolve_reshape): Set shape also
with order=.
2013-04-07 Tobias Burnus <burnus@net-b.de>
PR fortran/56849
* gfortran.dg/reshape_5.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197550
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 7 Apr 2013 00:16:29 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197549
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 6 Apr 2013 18:22:09 +0000 (18:22 +0000)]
PR other/55274
* config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197544
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 6 Apr 2013 17:42:27 +0000 (17:42 +0000)]
PR target/55487
* config/pa/pa.c (legitimize_pic_address): Before incrementing label
nuses, make sure we have a label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197541
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 6 Apr 2013 00:16:51 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197540
138bc75d-0d04-0410-961f-
82ee72b054a4
wschmidt [Fri, 5 Apr 2013 19:27:58 +0000 (19:27 +0000)]
gcc:
2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/56843
* config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove.
(rs6000_emit_swdiv_low_precision): Remove.
(rs6000_emit_swdiv): Rewrite to handle between one and four
iterations of Newton-Raphson generally; modify required number of
iterations for some cases.
* config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove.
gcc/testsuite:
2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/56843
* gcc.target/powerpc/recip-1.c: Modify expected output.
* gcc.target/powerpc/recip-3.c: Likewise.
* gcc.target/powerpc/recip-4.c: Likewise.
* gcc.target/powerpc/recip-5.c: Add expected output for iterations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197534
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Fri, 5 Apr 2013 19:23:17 +0000 (19:23 +0000)]
* bb-reorder.c (fix_crossing_unconditional_branches): Remove a
set-but-unused variable.
* cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make
basic blocks of released function bodies garbage-collectable.
* ree.c (find_and_remove_re): Do not call df_finish_pass here.
(struct rtl_opt_pass): Add TODO_df_finish.
* rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197533
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 17:26:12 +0000 (17:26 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
gcc/testsuite
* gcc.target/arm/peep-ldrd-1.c: New test.
* gcc.target/arm/peep-strd-1.c: Likewise.
gcc/
* config/arm/constraints.md (q): New constraint.
* config/arm/ldrdstrd.md: New file.
* config/arm/arm.md (ldrdstrd.md) New include.
(arm_movdi): Use "q" instead of "r" constraint
for double-word memory access.
(movdf_soft_insn): Likewise.
* config/arm/vfp.md (movdi_vfp): Likewise.
* config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md.
* config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration.
* config/arm/arm.c (gen_operands_ldrd_strd): New function.
(mem_ok_for_ldrd_strd): Likewise.
(output_move_double): Update assertion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197530
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 17:13:54 +0000 (17:13 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md: Comment on splitting Thumb1 patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197529
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 17:12:37 +0000 (17:12 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (arm_smax_insn): Convert define_insn into
define_insn_and_split.
(arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197528
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 17:08:53 +0000 (17:08 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into
define_insn_and_split.
(arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise.
(shiftsi3_compare): New pattern.
(rrx): New pattern.
* config/arm/unspecs.md (UNSPEC_RRX): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197527
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 17:05:03 +0000 (17:05 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
gcc/
* config/arm/arm.md (negdi_extendsidi): New pattern.
(negdi_zero_extendsidi): Likewise.
gcc/testsuite
* gcc.target/arm/negdi-1.c: New test.
* gcc.target/arm/negdi-2.c: Likewise.
* gcc.target/arm/negdi-3.c: Likewise.
* gcc.target/arm/negdi-4.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197526
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Fri, 5 Apr 2013 16:06:17 +0000 (16:06 +0000)]
2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* lib/target-supports.exp (add_options_for_arm_v8_neon):
Add -march=armv8-a when we use v8 NEON.
(check_effective_target_vect_call_btruncf): Remove arm-*-*-*.
(check_effective_target_vect_call_ceilf): Likewise.
(check_effective_target_vect_call_floorf): Likewise.
(check_effective_target_vect_call_roundf): Likewise.
(check_vect_support_and_set_flags): Remove check for arm_v8_neon.
* gcc.target/arm/vect-rounding-btruncf.c: New testcase.
* gcc.target/arm/vect-rounding-ceilf.c: Likewise.
* gcc.target/arm/vect-rounding-floorf.c: Likewise.
* gcc.target/arm/vect-rounding-roundf.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197523
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 15:52:25 +0000 (15:52 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into
define_insn_and_split.
(arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise.
(arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197522
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 15:48:19 +0000 (15:48 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (arm_subdi3): Convert define_insn into
define_insn_and_split.
(subdi_di_zesidi,subdi_di_sesidi): Likewise.
(subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197521
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 15:43:04 +0000 (15:43 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (subsi3_carryin): New pattern.
(subsi3_carryin_const): Likewise.
(subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise.
(subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197520
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 15:17:59 +0000 (15:17 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197519
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Fri, 5 Apr 2013 15:13:45 +0000 (15:13 +0000)]
2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable.
(addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197518
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Fri, 5 Apr 2013 15:03:11 +0000 (15:03 +0000)]
2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (arm_expand_builtin): Change fcode
type to unsigned int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197517
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 5 Apr 2013 13:33:09 +0000 (13:33 +0000)]
* gcc.target/powerpc/sd-vsx.c: Skip on AIX.
* gcc.target/powerpc/sd-pwr6.c: Same.
* gcc.dg/stack-usage-1.c: Define SIZE on AIX.
* g++.dg/debug/pr56294.C: XFAIL on AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197516
138bc75d-0d04-0410-961f-
82ee72b054a4
emsr [Fri, 5 Apr 2013 11:38:09 +0000 (11:38 +0000)]
There can be only one ref qualifier at most.
gcc/cp:
2013-04-05 Ed Smith-Rowland <3dw4rd@verizon.net>
* g++.dg/cpp0x/ref-qual-multi-neg.C: New test.
gcc/testsuite:
2013-04-05 Ed Smith-Rowland <3dw4rd@verizon.net>
* parser.c (cp_parser_ref_qualifier_seq_opt): Move to
cp_parser_ref_qualifier_opt. Error if more than one ref-qual found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197514
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Fri, 5 Apr 2013 10:24:00 +0000 (10:24 +0000)]
Document cortex-a53 in ARM options.
2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* doc/invoke.texi (ARM Options): Document cortex-a53 support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197513
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Fri, 5 Apr 2013 10:03:04 +0000 (10:03 +0000)]
PR libstdc++/56841
* libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
get_terminate() accessors.
* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
* libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
available.
* libsupc++/new_handler.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197512
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 5 Apr 2013 04:12:41 +0000 (04:12 +0000)]
* doc/standards.texi (Standards): The Go frontend supports the Go
1 language standard.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197507
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 5 Apr 2013 00:16:35 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197501
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Thu, 4 Apr 2013 19:21:01 +0000 (19:21 +0000)]
2013-04-04 Janus Weil <janus@gcc.gnu.org>
PR fortran/40881
* match.c (gfc_match_return): Remove standard notification.
* primary.c (gfc_match_actual_arglist): Add standard notification.
2013-04-04 Janus Weil <janus@gcc.gnu.org>
PR fortran/40881
* gfortran.dg/altreturn_1.f90: Add -std=gnu.
* gfortran.dg/altreturn_4.f90: Ditto.
* gfortran.dg/altreturn_3.f90: Replace -std=legacy by -std=gnu.
* gfortran.dg/altreturn_5.f90: Ditto.
* gfortran.dg/altreturn_6.f90: Ditto.
* gfortran.dg/altreturn_7.f90: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197495
138bc75d-0d04-0410-961f-
82ee72b054a4
meadori [Thu, 4 Apr 2013 18:42:19 +0000 (18:42 +0000)]
libgcc/
2013-04-04 Meador Inge <meadori@codesourcery.com>
* config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
computing the location of the link register.
(aeabi_uldivmod): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197493
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 4 Apr 2013 16:40:16 +0000 (16:40 +0000)]
PR middle-end/56729
* df-scan.c (df_insn_delete): Disable failing assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197492
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Thu, 4 Apr 2013 16:17:32 +0000 (16:17 +0000)]
2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* lib/target-supports.exp (check_effective_target_arm_v8_neon_hw):
New procedure.
(check_effective_target_arm_v8_neon_ok_nocache):
Likewise.
(check_effective_target_arm_v8_neon_ok): Change to use
check_effective_target_arm_v8_neon_ok_nocache.
(add_options_for_arm_v8_neon): Use et_arm_v8_neon_flags to set ARMv8
NEON flags.
(check_effective_target_vect_call_btruncf):
Enable for arm and ARMv8 NEON.
(check_effective_target_vect_call_ceilf): Likewise.
(check_effective_target_vect_call_floorf): Likewise.
(check_effective_target_vect_call_roundf): Likewise.
(check_vect_support_and_set_flags): Handle ARMv8 NEON effective
target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197491
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Thu, 4 Apr 2013 16:14:50 +0000 (16:14 +0000)]
2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm-protos.h (arm_builtin_vectorized_function):
New function prototype.
* config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define.
(TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise.
(arm_builtin_vectorized_function): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197490
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Thu, 4 Apr 2013 15:54:50 +0000 (15:54 +0000)]
2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm_neon_builtins.def: New file.
* config/arm/arm.c (neon_builtin_data): Move contents to
arm_neon_builtins.def.
(enum arm_builtins): Include neon builtin definitions.
(ARM_BUILTIN_NEON_BASE): Move from enum to macro.
* config/arm/t-arm (arm.o): Add dependency on
arm_neon_builtins.def.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197489
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Thu, 4 Apr 2013 15:48:25 +0000 (15:48 +0000)]
PR tree-optimization/48186
* predict.c (maybe_hot_frequency_p): Return false if
HOT_BB_FREQUENCY_FRACTION is 0.
(cgraph_maybe_hot_edge_p): Likewise.
* gcc.dg/pr48186.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197487
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 4 Apr 2013 15:06:44 +0000 (15:06 +0000)]
2013-04-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/56826
* tree-vect-slp.c (vect_build_slp_tree): Compute ncopies
more accurately.
* gcc.dg/vect/pr56826.c: New testcase.
* gcc.dg/vect/O3-pr36098.c: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197486
138bc75d-0d04-0410-961f-
82ee72b054a4
belagod [Thu, 4 Apr 2013 12:28:21 +0000 (12:28 +0000)]
2013-04-04 Tejas Belagod <tejas.belagod@arm.com>
testsuite/
* gcc.target/aarch64/inc/asm-adder-clobber-lr.c: Remove duplication.
* gcc.target/aarch64/inc/asm-adder-no-clobber-lr.c: Likewise.
* gcc.target/aarch64/test-framepointer-1.c: Likewise.
* gcc.target/aarch64/test-framepointer-2.c: Likewise.
* gcc.target/aarch64/test-framepointer-3.c: Likewise.
* gcc.target/aarch64/test-framepointer-4.c: Likewise.
* gcc.target/aarch64/test-framepointer-5.c: Likewise.
* gcc.target/aarch64/test-framepointer-6.c: Likewise.
* gcc.target/aarch64/test-framepointer-7.c: Likewise.
* gcc.target/aarch64/test-framepointer-8.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197481
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 4 Apr 2013 12:19:30 +0000 (12:19 +0000)]
2013-04-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/56213
* tree-vect-data-refs.c (vect_check_strided_load): Remove.
(vect_analyze_data_refs): Allow all non-nested loads as
strided loads.
* gcc.dg/vect/vect-123.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197480
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 4 Apr 2013 11:24:15 +0000 (11:24 +0000)]
2013-04-04 Tobias Burnus <burnus@net-b.de>
PR fortran/56810
* io/list_read.c (check_type): Fix kind checking for COMPLEX.
2013-04-04 Tobias Burnus <burnus@net-b.de>
PR fortran/56810
* gfortran.dg/read_repeat_2.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197479
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 4 Apr 2013 10:55:25 +0000 (10:55 +0000)]
2013-04-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/56837
* tree-loop-distribution.c (classify_partition): For non-zero
values require that the value has the same precision as its
mode to be useful as memset value.
* g++.dg/torture/pr56837.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197476
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 4 Apr 2013 08:56:09 +0000 (08:56 +0000)]
* testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197472
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 4 Apr 2013 07:25:35 +0000 (07:25 +0000)]
oops - omitted this from previous delta:
* config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5
architectures.
(fmssf4): Use fmsf.s on E3V5 architectures.
(fnmasf4): Use fnmaf.s on E3V5 architectures.
(fnmssf4): Use fnmsf.s on E3V5 architectures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197469
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 4 Apr 2013 07:22:24 +0000 (07:22 +0000)]
2013-04-04 Tobias Burnus <burnus@net-b.de>
PR fortran/50269
* gcc/fortran/check.c (is_c_interoperable,
gfc_check_c_loc): Correct c_loc array checking
for Fortran 2003 and Fortran 2008.
2013-04-04 Tobias Burnus <burnus@net-b.de>
PR fortran/50269
* gfortran.dg/c_loc_test_21.f90: New.
* gfortran.dg/c_loc_test_19.f90: Update dg-error.
* gfortran.dg/c_loc_tests_10.f03: Update dg-error.
* gfortran.dg/c_loc_tests_11.f03: Update dg-error.
* gfortran.dg/c_loc_tests_4.f03: Update dg-error.
* gfortran.dg/c_loc_tests_16.f90: Update dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197468
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 4 Apr 2013 05:12:48 +0000 (05:12 +0000)]
* Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
(lra-eliminations.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197467
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 4 Apr 2013 03:13:51 +0000 (03:13 +0000)]
* cp-tree.h (FUNCTION_OR_METHOD_TYPE_CHECK): Remove.
(TYPE_RAISES_EXCEPTIONS): Use FUNC_OR_METHOD_CHECK instead.
(FUNCTION_REF_QUALIFIED, FUNCTION_RVALUE_QUALIFIED): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197466
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 4 Apr 2013 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197464
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 4 Apr 2013 00:14:00 +0000 (00:14 +0000)]
libiberty/
* cp-demangle.c (cplus_demangle_type): Fix function quals.
(d_pointer_to_member_type): Simplify.
gcc/cp/
* mangle.c (write_type): When writing a function type with
function-cv-quals, don't add the unqualified type as a
substitution candidate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197460
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 3 Apr 2013 21:08:44 +0000 (21:08 +0000)]
2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
* c-common.c (pointer_int_sum): Remove dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197458
138bc75d-0d04-0410-961f-
82ee72b054a4
tejohnson [Wed, 3 Apr 2013 20:51:28 +0000 (20:51 +0000)]
This patch enables the gcov-dump tool to optionally compute and dump
the working set information from the counter histogram, via a new -w option.
This is useful to help understand and tune how the compiler will use
the counter histogram, since it first computes the working set and selects
thresholds based on that.
This required moving the bulk of the compute_working_sets functionality
into gcov-io.c so that it was accessible by gcov-dump.c.
2013-04-03 Teresa Johnson <tejohnson@google.com>
* gcov-io.c (compute_working_sets): Moved most of body of old
compute_working_sets here from profile.c.
* gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c.
(gcov_working_set_t): Moved typedef here from basic-block.h
(compute_working_set): Declare.
* profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h.
(get_working_sets): Renamed from compute_working_set,
replace most of body with call to new compute_working_sets.
(get_exec_counts): Replace call to compute_working_sets
to get_working_sets.
* profile.h (get_working_sets): Renamed from
compute_working_set.
* lto-cgraph.c (input_symtab): Replace call to compute_working_sets
to get_working_sets.
* basic-block.h (gcov_working_set_t): Moved to gcov-io.h.
* gcov-dump.c (dump_working_sets): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197457
138bc75d-0d04-0410-961f-
82ee72b054a4
zadeck [Wed, 3 Apr 2013 20:24:07 +0000 (20:24 +0000)]
2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com>
* hwint.c (sext_hwi, zext_hwi): New functions.
* hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT,
HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C,
HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C,
HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX,
HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols.
(sext_hwi, zext_hwi): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197456
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 3 Apr 2013 19:18:09 +0000 (19:18 +0000)]
PR tree-optimization/56799
* tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring
back test for widening conversion erroneously dropped in prior
change.
PR tree-optimization/56799
* gcc.c-torture/execute/pr56799.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197453
138bc75d-0d04-0410-961f-
82ee72b054a4