1. 31 Oct, 2015 9 commits
  2. 30 Oct, 2015 31 commits
    • * config-list.mk (nvptx-none): Add it. · 27776f55
      From-SVN: r229611
      Nathan Sidwell committed
    • nvptx.h (HARD_REGNO_NREGS): Avoid warning on unused args. · 9251aec6
      	* config/nvptx/nvptx.h (HARD_REGNO_NREGS): Avoid warning on unused
      	args.
      	(MOVE_MAX): Set to 8.
      
      Co-Authored-By: Nathan Sidwell <nathan@acm.org>
      
      From-SVN: r229610
      Jeff Law committed
    • gfortran.h (gfc_omp_namespace): Add locus where member. · 2ac33bca
      	gcc/fortran/
      	* gfortran.h (gfc_omp_namespace): Add locus where member.
      	* openmp.c (gfc_match_omp_variable_list): Set where for each list
      	item found.
      	(resolve_omp_clauses): Remove where argument and use the where
      	gfc_omp_namespace member when reporting errors.
      	(resolve_omp_do):  Update call to resolve_omp_clauses.
      	(resolve_oacc_loop): Likewise.
      	(gfc_resolve_oacc_directive): Likewise.
      	(gfc_resolve_omp_directive): Likewise.
      	(gfc_resolve_omp_declare_simd): Likewise.
      
      	gcc/testsuite/
      	* gfortran.dg/gomp/intentin1.f90: Adjust copyprivate warning.
      
      From-SVN: r229609
      Cesar Philippidis committed
    • cgraph.c: Include context.h for offloading. · 2631d4eb
      	gcc/
      	* cgraph.c: Include context.h for offloading.
      	* varpool.c: Include context.h and omp-low.h.
      
      From-SVN: r229608
      Cesar Philippidis committed
    • Add contains_symbol_ref_p · d614335f
      From-SVN: r229607
      Anatoly Sokolov committed
    • re PR fortran/46588 (ICE with assumed character length function) · a6906c80
      2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/46588
      	* gfortran.dg/pr46588.f90: New test.
      
      From-SVN: r229606
      Steven G. Kargl committed
    • Share code from fold_array_ctor_reference with fold. · 6a636014
              * gimple-fold.c (fold_array_ctor_reference): Move searching code to:
              * fold-const.c (get_array_ctor_element_at_index): New.
              (fold): Remove binary-search through CONSTRUCTOR, call previous.
      
              * fold-const.h (get_array_ctor_element_at_index): New.
      
      From-SVN: r229605
      Alan Lawrence committed
    • Makefile.in (OBJS): Add multiple_target.o. · 3b1661a9
      2015-10-30  Evgeny Stupachenko  <evstupac@gmail.com>
      
      gcc/
      	* Makefile.in (OBJS): Add multiple_target.o.
      	* attrib.c (make_attribute): Moved from config/i386/i386.c
      	* config/i386/i386.c (make_attribute): Deleted.
      	* multiple_target.c (create_dispatcher_calls): New.
      	(get_attr_len): Ditto.
      	(get_attr_str): Ditto.
      	(separate_attrs): Ditto.
      	(is_valid_asm_symbol): Ditto.
      	(create_new_asm_name): Ditto.
      	(create_target_clone): Ditto.
      	(expand_target_clones): Ditto.
      	(ipa_target_clone): Ditto.
      	(ipa_dispatcher_calls): Ditto.
      	* passes.def (pass_target_clone): Two new ipa passes.
      	* tree-pass.h (make_pass_target_clone): Ditto.
      	* doc/extend.texi (target_clones): New attribute description.
      gcc/c-family/
      	* c-common.c (handle_target_clones_attribute): New.
      	(c_common_attribute_table): Add handle_target_clones_attribute.
      	(handle_always_inline_attribute): Add check on target_clones attribute.
      	(handle_target_attribute): Ditto.
      gcc/testsuite/
      	* gcc.dg/mvc1.c: New test for multiple targets cloning.
      	* gcc.dg/mvc2.c: Ditto.
      	* gcc.dg/mvc3.c: Ditto.
      	* gcc.dg/mvc4.c: Ditto.
      	* gcc.dg/mvc5.c: Ditto.
      	* gcc.dg/mvc6.c: Ditto.
      	* gcc.dg/mvc7.c: Ditto.
      	* g++.dg/ext/mvc1.C: Ditto.
      	* g++.dg/ext/mvc2.C: Ditto.
      	* g++.dg/ext/mvc3.C: Ditto.
      	* g++.dg/ext/mvc4.C: Ditto.
      
      From-SVN: r229595
      Evgeny Stupachenko committed
    • re PR fortran/51993 (Erroneous type component initialization leads to internal compiler error) · 834e9dbb
      2015-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/51993
      	* decl.c (gfc_set_constant_character_len): Convert gcc_assert into an
      	if-statement causing an early return leads to valid error message.
      
      2015-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/51993
      	* gfortran.dg/pr51993.f90: New test.
      
      From-SVN: r229594
      Steven G. Kargl committed
    • re PR rtl-optimization/68106 (c-c++-common/torture/builtin-arith-overflow-11.c… · 99a04f4f
      re PR rtl-optimization/68106 (c-c++-common/torture/builtin-arith-overflow-11.c FAILs with -flra-remat @ aarch64)
      
      2015-10-30  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/68106
      	* lra-remat.c (input_regno_present_p): Process hard regs
      	explicitly present in machine description insns.
      	(call_used_input_regno_present_p): Ditto.
      	(calculate_gen_cands): Ditto.
      	(do_remat): Ditto.
      
      2015-10-30  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/68106
      	* gcc.target/aarch64/pr68106.c: New.
      
      From-SVN: r229593
      Vladimir Makarov committed
    • re PR fortran/36192 (ICE with wrong index types and bad parens) · edcc76d5
      2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/36192
      	* interface.c (get_expr_storage_size):  Check for INTEGER type before
      	calling gmp routines.
      
      2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/36192
      	* gfortran.dg/pr36192_1.f90: New test.
      
      From-SVN: r229590
      Steven G. Kargl committed
    • re PR fortran/68154 (ICE on initializing character parameter array (explicit, implied)) · dc0f176a
      2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/68154
      	* decl.c (add_init_expr_to_sym): if the char length in the typespec
      	is NULL, check for and use a constructor. 
      
      2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/68154
      	*gfortran.dg/pr68154.f90
      
      From-SVN: r229588
      Steven G. Kargl committed
    • Fix comment typo. · e3316e3c
      	* config/arm/neon-testgen.ml: Fix comment typo.
      
      From-SVN: r229587
      Jim Wilson committed
    • [comment] Improve comment for reg_set_p · a69a0436
      	* rtlanal.c (reg_set_p): Expand function comment.
      
      From-SVN: r229586
      Kyrylo Tkachov committed
    • alias.c: Remove unused headers. · 68a750e9
      
      2015-10-30  Andrew MacLeod  <amacleod@redhat.com>
      	
      	* alias.c: Remove unused headers.
      	* asan.c: Likewise.
      	* attribs.c: Likewise.
      	* auto-inc-dec.c: Likewise.
      	* auto-profile.c: Likewise.
      	* bb-reorder.c: Likewise.
      	* bitmap.c: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* caller-save.c: Likewise.
      	* calls.c: Likewise.
      	* ccmp.c: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloopanal.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraphbuild.c: Likewise.
      	* cgraphclones.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* cilk-common.c: Likewise.
      	* combine-stack-adj.c: Likewise.
      	* combine.c: Likewise.
      	* compare-elim.c: Likewise.
      	* convert.c: Likewise.
      	* coverage.c: Likewise.
      	* cppbuiltin.c: Likewise.
      	* cprop.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* data-streamer-in.c: Likewise.
      	* data-streamer-out.c: Likewise.
      	* data-streamer.c: Likewise.
      	* dbxout.c: Likewise.
      	* dce.c: Likewise.
      	* ddg.c: Likewise.
      	* debug.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* dfp.c: Likewise.
      	* dojump.c: Likewise.
      	* dominance.c: Likewise.
      	* domwalk.c: Likewise.
      	* double-int.c: Likewise.
      	* dse.c: Likewise.
      	* dumpfile.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarf2cfi.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* final.c: Likewise.
      	* fixed-value.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* fwprop.c: Likewise.
      	* gcse.c: Likewise.
      	* generic-match-head.c: Likewise.
      	* ggc-common.c: Likewise.
      	* gimple-builder.c: Likewise.
      	* gimple-expr.c: Likewise.
      	* gimple-fold.c: Likewise.
      	* gimple-iterator.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-match-head.c: Likewise.
      	* gimple-pretty-print.c: Likewise.
      	* gimple-ssa-isolate-paths.c: Likewise.
      	* gimple-ssa-strength-reduction.c: Likewise.
      	* gimple-streamer-in.c: Likewise.
      	* gimple-streamer-out.c: Likewise.
      	* gimple-walk.c: Likewise.
      	* gimple.c: Likewise.
      	* gimplify-me.c: Likewise.
      	* gimplify.c: Likewise.
      	* godump.c: Likewise.
      	* graph.c: Likewise.
      	* graphds.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* hw-doloop.c: Likewise.
      	* ifcvt.c: Likewise.
      	* init-regs.c: Likewise.
      	* internal-fn.c: Likewise.
      	* ipa-chkp.c: Likewise.
      	* ipa-comdats.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-devirt.c: Likewise.
      	* ipa-icf-gimple.c: Likewise.
      	* ipa-icf.c: Likewise.
      	* ipa-inline-analysis.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-polymorphic-call.c: Likewise.
      	* ipa-profile.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-ref.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa-visibility.c: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-emit.c: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* jump.c: Likewise.
      	* langhooks.c: Likewise.
      	* lcm.c: Likewise.
      	* lists.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-init.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-iv.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lra-assigns.c: Likewise.
      	* lra-coalesce.c: Likewise.
      	* lra-constraints.c: Likewise.
      	* lra-eliminations.c: Likewise.
      	* lra-lives.c: Likewise.
      	* lra-remat.c: Likewise.
      	* lra-spills.c: Likewise.
      	* lra.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-compress.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.c: Likewise.
      	* mcf.c: Likewise.
      	* mode-switching.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* optabs.c: Likewise.
      	* opts-global.c: Likewise.
      	* passes.c: Likewise.
      	* plugin.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* print-tree.c: Likewise.
      	* profile.c: Likewise.
      	* real.c: Likewise.
      	* realmpfr.c: Likewise.
      	* recog.c: Likewise.
      	* ree.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* reginfo.c: Likewise.
      	* regrename.c: Likewise.
      	* regstat.c: Likewise.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* rtl-chkp.c: Likewise.
      	* rtl-error.c: Likewise.
      	* rtlanal.c: Likewise.
      	* rtlhooks.c: Likewise.
      	* sanopt.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched.c: Likewise.
      	* sese.c: Likewise.
      	* shrink-wrap.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stack-ptr-mod.c: Likewise.
      	* statistics.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* stringpool.c: Likewise.
      	* symtab.c: Likewise.
      	* target-globals.c: Likewise.
      	* targhooks.c: Likewise.
      	* toplev.c: Likewise.
      	* tracer.c: Likewise.
      	* trans-mem.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chkp-opt.c: Likewise.
      	* tree-chkp.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-diagnostic.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-emutls.c: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-iterator.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-nrv.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-phinodes.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-alias.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-ifcombine.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-loop-ch.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop-unswitch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-operands.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-scopedtables.c: Likewise.
      	* tree-ssa-sink.c: Likewise.
      	* tree-ssa-strlen.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-tail-merge.c: Likewise.
      	* tree-ssa-ter.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-ssanames.c: Likewise.
      	* tree-stdarg.c: Likewise.
      	* tree-streamer-in.c: Likewise.
      	* tree-streamer-out.c: Likewise.
      	* tree-streamer.c: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* tsan.c: Likewise.
      	* ubsan.c: Likewise.
      	* value-prof.c: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      	* varpool.c: Likewise.
      	* vmsdbgout.c: Likewise.
      	* vtable-verify.c: Likewise.
      	* web.c: Likewise.
      	* wide-int-print.cc: Likewise.
      	* wide-int.cc: Likewise.
      	* xcoffout.c: Likewise.
      
      From-SVN: r229585
      Andrew MacLeod committed
    • Re: [Docs] Reword the documentation for -fdump-rtl- · ecc5691d
      gcc/
      
      	* doc/invoke.texi (fdump-rtl-@var{pass}): Clarify relationship
      	between pass numbering and execution order.
      
      From-SVN: r229584
      James Greenhalgh committed
    • [ARM] Fix checking RTL error in cortex_a9_sched_adjust_cost · aecdf6d9
      	* config/arm/arm.c (cortex_a9_sched_adjust_cost): Use reg_set_p to
      	check for dependencies.
      
      From-SVN: r229583
      Kyrylo Tkachov committed
    • Don't free dominators after sincos · a52380e9
      sincos has always freed dominators at the end, but AFAICT they should
      still be up-to-date.  (In particular, gimple_purge_dead_eh_edges
      updates the information.)
      
      Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu.
      
      gcc/
      	* tree-ssa-math-opts.c (pass_cse_sincos::execute): Don't free
      	CDI_DOMINATORS.
      
      From-SVN: r229582
      Richard Sandiford committed
    • Allow real_format to be passed to more real.h functions · f16e6077
      Most real.h routines used machine modes to specify the format of
      an operation and converted that to a float_format * internally.
      Some also had alternative versions that accepted a float_format *.
      
      In an upcoming patch it seemed more convenient for the callers
      I was adding to use float_format directly, since the callers need
      to examine the format themselves for other reasons.  This patch
      therefore replaces the machine_mode arguments with a new class that
      allows both machine modes and float_format pointers to be used.
      
      Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu.
      
      gcc/
      	* real.h (format_helper): New.
      	(real_convert, exact_real_truncate, real_from_string3, real_to_target)
      	(real_from_target, real_nan, real_2expN, real_value_truncate)
      	(significand_size, real_from_string2, exact_real_inverse)
      	(exact_real_inverse, real_powi, real_trunc, real_floor, real_ceil)
      	(real_round, real_isinteger, real_from_integer): Replace
      	machine_mode arguments with format_helper arguments.
      	* real.c (exact_real_inverse, real_from_string2, real_from_string3)
      	(real_from_integer, real_nan, real_2expN, real_convert)
      	(real_value_truncate, exact_real_truncate, real_to_target)
      	(real_from_target, significand_size, real_powi, real_trunc)
      	(real_floor, real_ceil, real_round, real_isinteger): Replace
      	machine_mode arguments with format_helper arguments.
      	(real_to_target_fmt, real_from_target_fmt): Delete.
      	* dfp.h (decimal_real_convert): Replace mode argument with real_format.
      	* dfp.c (decimal_to_binary, decimal_real_convert): Replace mode
      	argument with real_format.
      	* builtins.c (do_real_to_int_conversion): Update type of fn argument.
      
      gcc/java/
      	* jcf-parse.c (get_constant): Use real_from_target rather than
      	real_from_target_fmt.
      
      From-SVN: r229581
      Richard Sandiford committed
    • Fix real_2expN mode arguments in fixed-value.c · 4ff7defd
      fixed-value.c was passing a fixed-point mode to the floating-point
      real_2expN routine.  That didn't cause a problem in practice because
      all real_2expN did was check for decimal float modes, but it triggered
      a failure with an upcoming patch.
      
      Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu.
      
      gcc/
      	* fixed-value.c (check_real_for_fixed_mode, fixed_from_string)
      	(fixed_to_decimal, fixed_convert_from_real)
      	(real_convert_from_fixed): Fix mode arguments to real_2expN.
      
      From-SVN: r229580
      Richard Sandiford committed
    • Robustify REAL_MODE_FORMAT · d5e09aa0
      Make sure that REAL_MODE_FORMAT aborts if it is passed an invalid mode,
      rather than stepping beyond the bounds of an array.  It turned out that
      some code was passing non-float modes to the real.h routines.
      
      Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu.
      
      gcc/
      	* real.h (REAL_MODE_FORMAT): Abort if the mode isn't a
      	SCALAR_FLOAT_MODE_P.
      
      From-SVN: r229579
      Richard Sandiford committed
    • [Trivial] tree-sra.c: A few comment fixes/additions. · 56517dda
          
      	* tree-sra.c (scalarizable_type_p): Comment variable-length arrays.
      	(completely_scalarize): Comment zero-length arrays.
      	(get_access_replacement): Correct comment re. precondition.
      
      From-SVN: r229577
      Alan Lawrence committed
    • libgcc changes for AMD znver1. · 2ef543e4
      2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
      
      	* config/i386/i386.c (get_builtin_code_for_version): Set priority
      	for PROCESSOR_ZNVER1.
      	(enum processor_model): Add M_AMDFAM17H_znver1.
      	(struct arch_names_table): Likewise.
      	* doc/extend.texi: ADD znver1.
      
      2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
      
      	* config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
      	(processor_subtypes): Add znver1.
      	(get_amd_cpu): Detect znver1.
      
      From-SVN: r229575
      Venkataramanan Kumar committed
    • gimple-fold.c (fold_gimple_assign): Do not dispatch to fold () on single RHSs. · 7524f419
      2015-10-30  Richard Biener  <rguenther@suse.de>
      
      	* gimple-fold.c (fold_gimple_assign): Do not dispatch to
      	fold () on single RHSs.  Allow CONSTRUCTORS with trailing
      	zeros to be folded to VECTOR_CSTs.
      	* tree.c (build_vector_from_ctor): Handle VECTOR_CST elements.
      	* fold-const.c (fold): Use build_vector_from_ctor.
      
      From-SVN: r229574
      Richard Biener committed
    • [AArch64] Fix insn types. · 04e34811
      2015-10-30  Evandro Menezes  <e.menezes@samsung.com>
      
      	* config/aarch64/aarch64.md (*movhf_aarch64): Change the type of
      	"mov %0.h[0], %1.h[0] to "neon_move".
      	(*movtf_aarch64): Change the type of "fmov %s0, wzr" to "f_mcr".
      	(*cmov<mode>_insn): Change the types of "mov %<w>0, {-1,1}" to
      	"mov_imm".
      	(*cmovsi_insn_uxtw): Likewise.
      
      From-SVN: r229572
      Evandro Menezes committed
    • Cleanup fipa-pta constraint dumping · bf749042
      2015-10-30  Tom de Vries  <tom@codesourcery.com>
      
      	* tree-ssa-structalias.c (ipa_pta_execute): Declare variable from as
      	unsigned, and initialize, and use initial value instead of hardcoded
      	constant.  Add generic constraints dumping section.  Don't dump global
      	initializers constraints dumping section if empty.  Don't update
      	variable from if unused.
      
      From-SVN: r229569
      Tom de Vries committed
    • [PATCH 8/9] ENABLE_CHECKING refactoring: target-specific parts · e28c2052
      	* config/alpha/alpha.c (alpha_function_arg): Use gcc_checking_assert,
      	flag_checking and/or CHECKING_P to eliminate conditional compilation
      	on ENABLE_CHECKING.
      	* config/arm/arm.c (arm_unwind_emit_sequence): Likewise.
      	* config/bfin/bfin.c (hwloop_optimize): Likewise.
      	* config/i386/i386.c (ix86_print_operand_address): Likewise.
      	(output_387_binary_op): Likewise.
      	* config/ia64/ia64.c (ia64_sched_init, bundling): Likewise.
      	* config/m68k/m68k.c (m68k_sched_md_init_global): Likewise.
      	* config/rs6000/rs6000.c (htm_expand_builtin, rs6000_emit_prologue):
      	Likewise.
      	* config/rs6000/rs6000.h: Likewise.
      	* config/visium/visium.c (visium_setup_incoming_varargs): Likewise.
      
      From-SVN: r229567
      Mikhail Maltsev committed
    • sh.opt: Fix format of the help text for -mfdpic · 88833adc
      * config/sh/sh.opt: Fix format of the help text for -mfdpic
      
      From-SVN: r229566
      Kaz Kojima committed
    • Daily bump. · a52ea440
      From-SVN: r229565
      GCC Administrator committed
    • openacc.h (enum acc_device_t): Reformat. · a0e701d8
      	gcc/
      	* openacc.h (enum acc_device_t): Reformat. Ensure layout
      	compatibility.
      	(enum acc_async_t): Reformat.
      	(acc_on_device): Declare compatible with builtin and provide C++
      	wrapper.
      	* testsuite/libgomp.oacc-c-c++-common/acc-on-device.c: New.
      
      	gcc/testsuite/
      	* c-c++-common/goacc/acc_on_device-2-off.c: Delete.
      	* c-c++-common/goacc/acc_on_device-2.c: Delete.
      
      From-SVN: r229562
      Nathan Sidwell committed