1. 17 Nov, 2015 16 commits
  2. 16 Nov, 2015 24 commits
    • * sv.po: Update. · f7f719b8
      From-SVN: r230442
      Joseph Myers committed
    • vsx.md (VSX_L): Do not include IBM extended double 128-bit types... · 711c065c
      2015-11-16  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/vsx.md (VSX_L): Do not include IBM extended double
      	128-bit types, just types that fit in a single vector.
      	* config/rs6000/rs6000.md (FMOVE128_GPR): Likewise.
      
      From-SVN: r230440
      Michael Meissner committed
    • inline asm and multi-alternative constraints · 4f237f2e
      	* doc/md.texi ('#' and '*' constraint modifiers): Do not include these
      	in the user documentation.
      	(define_peephole2, define_split): Similarly.
      
      From-SVN: r230439
      David Wohlferd committed
    • re PR libstdc++/67440 (pretty-printing of a const set<foo> fails) · 46d825c5
      	PR libstdc++/67440
      	* python/libstdcxx/v6/printers.py (find_type): Handle "const" in
      	type name.
      	* testsuite/libstdc++-prettyprinters/debug.cc: Add test for
      	const set<int>.
      	* testsuite/libstdc++-prettyprinters/simple.cc: Ditto.
      	* testsuite/libstdc++-prettyprinters/simple11.cc: Ditto.
      
      From-SVN: r230437
      Doug Evans committed
    • lto-streamer-out.c (write_global_references): Adjust integer type. · 83b4db6d
      	* lto-streamer-out.c (write_global_references): Adjust integer type.
      	(lto_output_decl_state_refs): Likewise.
      
      From-SVN: r230436
      Andris Pavenis committed
    • re PR c++/68362 (ICE: tree check: expected integer_cst, have nop_expr in get_val, at tree.h:5157) · 0f62c7a0
      	PR c++/68362
      	* c-common.c (check_case_bounds): Fold low and high cases.
      
      	* g++.dg/delayedfold/switch-1.C: New test.
      
      From-SVN: r230435
      Marek Polacek committed
    • re PR fortran/58027 ("Arithmetic overflow converting ..." in PARAMETER triggers an ICE) · 3e6ab828
      2015-11-16  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/58027
      	PR fortran/60993
      	* expr.c (gfc_check_init_expr): Prevent a redundant check when a
      	__convert_* function was inserted into an array constructor.
      	(gfc_check_assign_symbol): Check for an initialization expression
      	when a __convert_* was inserted.
      
      2015-11-16  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/58027
      	PR fortran/60993
      	* gfortran.dg/pr58027.f90: New test.
      
      From-SVN: r230433
      Steven G. Kargl committed
    • c-ada-spec.c (dump_ada_template): Use RECORD_OR_UNION_TYPE_P. · a868811e
      	* c-ada-spec.c (dump_ada_template): Use RECORD_OR_UNION_TYPE_P.
      	* c-common.c (c_common_get_alias_set): Likewise.
      	(handle_visibility_attribute): Likewise.
      
      From-SVN: r230432
      Marek Polacek committed
    • [Patch ARM] Add support for Cortex-A35 · 971f13d7
      gcc/
      
      	* config/arm/arm-cores.def (cortex-a35): New.
      	* config/arm/arm.c (arm_cortex_a35_tune): New.
      	* config/arm/arm-tables.opt: Regenerate.
      	* config/arm/arm-tune.md: Regenerate.
      	* config/arm/bpabi.h (BE8_LINK_SPEC): Add cortex-a35.
      	* config/arm/t-aprofile: Likewise.
      	* doc/invoke.texi (-mcpu): Likewise.
      
      From-SVN: r230431
      James Greenhalgh committed
    • Add missing v8a cpus to the t-aprofile file. · 6480dc9d
      gcc/
      	* config/arm/t-aprofile (MULTILIB_MATCHES): Add lines for exynos-m1
      	and qdf24xx and xgene1 to match -march=armv8-a.
      
      From-SVN: r230430
      Jim Wilson committed
    • simplify-rtx: Simplify sign_extend of lshiftrt to zero_extend (PR68330) · 7d006b0d
      Since r230164, in PR68330 combine ends up with a sign_extend of an
      lshiftrt by some constant, and it does not know to morph that into a
      zero_extract (the extend will always extend with zeroes).  I think
      it is best to let simplify-rtx always replace such a sign_extend by
      a zero_extend, after which everything works as expected.
      
      
      2015-11-15  Segher Boessenkool  <segher@kernel.crashing.org>
      
      	PR rtl-optimization/68330
      	* simplify-rtx.c (simplify_unary_operation_1): Simplify SIGN_EXTEND
      	of LSHIFTRT by a non-zero constant integer.
      
      From-SVN: r230429
      Segher Boessenkool committed
    • re PR tree-optimization/68306 (ICE: in vectorizable_store, at tree-vect-stmts.c:5651) · 513ecaea
      2015-11-16  Richard Biener  <rguenther@suse.de>
      
              PR tree-optimization/68306
      	* tree-vect-data-refs.c (vect_verify_datarefs_alignment): Fix
      	bogus copying from verify_data_ref_alignment and use continue
      	instead of return.
      
      From-SVN: r230428
      Richard Biener committed
    • re PR target/68277 ([SH]: error: insn does not satisfy its constraints when compiling erlang) · 2fe8dfe8
      gcc/
      	PR target/68277
      	* config/sh/sh.md (addsi3_scr): Handle reg overlap of operands[0] and
      	operands[2].
      	(*addsi3): Add another insn_and_split variant for reload.
      
      Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org>
      
      From-SVN: r230425
      Oleg Endo committed
    • re PR middle-end/68117 (error: invalid PHI argument <<< Unknown tree: <invalid tree code> >>>) · 0d334e37
      2015-11-16  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/68117
      	* cfgexpand.c (pass_expand::execute): Destroy the edge
      	redirection var map before setting RTL CFG hooks.
      
      From-SVN: r230424
      Richard Biener committed
    • [i386]Migrate reduction optabs to reduc_<op>_scal · def4ad19
      	* config/i386/sse.md (reduc_splus_v8df): Rename to...
      	(reduc_plus_scal_v8df): ...here; reduce to temp and extract scalar.
      
      	(reduc_splus_v4df): Rename to...
      	(reduc_plus_scal_v4df): ...here; reduce to temp and extract scalar.
      
      	(reduc_splus_v2df): Rename to...
      	(reduc_plus_scal_v2df): ...here; reduce to temp and extract scalar.
      
      	(reduc_splus_v16sf): Rename to...
      	(reduc_plus_scal_v16sf): ...here; reduce to temp and extract scalar.
      
      	(reduc_splus_v8sf): Rename to...
      	(reduc_plus_scal_v8sf): ...here; reduce to temp and extract scalar.
      
      	(reduc_splus_v4sf): Rename to...
      	(reduc_plus_scal_v4sf): ...here; reduce to temp and extract scalar.
      
      	(reduc_<code>_<mode>, all 3 variants): Rename each to...
      	(reduc_<code>_scal_<mode>): ...here; reduce to temp and extract scalar.
      
      	(reduc_umin_v8hf): Rename to...
      	(reduc_umin_scal_v8hf): ...here; reduce to temp and extract scalar.
      
      From-SVN: r230423
      Alan Lawrence committed
    • Add __attribute__((__simd__)) to GCC. · fff77217
      gcc/
      	* omp-low.c (pass_omp_simd_clone::gate): If target allows - call
      	without additional conditions.
      	* doc/extend.texi (@item simd): New.
      gcc/c-family/
      	* c-common.c (handle_simd_attribute): New.
      	(struct attribute_spec): Add entry for "simd".
      	(handle_simd_attribute): New.
      gcc/c/
      	* c-parser.c (c_finish_omp_declare_simd): Look for
      	"simd" attribute as well. Update error message.
      gcc/cp/
      	* parser.c (cp_parser_late_parsing_cilk_simd_fn_info): Look for
      	"simd" attribute as well. Update error message.
      gcc/testsuite/
      	* c-c++-common/attr-simd.c: New test.
      	* c-c++-common/attr-simd-2.c: New test.
      	* c-c++-common/attr-simd-3.c: New test.
      
      From-SVN: r230422
      Kirill Yukhin committed
    • [AArch64] Fix gcc.target/aarch64/vclz.c · 56b08a58
      	* gcc.target/aarch64/vclz.c: Correctly place INHIB_OPTIMIZATION.
      
      From-SVN: r230421
      Alan Lawrence committed
    • Remove first_pass_instance · 7cf76184
      2015-11-16  Tom de Vries  <tom@codesourcery.com>
      
      	* passes.c (first_pass_instance): Remove variable.
      	(execute_todo): Remove setting of first_pass_instance.
      	* tree-pass.h (first_pass_instance): Remove declaration.
      
      From-SVN: r230420
      Tom de Vries committed
    • Remove first_pass_instance from pass_ccp · c06883ac
      2015-11-16  Tom de Vries  <tom@codesourcery.com>
      
      	* passes.def: Add arg to pass_ccp pass instantiation.
      	* tree-ssa-ccp.c (ccp_finalize): Add param nonzero_p.  Use nonzero_p
      	instead of first_pass_instance.
      	(do_ssa_ccp): Add and handle param nonzero_p.
      	(pass_ccp::pass_ccp): Initialize nonzero_p.
      	(pass_ccp::set_pass_param): New member function.  Set nonzero_p.
      	(pass_ccp::execute): Call do_ssa_ccp with extra arg.
      	(pass_ccp::nonzero_p): New private member.
      
      From-SVN: r230419
      Tom de Vries committed
    • Remove first_pass_instance from pass_object_sizes · 813ccd83
      2015-11-16  Tom de Vries  <tom@codesourcery.com>
      
      	* passes.def: Add arg to pass_object_sizes pass instantiation.
      	* tree-object-size.c (pass_object_sizes::pass_object_sizes): Initialize
      	insert_min_max_p.
      	(pass_object_sizes::set_pass_param): New member function.  Set
      	insert_min_max_p.
      	(pass_object_sizes::insert_min_max_p): New private member.
      	(pass_object_sizes::execute): Use insert_min_max_p instead of
      	first_pass_instance.
      
      From-SVN: r230418
      Tom de Vries committed
    • Remove first_pass_instance from pass_dominator · 5ce8d99a
      2015-11-16  Tom de Vries  <tom@codesourcery.com>
      
      	* passes.def: Add arg to pass_dominator pass instantiation.
      	* tree-pass.h (first_pass_instance): Remove pass_dominator-related bit
      	of comment.
      	* tree-ssa-dom.c (pass_dominator::pass_dominator): Initialize
      	may_peel_loop_headers_p.
      	(pass_dominator::set_pass_param): New member function.  Set
      	may_peel_loop_headers_p.
      	(pass_dominator::may_peel_loop_headers_p): New private member.
      	(pass_dominator::execute): Use may_peel_loop_headers_p instead of
      	first_pass_instance.
      
      From-SVN: r230417
      Tom de Vries committed
    • Remove first_pass_instance from pass_reassoc · 2162bfe1
      2015-11-16  Tom de Vries  <tom@codesourcery.com>
      
      	* passes.def: Add arg to pass_reassoc pass instantiation.
      	* tree-ssa-reassoc.c (reassoc_insert_powi_p): New static variable.
      	(acceptable_pow_call, reassociate_bb): Use reassoc_insert_powi_p instead
      	of first_pass_instance.
      	(execute_reassoc): Add and handle insert_powi_p parameter.
      	(pass_reassoc::insert_powi_p): New private member.
      	(pass_reassoc::pass_reassoc): Initialize insert_powi_p.
      	(pass_reassoc::set_pass_param): New member function.  Set insert_powi_p.
      	(pass_reassoc::execute): Call execute_reassoc with extra arg.
      
      From-SVN: r230416
      Tom de Vries committed
    • Remove first_pass_instance from pass_vrp · b0c77505
      2015-11-16  Tom de Vries  <tom@codesourcery.com>
      
      	* gdbhooks.py (class PassNames): Handle extra arg NEXT_PASS argument.
      	* gen-pass-instances.awk (handle_line): Same.
      	* pass_manager.h (class pass_manager): Define and undefine
      	NEXT_PASS_WITH_ARG.
      	* passes.c (opt_pass::set_pass_param): New function.
      	(pass_manager::pass_manager): Define and undefine NEXT_PASS_WITH_ARG.
      	* passes.def: Add extra arg to NEXT_PASS (pass_vrp).
      	* tree-pass.h (gimple_opt::set_pass_param): Declare.
      	* tree-vrp.c (vrp_finalize, execute_vrp): Add and handle
      	warn_array_bounds_p parameter.
      	(pass_vrp::pass_vrp): Initialize warn_array_bounds_p.
      	(pass_vrp::set_pass_param): New function.
      	(pass_vrp::execute): Add warn_array_bounds_p arg to execute_vrp call.
      	(pass_vrp::warn_array_bounds_p): New private member.
      
      From-SVN: r230415
      Tom de Vries committed
    • sparc.c (sparc_emit_probe_stack_range): Adjust. · 632b0921
      	* config/sparc/sparc.c (sparc_emit_probe_stack_range): Adjust.
      	(output_probe_stack_range): Rotate the loop and simplify.
      
      From-SVN: r230414
      Eric Botcazou committed