1. 30 Jan, 2018 2 commits
  2. 29 Jan, 2018 18 commits
  3. 28 Jan, 2018 2 commits
  4. 27 Jan, 2018 9 commits
  5. 26 Jan, 2018 9 commits
    • compiler: show readable names in escape analysis messages · cc24ff0d
          
          Call message_name when printing a variable for an escape analysis
          message.  This implies changing the AST dumps, which is fine.
          
          Reviewed-on: https://go-review.googlesource.com/90296
      
      From-SVN: r257113
      Ian Lance Taylor committed
    • Regenerate .pot files. · 6db72443
      gcc/po:
      	* gcc.pot: Regenerate.
      
      libcpp/po:
      	* cpplib.pot: Regenerate.
      
      From-SVN: r257111
      Joseph Myers committed
    • RISC-V: Add --specs=nosys.specs support. · ee61fae2
      	gcc/
      	* config/riscv/elf.h (LIB_SPEC): Don't include -lgloss when nosys.specs
      	specified.
      
      From-SVN: r257109
      Jim Wilson committed
    • rs6000: Fix safe-indirect-jump-[18].c · b5d0b3d2
      This patch merges the safe-indirect-jump-1.c and -8.c testcases,
      since they do the same thing.  On the 64-bit and AIX ABIs the indirect
      call is not a sibcall, since there is code generated after the call
      (the restore of r2).  On the 32-bit non-AIX ABIs it is a sibcall.
      
      
      	* gcc.target/powerpc/safe-indirect-jump-1.c: Build on all targets.
      	Make expected output depend on whether we expect sibcalls or not.
      	* gcc.target/powerpc/safe-indirect-jump-8.c: Delete (merged into
      	safe-indirect-jump-1.c).
      
      From-SVN: r257108
      Segher Boessenkool committed
    • PR c++/83956 - wrong dtor error with anonymous union · 5bb1c2be
      	* method.c (walk_field_subobs): Variant members only affect
      	deletedness.
      	(maybe_explain_implicit_delete): Pass &deleted_p for diagnostic.
      
      From-SVN: r257107
      Jason Merrill committed
    • Partial Failed Images patch · f8862a1b
      Co-Authored-By: Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
      Co-Authored-By: Soren Rasmussen <s.c.rasmussen@gmail.com>
      
      From-SVN: r257105
      Damian Rouson committed
    • re PR fortran/83998 (ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4403) · deece1aa
      2018-01-26  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/83998
      	* simplify.c (compute_dot_product):  Initialize result to INTEGER(1) 0
      	or .false.  The summation does the correct type conversion.
      	(gfc_simplify_dot_product): Special case zero-sized arrays.
      
      
      2018-01-26  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/83998
      	* gfortran.dg/dot_product_4.f90
      
      From-SVN: r257104
      Steven G. Kargl committed
    • [AArch64] Fix gcc.target/aarch64/subs_compare_[12].c · de47f61f
      This patch fixes the testsuite failures gcc.target/aarch64/subs_compare_1.c and subs_compare_2.c
      The tests check that we combine a sequence like:
              sub     w2, w0, w1
              cmp     w0, w1
      
      into
              subs    w2, w0, w1
      
      This is done by a couple of peepholes in aarch64.md.
      
      Unfortunately due to scheduling and other optimisations the SUB and CMP
      can come in a different order:
              cmp     w0, w1
              sub     w0, w0, w1
      
      And the existing peepholes cannot catch that and we fail to combine the two.
      This patch adds a peephole that matches the CMP as the first insn and the SUB as the second
      and outputs a SUBS.  This is almost equivalent to the existing peephole that matches SUB first and CMP second
      except that it doesn't have the restriction that the output register of the SUB has to not be one of the input registers.
      Remember "sub w0, w0, w1 ; cmp w0, w1" is *not* equivalent to: "subs  w0, w0, w1"
      but "cmp w0, w1 ; sub w0, w0, w1" is.
      
      So this is what this patch does. It adds a peephole for the case above and one for the SUB-immediate variant
      (because the SUB-immediate is represented as PLUS-of-negated-immediate and thus has different RTL structure).
      
      Bootstrapped and tested on aarch64-none-linux-gnu.
      
          * config/aarch64/aarch64.md: Add peepholes for CMP + SUB -> SUBS
          and CMP + SUB-immediate -> SUBS.
      
      From-SVN: r257102
      Kyrylo Tkachov committed
    • PR c++/84036 - ICE with variadic capture. · 41d733d9
      	PR c++/82249
      	* pt.c (tsubst_pack_expansion): When optimizing a simple
      	substitution, pull a single pack expansion out of its pack.
      
      From-SVN: r257101
      Jason Merrill committed