and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

This project is mirrored from git://gcc.gnu.org/git/gcc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 27 Apr, 2016 4 commits
  2. 26 Apr, 2016 2 commits
  3. 25 Apr, 2016 3 commits
  4. 24 Apr, 2016 2 commits
  5. 23 Apr, 2016 1 commit
  6. 22 Apr, 2016 6 commits
    • Jason Merrill's avatar
      PR c++/68206 - Fix constexpr diagnostics with loops. · 5b57b74b
      Jason Merrill authored
      	PR c++/68530
      	* constexpr.c (potential_constant_expression_1): Handle LOOP_EXPR
      	and GOTO_EXPR.
      
      From-SVN: r235369
      5b57b74b
    • Jason Merrill's avatar
      PR c++/70522 - fix N4381 customization points · 4af956c8
      Jason Merrill authored
      	* name-lookup.c (qualified_lookup_using_namespace): Look through
      	hidden names.
      
      From-SVN: r235368
      4af956c8
    • H.J. Lu's avatar
      Replace -skip-rax-setup with -mskip-rax-setup · d61225d3
      H.J. Lu authored
      	Backport from mainline
      	* doc/invoke.texi: Replace -skip-rax-setup with -mskip-rax-setup.
      
      From-SVN: r235366
      d61225d3
    • Szabolcs Nagy's avatar
      [PATCH 2/2] (header usage fix) include c++ headers in system.h · 22af75f6
      Szabolcs Nagy authored
      cherry picked from trunk r235362
      
      2016-04-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
      
      	* system.h (list, map, set, vector): Include conditionally.
      	* auto-profile.c (INCLUDE_MAP, INCLUDE_SET): Define.
      	* graphite-isl-ast-to-gimple.c (INCLUDE_MAP): Define.
      	* ipa-icf.c (INCLUDE_LIST): Define.
      	* config/aarch64/cortex-a57-fma-steering.c (INCLUDE_LIST): Define.
      	* config/sh/sh.c (INCLUDE_VECTOR): Define.
      	* config/sh/sh_treg_combine.cc (INCLUDE_ALGORITHM): Define.
      	(INCLUDE_LIST, INCLUDE_VECTOR): Define.
      	* cp/logic.cc (INCLUDE_LIST): Define.
      	* fortran/trans-common.c (INCLUDE_MAP): Define.
      
      From-SVN: r235364
      22af75f6
    • Szabolcs Nagy's avatar
      [PATCH 1/2] (header usage fix) remove unused system header includes · 08a06913
      Szabolcs Nagy authored
      cherry picked from trunk r235361
      
      2016-04-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
      
      	* auto-profile.c: Remove <string.h> include.
      	* ipa-icf-gimple.c: Remove <list> include.
      	* diagnostic.c: Remove <new> include.
      	* genmatch.c: Likewise.
      	* pretty-print.c: Likewise.
      	* toplev.c: Likewise
      	* c/c-objc-common.c: Likewise.
      	* cp/error.c: Likewise.
      	* fortran/error.c: Likewise.
      
      From-SVN: r235363
      08a06913
    • GCC Administrator's avatar
      Daily bump. · 2b854106
      GCC Administrator authored
      From-SVN: r235356
      2b854106
  7. 21 Apr, 2016 6 commits
  8. 20 Apr, 2016 8 commits
    • Andrew Pinski's avatar
      [AArch64] Work around PR target/64971 · 8419c041
      Andrew Pinski authored
      2016-04-20  Andrew Pinski  <apinski@cavium.com>
                  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	PR target/64971
      	* config/aarch64/aarch64.md (sibcall): Force call
      	address to be DImode for ILP32.
      	(sibcall_value): Likewise.
      
      	* gcc.c-torture/compile/pr37433-1.c: New testcase.
      Co-Authored-By: default avatarKyrylo Tkachov <kyrylo.tkachov@arm.com>
      
      From-SVN: r235282
      8419c041
    • Jason Merrill's avatar
      * c-cppbuiltin.c (c_cpp_builtins): Fix __cpp_range_based_for. · 66040335
      Jason Merrill authored
      From-SVN: r235280
      66040335
    • Jason Merrill's avatar
      PR c++/66543 - -Wunused-but-set* false positives · 2c700e3f
      Jason Merrill authored
      	* expr.c (mark_exp_read): Handle NON_DEPENDENT_EXPR.
      	* pt.c (make_pack_expansion): Call mark_exp_read.
      	* semantics.c (finish_id_expression): Call mark_type_use in
      	unevaluated context.
      
      From-SVN: r235279
      2c700e3f
    • Marek Polacek's avatar
      tree-if-conv.c (is_false_predicate): For NULL_TREE return false rather than true. · 1e87d0e3
      Marek Polacek authored
      	* tree-if-conv.c (is_false_predicate): For NULL_TREE return false
      	rather than true.
      
      From-SVN: r235273
      1e87d0e3
    • Marek Polacek's avatar
      re PR tree-optimization/70725 (Internal compiler error (ICE) on valid code) · 35512d38
      Marek Polacek authored
      	PR tree-optimization/70725
      	* tree-if-conv.c (is_false_predicate): New function.
      	(predicate_mem_writes): Use it.
      
      	* gcc.dg/pr70725.c: New test.
      
      From-SVN: r235252
      35512d38
    • Richard Biener's avatar
      re PR tree-optimization/70726 (Internal compiler error (ICE) on valid code) · e7acf938
      Richard Biener authored
      2016-04-20  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/70726
      	* tree-vect-stmts.c (vectorizable_shift): Do not use scalar
      	shift amounts from a pattern stmt operand.
      
      	* g++.dg/vect/pr70726.cc: New testcase.
      
      From-SVN: r235237
      e7acf938
    • Andreas Krebbel's avatar
      PR70674: S/390: Add memory barrier to stack pointer restore from fpr. · f7f7db22
      Andreas Krebbel authored
      This patches fixes a problem with stack variable accesses being
      scheduled after the stack pointer restore instructions.  In the
      testcase this happened with the stack variable 'a' accessed through the
      frame pointer.
      
      The existing stack_tie we have in the backend is basically useless
      when trying to block stack variable accesses from being scheduled
      across an insn.  The alias set of stack variables and the frame alias
      set usually differ and hence aren't in conflict with each other.  The
      solution appears to be a magic MEM term with a scratch register which
      is handled as a full memory barrier when analyzing scheduling
      dependencies.
      
      With the patch a (clobber (mem:BLK (scratch))) is being added to the
      restore instruction in order to prevent any memory operations to be
      scheduled across the insn.  The patch does that only for the one case
      where the stack pointer is restored from an FPR.  Theoretically this
      might happen also in the case where the stack pointer gets restored
      using a load multiple.  However, triggering that problem with
      load-multiple appears to be much harder since the load-multiple will
      restore the frame pointer as well.  So in order to see the problem a
      different call-clobbered register would need to be used as temporary
      stack pointer.
      
      Another case which needs to be handled some day is the stack pointer
      allocation part.  It needs to be a memory barrier as well.
      
      Bootstrapped and regression tested with --with-arch z196 and z13 on
      s390 and s390x.
      
      gcc/ChangeLog:
      
      2016-04-20  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	Backport from mainline
      	2016-04-20  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	PR target/70674
      	* config/s390/s390.c (s390_restore_gprs_from_fprs): Pick the new
      	stack_restore_from_fpr pattern when restoring r15.
      	(s390_optimize_prologue): Strip away the memory barrier in the
      	parallel when trying to get rid of restore insns.
      	* config/s390/s390.md ("stack_restore_from_fpr"): New insn
      	definition for loading the stack pointer from an FPR.  Compared to
      	the normal move insn this pattern includes a full memory barrier.
      
      gcc/testsuite/ChangeLog:
      
      2016-04-20  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	Backport from mainline
      	2016-04-20  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	PR target/70674
      	* gcc.target/s390/pr70674.c: New test.
      
      From-SVN: r235235
      f7f7db22
    • GCC Administrator's avatar
      Daily bump. · 493281ba
      GCC Administrator authored
      From-SVN: r235229
      493281ba
  9. 19 Apr, 2016 3 commits
  10. 18 Apr, 2016 5 commits
    • Jason Merrill's avatar
      re PR c++/70690 (r235002 miscompiles tcmalloc) · b7bd31af
      Jason Merrill authored
      	PR c++/70690
      
      	PR c++/70528
      	* class.c (type_maybe_constexpr_default_constructor): New.
      	(type_has_constexpr_default_constructor): Revert.
      
      From-SVN: r235171
      b7bd31af
    • Jason Merrill's avatar
      re PR c++/70505 (Constexpr failure when template type specified) · 84abbac7
      Jason Merrill authored
      	PR c++/70505
      
      	* pt.c (tsubst_baselink): Give the new TEMPLATE_ID_EXPR
      	unknown_type_node, too.
      
      From-SVN: r235170
      84abbac7
    • Rainer Orth's avatar
      Update install.texi for GCC 6 on Solaris · 12029950
      Rainer Orth authored
      	* doc/install.texi (Specific, i?86-*-solaris2.10): Update gas and
      	gld requirements.
      	(Specific, *-*-solaris2*): Update Solaris 11 bundled gcc
      	versions.
      	Mention Solaris 11 packaging changes.
      	Update gas and gld requirements.
      	Remove reference to pre-Solaris 10 bug.
      	(Specific, sparc-sun-solaris2*): Remove reference to pre-Solaris 10
      	systems and bugs.
      	(Specific, sparc64-*-solaris2*): Remove reference to bootstrap
      	with cc.
      
      From-SVN: r235163
      12029950
    • Matthew Wahab's avatar
      re PR target/70711 (GCC ARM big-endian ARMv8.1 code fails.) · 557904e7
      Matthew Wahab authored
      	PR target/70711
      	* config/arm/bpabi.h (BE8_LINK_SPEC): Add entries for armv8+crc,
      	armv8.1-a and armv8.1-a+crc.
      
      From-SVN: r235133
      557904e7
    • Segher Boessenkool's avatar
      hsa: Fix bootstrap with older host compilers · 316bf645
      Segher Boessenkool authored
      We didn't have __builtin_swap16 on all targets before GCC 4.8; hsa-brig
      tries to use it if the host GCC is 4.6 or up though, breaking bootstrap.
      This trivial patch fixes it.
      
      Noticed on gcc22.
      
      
      	* has-brig.c (lendian16): Don't try to use __builtin_bswap16
      	unless compiling with at least GCC-4.8.
      
      From-SVN: r235099
      316bf645