1. 14 Apr, 2014 15 commits
    • opt.ads (Suppress_Back_Annotation): Remove as unused. · 4116e7d0
      	* opt.ads (Suppress_Back_Annotation): Remove as unused.
      	* fe.h (Back_Annotate_Rep_Info): Likewise.
      	(Global_Discard_Names): Likewise.
      	(List_Representation_Info): Declare.
      	* types.h (Uint_Minus_1): Likewise.
      	* repinfo.ads: Document back-annotation change.
      	* gcc-interface/gigi.h (init_gnat_decl): Declare.
      	(destroy_gnat_decl): Likewise.
      	* gcc-interface/decl.c (annotate_value): Do not create the cache of
      	annotated values here but...
      	<CALL_EXPR>: Only inline the call if -gnatR3 is specified or we are
      	in ASIS mode.
      	(init_gnat_decl): ...here instead.  New function.
      	(destroy_gnat_decl): Likewise.
      	* gcc-interface/trans.c (gigi): Call {init|destroy}_gnat_decl.
      	* gcc-interface/utils.c (init_gnat_utils): Minor reformatting.
      
      Co-Authored-By: Robert Dewar <dewar@adacore.com>
      
      From-SVN: r209371
      Eric Botcazou committed
    • stor-layout.c (place_field): Finalize non-constant offset for the field, if any. · cb27986c
      	* stor-layout.c (place_field): Finalize non-constant offset for the
      	field, if any.
      ada/
      	* gcc-interface/decl.c (create_field_decl_from): Finalize non-constant
      	offset for the field, if any.
      
      From-SVN: r209369
      Eric Botcazou committed
    • Skip gcc.dg/lto/pr55113 on Solaris 10+/x86 · 069fdd05
      	* gcc.dg/lto/pr55113_0.c: Skip on i?86-*-solaris2.1[0-1]*.
      
      From-SVN: r209367
      Rainer Orth committed
    • re PR c/60819 (dse1 removing not-dead insn (aliasing issue?)) · b0f1bf36
      2014-04-14  Richard Biener  <rguenther@suse.de>
      	Marc Glisse  <marc.glisse@inria.fr>
      
      	PR c/60819
      	c-family/
      	* c-common.c (convert_vector_to_pointer_for_subscript): Properly
      	apply may-alias the scalar pointer type when applicable.
      
      	* gcc.target/i386/vec-may_alias.c: New testcase.
      
      Co-Authored-By: Marc Glisse <marc.glisse@inria.fr>
      
      From-SVN: r209365
      Richard Biener committed
    • tree-switch-conversion.c (lshift_cheap_p): Get speed_p as argument. · 72798784
      2014-04-14  Richard Biener  <rguenther@suse.de>
      
      	* tree-switch-conversion.c (lshift_cheap_p): Get speed_p
      	as argument.
      	(expand_switch_using_bit_tests_p): Likewise.
      	(process_switch): Compute and pass on speed_p based on the
      	switch stmt.
      	* tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
      	optimize_bb_for_speed_p.
      
      From-SVN: r209364
      Richard Biener committed
    • cfgloop.h (struct loop): Rename force_vect into force_vectorize. · b15b5979
      	* cfgloop.h (struct loop): Rename force_vect into force_vectorize.
      	* function.h (struct function): Rename has_force_vect_loops into
      	has_force_vectorize_loops.
      	* lto-streamer-in.c (input_cfg): Adjust for renaming.
      	(input_struct_function_base): Likewise.
      	* lto-streamer-out.c (output_cfg): Likewise.
      	(output_struct_function_base): Likewise.
      	* omp-low.c (expand_omp_simd): Likewise.
      	* tree-cfg.c (move_sese_region_to_fn): Likewise.
      	* tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise.
      	(version_loop_for_if_conversion): Likewise.
      	(tree_if_conversion): Likewise.
      	(main_tree_if_conversion): Likewise.
      	(gate_tree_if_conversion): Likewise.
      	* tree-inline.c (copy_loops): Likewise.
      	* tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise.
      	* tree-ssa-loop.c (tree_loop_vectorize): Likewise.
      	* tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
      	* tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise.
      	* tree-vectorizer.c (vectorize_loops): Likewise.
      	* tree-vectorizer.h (unlimited_cost_model): Likewise.
      
      From-SVN: r209362
      Eric Botcazou committed
    • Fix vect_widen_mult_si_to_di_pattern on non-x86/ia64 targets · e5b1a4bc
      	* lib/target-supports.exp
      	(check_effective_target_vect_widen_mult_si_to_di_pattern):
      	Initialize et_vect_widen_mult_si_to_di_pattern_saved.
      	Fix formatting.
      
      From-SVN: r209361
      Rainer Orth committed
    • pt.c (mark_template_parm): Use template_parm_level_and_index. · 8095617b
      2014-04-14  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* pt.c (mark_template_parm): Use template_parm_level_and_index.
      
      From-SVN: r209360
      Paolo Carlini committed
    • re PR lto/60720 (clisp fails to build with -flto: internal compiler error: tree… · 8359c87e
      re PR lto/60720 (clisp fails to build with -flto: internal compiler error: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6941)
      
      2014-04-14  Richard Biener  <rguenther@suse.de>
      
      	PR lto/60720
      	* lto-streamer-out.c (wrap_refs): New function.
      	(lto_output): Wrap symbol references in global initializes in
      	type-preserving MEM_REFs.
      
      	* gcc.dg/lto/pr60720_0.c: New testcase.
      	* gcc.dg/lto/pr60720_1.c: Likewise.
      
      From-SVN: r209359
      Richard Biener committed
    • sh-mem.cc (sh_expand_strlen): Unroll last word. · 9447df74
      2014-04-14  Christian Bruel  <christian.bruel@st.com>
      
             * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word.
      
      From-SVN: r209358
      Christian Bruel committed
    • sh.md (setmemqi): New expand pattern. · fa1aecc1
      2014-04-14  Christian Bruel  <christian.bruel@st.com>
      
             * config/sh/sh.md (setmemqi): New expand pattern.
             * config/sh/sh.h (CLEAR_RATIO): Define.
             * config/sh/sh-mem.cc (sh_expand_setmem): Define.
             * config/sh/sh-protos.h (sh_expand_setmem): Declare.
      
      From-SVN: r209357
      Christian Bruel committed
    • re PR tree-optimization/55022 (air.f90 is miscompliled with -m64 -O2… · a3c77ce9
      re PR tree-optimization/55022 (air.f90 is miscompliled with -m64 -O2 -fgraphite-identity after revision 190619)
      
      2014-04-14  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/55022
      	* fold-const.c (negate_expr_p): Don't negate directional rounding
      	division.
      	(fold_negate_expr): Likewise.
      
      	* gcc.dg/graphite/pr55022.c: New testcase.
      
      From-SVN: r209356
      Richard Biener committed
    • re PR tree-optimization/59817 (ICE in extract_affine_chrec with -O2 -ftree-loop-linear) · 033aa406
      2014-04-14  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/59817
      	PR tree-optimization/60453
      	* graphite-scop-detection.c (graphite_can_represent_scev): Complete
      	recursion to catch all CHRECs in the scalar evolution and restrict
      	the predicate for the remains appropriately.
      
      	* gfortran.dg/graphite/pr59817.f: New testcase.
      	* gcc.dg/graphite/pr59817-1.c: Likewise.
      	* gcc.dg/graphite/pr59817-2.c: Likewise.
      
      From-SVN: r209355
      Richard Biener committed
    • revert: gcc-dg.exp (dg-build-dso): New. · b82b0648
      	Revert:
      	* lib/gcc-dg.exp (dg-build-dso): New.
      	(gcc-dg-test-1): Handle dg-do-what "dso".
      
      From-SVN: r209353
      Jason Merrill committed
    • Daily bump. · 9dc85053
      From-SVN: r209352
      GCC Administrator committed
  2. 13 Apr, 2014 2 commits
    • re PR fortran/58085 (Wrong indexing of an array in ASSOCIATE) · 1cf43a1d
      2014-04-13  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/58085
      	PR fortran/60717
      	* trans.h: Add 'use_offset' bitfield to gfc_se.
      	* trans-array.c (gfc_conv_expr_descriptor): Use 'use_offset'
      	as a trigger to unconditionally recalculate the offset for
      	array slices and constant arrays.
      	trans-expr.c (gfc_conv_intrinsic_to_class): Use it.
      	trans-stmt.c (trans_associate_var): Ditto.
      	(gfc_conv_procedure_call): Ditto.
      
      2014-04-13  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/60717
      	* gfortran.dg/unlimited_polymorphic_17.f90: New test.
      
      	PR fortran/58085
      	* gfortran.dg/associate_15.f90: New test.
      
      From-SVN: r209347
      Paul Thomas committed
    • Daily bump. · ef3a248f
      From-SVN: r209344
      GCC Administrator committed
  3. 12 Apr, 2014 5 commits
  4. 11 Apr, 2014 18 commits