1. 26 Feb, 2018 14 commits
    • re PR debug/84545 (FAIL: g++.dg/debug/pr44182.C -gdwarf-2 -O2 (test for excess errors)) · 24086c20
      	PR debug/84545
      	* final.c (rest_of_clean_state): Also look for calls inside sequences.
      
      From-SVN: r257993
      Eric Botcazou committed
    • i386: Update -mfunction-return= for return with pop · b9d676b3
      When -mfunction-return= is used, simple_return_pop_internal should pop
      return address into ECX register, adjust stack by bytes to pop from stack
      and jump to the return thunk via ECX register.
      
      Tested on i686 and x86-64.
      
      	PR target/84530
      	* config/i386/i386-protos.h (ix86_output_indirect_jmp): Remove
      	the bool argument.
      	(ix86_output_indirect_function_return): New prototype.
      	(ix86_split_simple_return_pop_internal): Likewise.
      	* config/i386/i386.c (indirect_return_via_cx): New.
      	(indirect_return_via_cx_bnd): Likewise.
      	(indirect_thunk_name): Handle return va CX_REG.
      	(output_indirect_thunk_function): Create alias for
      	__x86_return_thunk_[re]cx and __x86_return_thunk_[re]cx_bnd.
      	(ix86_output_indirect_jmp): Remove the bool argument.
      	(ix86_output_indirect_function_return): New function.
      	(ix86_split_simple_return_pop_internal): Likewise.
      	* config/i386/i386.md (*indirect_jump): Don't pass false
      	to ix86_output_indirect_jmp.
      	(*tablejump_1): Likewise.
      	(simple_return_pop_internal): Change it to define_insn_and_split.
      	Call ix86_split_simple_return_pop_internal to split it for
      	-mfunction-return=.
      	(simple_return_indirect_internal): Call
      	ix86_output_indirect_function_return instead of
      	ix86_output_indirect_jmp.
      
      gcc/testsuite/
      
      	PR target/84530
      	* gcc.target/i386/ret-thunk-22.c: New test.
      	* gcc.target/i386/ret-thunk-23.c: Likewise.
      	* gcc.target/i386/ret-thunk-24.c: Likewise.
      	* gcc.target/i386/ret-thunk-25.c: Likewise.
      	* gcc.target/i386/ret-thunk-26.c: Likewise.
      
      From-SVN: r257992
      H.J. Lu committed
    • re PR c++/84533 (ICE with duplicate enum value) · 98c26210
      /cp
      2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/84533
      	* decl.c (redeclaration_error_message): Don't try to use
      	DECL_DECLARED_CONSTEXPR_P on CONST_DECLs.
      
      /testsuite
      2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/84533
      	* g++.dg/cpp1z/pr84533.C: New.
      
      From-SVN: r257991
      Paolo Carlini committed
    • lambda.c (build_capture_proxy): Define static. · 856c79ea
      2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* lambda.c (build_capture_proxy): Define static.
      	* cp-tree.h (build_capture_proxy): Remove.
      
      From-SVN: r257990
      Paolo Carlini committed
    • re PR bootstrap/84405 (Fails to bootstrap with GCC 4.1.2, GCC 4.2.4) · ff9fccdc
      	PR bootstrap/84405
      	* vec.h (vec_default_construct): For BROKEN_VALUE_INITIALIZATION use
      	memset and value initialization afterwards.
      
      From-SVN: r257989
      Jakub Jelinek committed
    • re PR c++/84537 (ICE in get_string, at spellcheck-tree.h) · 7518398d
      	PR c++/84537
      	* name-lookup.c (suggest_alternative_in_explicit_scope): Return false
      	if name is error node.
      
      	* g++.dg/parse/error60.C: New test.
      
      From-SVN: r257988
      Marek Polacek committed
    • Fix lto-wrapper link flags · bdb8ec2d
      2018-02-26  Christophe Lyon  <christophe.lyon@linaro.org>
      
      	gcc/
      	* Makefile.in (lto-wrapper): Use ALL_LINKERFLAGS.
      
      From-SVN: r257987
      Christophe Lyon committed
    • re PR c++/84556 (C++17, lambda, OpenMP simd: sorry, unimplemented: unexpected AST) · 8562191a
      	PR c++/84556
      	* g++.dg/gomp/pr84556.C: New test.
      	* g++.dg/vect/pr84556.cc: New test.
      
      From-SVN: r257986
      Jakub Jelinek committed
    • re PR fortran/32957 (C/Fortran interoperability and -fdefault-integer-8) · f87f8897
      2018-02-26  Dominique d'Humieres <dominiq@gcc.gnu.org>
      
      	PR fortran/32957
      	* gfortran.dg/c_f_pointer_shape_tests_2.f03: Use explicit KIND c_int.
      	* gfortran.dg/c_f_pointer_shape_tests_4.f03: Likewise.
      	* gfortran.dg/c_funloc_tests_3.f03: Likewise.
      	* gfortran.dg/c_loc_test.f90: Likewise.
      	* gfortran.dg/c_loc_tests_2.f03: Likewise.
      	* gfortran.dg/proc_decl_17.f90: Likewise.
      	* gfortran.dg/proc_ptr_8.f90: Likewise.
      
      From-SVN: r257985
      Dominique d'Humieres committed
    • [Patch AArch64] Turn on frame pointer / partial fix for PR84521 · af3b4514
      This fixes a GCC-8 regression that we accidentally switched off frame
      pointers in the AArch64 backend when changing the defaults in the common
      parts of the code. This breaks an ABI decision that was made in GCC at
      the dawn of the port with respect to having a frame pointer at all
      times.  If we really want to turn this off lets have a discussion around
      that separately.
      
      For now turn this back on and I believe this will leave PR84521 latent
      again with -fomit-frame-pointer and (hopefully) make the ruby issue go
      away. I'm asking Sudi to pick that up.
      
      Bootstrapped and regression tested on AArch64-none-linux-gnu but I see
      one regression in gcc.c-torture/execute/960419-2.c which needs to be
      looked at next (PR84528, thanks Kyrill).
      
      Ok to put in and then look at PR84528 ?
      
      2018-02-26  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              PR target/84521
      	* common/config/aarch64/aarch64-common.c
      	(aarch_option_optimization_table[]): Switch
      	off fomit-frame-pointer
      
      2018-02-26  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/84521
      	* gcc.target/aarch64/lr_free_2.c: Revert changes in
      	r254814 disabling -fomit-frame-pointer by default.
      	* gcc.target/aarch64/spill_1.c: Likewise.
      	* gcc.target/aarch64/test_frame_11.c: Likewise.
      	* gcc.target/aarch64/test_frame_12.c: Likewise.
      	* gcc.target/aarch64/test_frame_13.c: Likewise.
      	* gcc.target/aarch64/test_frame_14.c: Likewise.
      	* gcc.target/aarch64/test_frame_15.c: Likewise.
      	* gcc.target/aarch64/test_frame_3.c: Likewise.
      	* gcc.target/aarch64/test_frame_5.c: Likewise.
      	* gcc.target/aarch64/test_frame_9.c: Likewise.
      
      From-SVN: r257984
      Ramana Radhakrishnan committed
    • [NDS32] Do not use multiple load/store instructions for volatile memory access. · cc9b241b
      gcc/
      	* config/nds32/nds32-multiple.md(load_multiple): Disallow
      	volatile memory.
      	(store_multiple): Ditto.
      
      Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
      
      From-SVN: r257983
      Kito Cheng committed
    • [NDS32] Basic support for -mcpu= and --with-cpu= options. · 7f3101c0
      gcc/
      	* config.gcc: Add --with-cpu support for nds32 target.
      	* config/nds32/nds32-opts.h(nds32_cpu_type): New.
      	* config/nds32/nds32.opt: Add -mcpu= option.
      
      From-SVN: r257982
      Kito Cheng committed
    • PR c++/84015 - ICE with class deduction and auto template parm. · a8a3f32d
      	* pt.c (rewrite_template_parm): Use tf_partial in first tsubst.
      
      From-SVN: r257979
      Jason Merrill committed
    • Daily bump. · 9445efc2
      From-SVN: r257978
      GCC Administrator committed
  2. 25 Feb, 2018 5 commits
  3. 24 Feb, 2018 3 commits
  4. 23 Feb, 2018 18 commits