1. 23 Oct, 2013 17 commits
    • re PR target/58838 (mullw sets condition code incorrectly.) · 021b0410
              PR target/58838
              * config/rs6000/rs6000.md (mulsi3_internal1 and splitter): Add
              TARGET_32BIT final condition.
              (mulsi3_internal2 and splitter): Same.
      
      From-SVN: r203977
      David Edelsohn committed
    • tree-ssa-threadedge.c (thread_across_edge): Do not allow threading through… · b1149e84
      tree-ssa-threadedge.c (thread_across_edge): Do not allow threading through joiner blocks with abnormal outgoing edges.
      
      	* tree-ssa-threadedge.c (thread_across_edge): Do not allow threading
      	through joiner blocks with abnormal outgoing edges.
      
      	* tree-ssa-threadupdate.c (thread_block_1): Renamed from thread_block.
      	Add parameter JOINERS, to allow/disallow threading through joiner
      	blocks.
      	(thread_block): New.  Call thread_block_1.
      	(mark_threaded_blocks): Remove code to filter out certain cases
      	of threading through joiner blocks.
      	(thread_through_all_blocks): Document how we can have a dangling
      	edge AUX field and clear it.
      
      From-SVN: r203975
      Jeff Law committed
    • invoke.texi (Option Summary): Remove -fno-default-inline. · c9edbc5f
      	* doc/invoke.texi (Option Summary): Remove -fno-default-inline.
      	(C++ Dialect Options): Likewise.
      	(Optimize Options): Likewise.
      
      From-SVN: r203974
      Ian Lance Taylor committed
    • Add missing check in stmt_local_def for tail-merge. · a63b68b2
      2013-10-22  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/58805
      	* tree-ssa-tail-merge.c (stmt_local_def): Add gimple_vdef check.
      
      	* gcc.dg/pr58805.c: New test.
      
      From-SVN: r203973
      Tom de Vries committed
    • tree-vect-patterns.c (vect_recog_divmod_pattern): Optimize sequence based on… · 7abed779
      tree-vect-patterns.c (vect_recog_divmod_pattern): Optimize sequence based on get_range_info returned range.
      
      	* tree-vect-patterns.c (vect_recog_divmod_pattern): Optimize
      	sequence based on get_range_info returned range.
      
      	* gcc.target/i386/vect-div-1.c: New test.
      
      From-SVN: r203969
      Jakub Jelinek committed
    • * gcc.dg/vect/pr58508.c: Remove dg-options. · 2d67d169
      From-SVN: r203968
      Jakub Jelinek committed
    • tree-ssa.h: Remove all #include's · 442b4905
      
      	* tree-ssa.h: Remove all #include's
      	* gengtype.c (open_base_files): Adjust include list for gtype-desc.c.
      	* alias.c: Move required includes from tree-ssa.h.
      	* asan.c: Likewise.
      	* builtins.c: Likewise.
      	* calls.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraphbuild.c: Likewise.
      	* cgraphclones.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* dse.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* final.c: Likewise.
      	* fold-const.c: Likewise.
      	* ggc-page.c: Likewise.
      	* gimple-builder.c: Likewise.
      	* gimple-fold.c: Likewise.
      	* gimple-iterator.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-pretty-print.c: Likewise.
      	* gimple-ssa-strength-reduction.c: Likewise.
      	* gimple-streamer-in.c: Likewise.
      	* gimple-streamer-out.c: Likewise.
      	* gimplify.c: Likewise.
      	* graphite-blocking.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* graphite-dependences.c: Likewise.
      	* graphite-interchange.c: Likewise.
      	* graphite-optimize-isl.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline-analysis.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* loop-init.c: Likewise.
      	* lto-cgraph.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.
      	* omp-low.c: Likewise.
      	* passes.c: Likewise.
      	* predict.c: Likewise.
      	* print-tree.c: Likewise.
      	* profile.c: Likewise.
      	* sese.c: Likewise.
      	* targhooks.c: Likewise.
      	* tracer.c: Likewise.
      	* trans-mem.c: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-dfa.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-loop-distribution.c: Likewise.
      	* tree-mudflap.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-copyrename.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.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-sccvn.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-threadedge.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-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.
      	* value-prof.c: Likewise.
      	* var-tracking.c: Likewise.
      	* varpool.c: Likewise.
      	* vtable-verify.c: Likewise.
      
      From-SVN: r203967
      Andrew MacLeod committed
    • contrib.texi ([Fran@,{c}ois Dumont], [...]): New entries. · f3612777
      2013-10-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* doc/contrib.texi ([Fran@,{c}ois Dumont], [Tim Shen],
      	[Ed Smith-Rowland]): New entries.
      	([Stephen M. Webb]): Update.
      
      From-SVN: r203959
      Paolo Carlini committed
    • pr58830.c: New testcase. · 49ed1a46
      2013-10-23  Richard Biener  <rguenther@suse.de>
      
      	* gcc.dg/torture/pr58830.c: New testcase.
      
      From-SVN: r203957
      Richard Biener committed
    • re PR libstdc++/58815 (Casting/Conversion operator for std::decimal not supported) · 1a0e9d1c
      2013-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/58815
      	* include/decimal/decimal (decimal32::operator long long(),
      	decimal64::operator long long(), decimal128::operator long long()):
      	Add in c++11 mode per n3407.
      	* testsuite/decimal/pr58815.cc: New.
      
      From-SVN: r203956
      Paolo Carlini committed
    • Implement C++14 [[deprecated]] modulo [[gnu::deprecated]] bugs. · fe15a1a7
      gcc/cp:
      
      2013-10-23  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	Implement C++14 [[deprecated]] modulo [[gnu::deprecated]] bugs.
      	* parser.c (cp_parser_std_attribute): Interpret [[deprecated]]
      	as [[gnu::deprecated]].
      
      gcc/testsuite:
      
      2013-10-23  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	Implement C++14 [[deprecated]] modulo [[gnu::deprecated]] bugs.
      	* g++.dg/cpp1y/attr-deprecated.C: New.
      	* g++.dg/cpp1y/attr-deprecated-neg.C: New.
      
      From-SVN: r203955
      Edward Smith-Rowland committed
    • tilegx.c: Include "tree.h". · 1099e569
      2013-10-23  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
      
      	* config/tilegx/tilegx.c: Include "tree.h".
      
      From-SVN: r203952
      Jan-Benedict Glaw committed
    • gimple-pretty-print.c (dump_ssaname_info): Always print "# " before the info, not after it. · d09c0e9b
      	* gimple-pretty-print.c (dump_ssaname_info): Always print "# " before
      	the info, not after it.
      	(gump_gimple_phi): Add COMMENT argument, if true, print "# " after
      	dump_ssaname_info call.
      	(pp_gimple_stmt_1): Adjust caller.
      	(dump_phi_nodes): Likewise.  Don't print "# " here.
      
      From-SVN: r203947
      Jakub Jelinek committed
    • re PR fortran/58793 (Wrong value for _vtab for intrinsic types with CLASS(*):… · 3d54e576
      re PR fortran/58793 (Wrong value for _vtab for intrinsic types with CLASS(*): storage_size of class(*) gives wrong result)
      
      2013-10-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/58793
              * interface.c (compare_parameter): Reject passing TYPE(*)
              to CLASS(*).
      
      2013-10-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/58793
              * gfortran.dg/assumed_type_8.f90: New.
      
      From-SVN: r203945
      Tobias Burnus committed
    • Daily bump. · 55384dd7
      From-SVN: r203944
      GCC Administrator committed
    • basic_string.h (operator""s): Remove space between quotes and literal identifier. · e9a64492
      2013-10-22  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	* include/bits/basic_string.h (operator""s): Remove space between quotes
      	and literal identifier.
      	* include/std/chrono (operator""h, operator""min, operator""s,
      	operator""ms, operator""us, operator""ns): Ditto.
      
      From-SVN: r203941
      Edward Smith-Rowland committed
    • Implement N3779 - User-defined Literals for std::complex, part 2 of UDL for Standard Library Types · ae5543e6
      2013-09-27  Ed Smith-Rowland  <3dw4rd@verizon.net>
      
      	Implement N3779 - User-defined Literals for std::complex,
      	part 2 of UDL for Standard Library Types
      	* include/std/complex: Add complex literal operators.
      	* testsuite/26_numerics/complex/literals/types.cc: New.
      	* testsuite/26_numerics/complex/literals/values.cc: New.
      
      From-SVN: r203940
      Ed Smith-Rowland committed
  2. 22 Oct, 2013 18 commits
  3. 21 Oct, 2013 5 commits
    • re PR fortran/58803 (Proc-pointer component: free_components deallocates twice… · 2be03814
      re PR fortran/58803 (Proc-pointer component: free_components deallocates twice pointer p->tb at symbol.c:2068)
      
      2013-10-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/58803
              * decl.c (match_ppc_decl): Prevent later
              double free.
      
      2013-10-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/58803
              * gfortran.dg/proc_ptr_comp_38.f90: New.
      
      From-SVN: r203909
      Tobias Burnus committed
    • Re-factor inclusion of tree.h. · 4d648807
      This moves tree.h out of every header. This exposes dependencies of
      tree.h in files that should probably not need it after tree and gimple
      are separated.
      
      After this change, no header should include tree.h directly. It should
      only be included by a .c file. Unfortunately, I did not find an
      automatic way of forcing this.
      
      Tested on x86_64 with all languages enabled and using
      contrib/config-list.mk.
      
      2013-10-21  Diego Novillo  <dnovillo@google.com>
      
      	* asan.c: Include tree.h
      	* bb-reorder.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* data-streamer-in.c: Likewise.
      	* data-streamer-out.c: Likewise.
      	* data-streamer.c: Likewise.
      	* dwarf2cfi.c: Likewise.
      	* graphite-blocking.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* graphite-dependences.c: Likewise.
      	* graphite-interchange.c: Likewise.
      	* graphite-optimize-isl.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.c: Likewise.
      	* ipa-devirt.c: Likewise.
      	* ipa-profile.c: Likewise.
      	* ipa.c: Likewise.
      	* ira.c: Likewise.
      	* loop-init.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lto/lto-object.c: Likewise.
      	* recog.c: Likewise.
      	* reginfo.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-ssa-strlen.c: Likewise.
      	* tree-streamer.c: Likewise.
      	* value-prof.c: Likewise.
      	* target-globals.c: Likewise.
      	* expr.h: Include tree-core.h instead of tree.h.
      	* gimple.h: Likewise.
      	* ipa-prop.h: Likewise.
      	* ipa-utils.h: Likewise.
      	* lto-streamer.h: Likewise.
      	* streamer-hooks.h: Likewise.
      	* ipa-reference.h: Include cgraph.h instead of tree.h.
      	* cgraph.h: Include basic-block.h instead of tree.h.
      	* tree-streamer.h: Do not include tree.h.
      	* genattrtab.c (write_header): Generate inclusion of
      	tree.h.
      	* genautomata.c (main): Likewise.
      	* genemit.c: Likewise.
      	* genopinit.c: Likewise.
      	* genoutput.c (output_prologue): Likewise.
      	* genpeep.c: Likewise.
      
      testsuite/ChangeLog
      
      	* g++.dg/plugin/selfassign.c: Include tree.h.
      	* gcc.dg/plugin/finish_unit_plugin.c: Likewise.
      	* gcc.dg/plugin/ggcplug.c: Likewise.
      	* gcc.dg/plugin/one_time_plugin.c: Likewise.
      	* gcc.dg/plugin/selfassign.c: Likewise.
      	* gcc.dg/plugin/start_unit_plugin.c: Likewise.
      
      From-SVN: r203908
      Diego Novillo committed
    • re PR middle-end/58809 (ICE with complex variable in OpenMP reduction clause) · 1e08df0e
      	PR middle-end/58809
      	* fold-const.c (fold_range_test): Return 0 if the type is not
      	an integral type.
      testsuite/
      	* gcc.dg/gomp/pr58809.c: New test.
      
      From-SVN: r203907
      Marek Polacek committed
    • system.h: Move hwint.h include further down. · 67b5215c
      gcc/
      	* system.h: Move hwint.h include further down.
      	* hwint.h (sext_hwi, zext_hwi): Define unconditionally.  Add
      	gcc_checking_asserts.
      	* hwint.c (sext_hwi, zext_hwi): Delete ENABLE_CHECKING versions.
      
      From-SVN: r203906
      Richard Sandiford committed
    • MAINTAINERS (Write After Approval): Add myself. · 0a873daa
      2013-10-21  Cong Hou  <congh@google.com>
      
              * MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r203904
      Cong Hou committed