1. 21 Jun, 2019 28 commits
  2. 20 Jun, 2019 12 commits
    • re PR c++/79781 (ICE on valid C++ code with -std=c++14 (in assemble_integer, at varasm.c:2733)) · 7bfe2b4b
      	PR c++/79781
      	* g++.dg/ext/goto1.C: New test.
      
      From-SVN: r272527
      Marek Polacek committed
    • re PR fortran/77632 ([F08] Pointer initialisation does not quite work with arrays) · 2cf4aa79
      2019-06-20  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/77632
      	* /decl.c (variable_decl): Mark a variable that is a target in pointer
      	initialization when in PROGRAM, MODULE, or SUBMODULE scope with an
      	implicit save.
      
      2019-06-20  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/77632
      	* gfortran.dg/pr77632_1.f90: New test.
      
      From-SVN: r272526
      Steven G. Kargl committed
    • re PR c++/68265 (Arbitrary syntactic nonsense silently accepted after 'int… · c35f57c5
      re PR c++/68265 (Arbitrary syntactic nonsense silently accepted after 'int (*){}' until the next close brace)
      
      	PR c++/68265
      	* g++.dg/parse/error62.C: New test.
      
      From-SVN: r272525
      Marek Polacek committed
    • re PR fortran/86587 (Derived-type with attributes BIND(C) and PRIVATE raises an… · 966e7f73
      re PR fortran/86587 (Derived-type with attributes BIND(C) and PRIVATE raises an error but standard accepts it)
      
      2019-06-20  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/86587
      	* symbol.c (verify_bind_c_derived_type): Remove erroneous error
      	checking for BIND(C) and PRIVATE attributes.
      
      2019-06-20  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/86587
      	* gfortran.dg/pr86587.f90: New test.
      
      From-SVN: r272524
      Steven G. Kargl committed
    • alpha.md (@unaligned_store<mode>): Rename from unaligned_store<mode>. · 145f748f
      	* config/alpha/alpha.md (@unaligned_store<mode>):
      	Rename from unaligned_store<mode>.
      	(@reload_in<mode>_aligned): Rename from reload_in<mode>_aligned.
      	* config/alpha/sync.md (@load_locked_<mode>): Rename
      	from load_locked_<mode>.
      	(@store_conditional_<mode>): Rename from store_conditional_<mode>.
      	(@atomic_compare_and_swap<mode>_1): Rename
      	from atomic_compare_and_swap<mode>_1.
      	(@atomic_exchange<mode>_1): Rename from atomic_exchange<mode>_1.
      	* config/alpha/alpha.c (alpha_expand_mov_nobwx):
      	Use gen_reload_in_aligned and gen_unaligned_store.
      	(emit_load_locked): Remove.
      	(emit_store_conditional): Ditto.
      	(alpha_split_atomic_op): Use gen_load_locked and gen_store_conditional.
      	(alpha_split_compare_and_swap): Ditto.
      	(alpha_expand_compare_and_swap_12): Use gen_atomic_compare_and_swap_1.
      	(alpha_split_compare_and_swap_12): Use gen_load_locked
      	and gen_store_conditional.
      	(alpha_split_atomic_exchange): Ditto.
      	(alpha_expand_atomic_exchange_12): Use gen_atomic_exchange_1.
      	(alpha_split_atomic_exchange_12): Use gen_load_locked
      	and gen_store_conditional.
      
      From-SVN: r272523
      Uros Bizjak committed
    • libfortran/65921: Add forgotten PR number to ChangeLog · 6bd48717
      2019-06-14  Janne Blomqvist  <jb@gcc.gnu.org>
      
              PR fortran/65921
              * runtime/memory.c (SIZE_MAX):Remove macro definition.
              (xmallocarray): Use __builtin_mul_overflow.
      
      From-SVN: r272520
      Janne Blomqvist committed
    • [objective-c/c++, testsuite] Fix stubify tests for -fnext-runtime. · b7a0332c
      These tests were broken in the first place, and more broken following
      the change to drop pic symbol stubs unless the linker needs them.
      
      Fixed to work for x86 as well as powerpc and amended the options to
      force pic symbol stubs on.
      
      gcc/testsuite/
      
      2019-06-20  Iain Sandoe  <iain@sandoe.co.uk>
      
      	* obj-c++.dg/stubify-1.mm: Adjust options and scan-asm checks.
      	* obj-c++.dg/stubify-2.mm: Likewise.
      	* objc.dg/stubify-1.m: Likewise.
      	* objc.dg/stubify-2.m: Likewise.
      
      From-SVN: r272518
      Iain Sandoe committed
    • [aarch64] Refactor common errata work-around specs · 91bed1a1
      With the addition of the AArch64 NetBSD support code we now have four
      ports all using and defining the same errata work-around headers.
      That's silly and long-term becomes a maintenance burden.
      
      This patch factors all that code into a single header to eliminate all
      the duplication.
      
      	* config/aarch64/aarch64-errata.h: New file.
      	* config/aarch64/aarch64-elf-raw.h (CA53_ERR_835769_SPEC): Delete.
      	(CA53_ERR_843419_SPEC): Delete.
      	(LINK_SPEC): Use AARCH64_ERRATA_LINK_SPEC instead of above.
      	* config/aarch64/aarch64-linux.h: Likewise.
      	* config/aarch64/aarch64-netbsd.h: Likewise.
      	* config/aarch64/aarch64-freebsd.h: Likewise.
      
      From-SVN: r272515
      Richard Earnshaw committed
    • rs6000.md (isa attribute): Add support for for a future processor. · 7ca50393
      2019-06-20  Michael Meissner  <meissner@linux.ibm.com>
      
      	* config/rs6000/rs6000.md (isa attribute): Add support for
      	for a future processor.
      
      From-SVN: r272513
      Michael Meissner committed
    • re PR c++/87512 (Error: the type ‘const auto’ of ‘constexpr’ variable is not literal) · 7772dbe2
      	PR c++/87512
      	* g++.dg/cpp1z/inline-var7.C: New test.
      
      From-SVN: r272512
      Marek Polacek committed
    • i386: Generate standard floating point scalar operation patterns · ac173024
      Standard floating point scalar operation patterns for combiner, which
      preserve the rest of the vector, look like
      
           (vec_merge:V2DF
             (vec_duplicate:V2DF (reg:DF 87))
             (reg/v:V2DF 85 [ x ])
             (const_int 1 [0x1])]))
      
      and
      
           (vec_merge:V2DF
             (vec_duplicate:V2DF
               (op:DF (vec_select:DF (reg/v:V2DF 85 [ x ])
                      (parallel [ (const_int 0 [0])]))
               (reg:DF 87))
             (reg/v:V2DF 85 [ x ])
             (const_int 1 [0x1])]))
      
      This patch adds and generates such standard floating point scalar
      operation patterns for +, -, *, /, > and <.
      
      Tested on x86-64.
      
      gcc/
      
      	PR target/54855
      	* config/i386/i386-expand.c (ix86_expand_vector_set): Generate
      	standard scalar operation pattern for V2DF.
      	* config/i386/sse.md (*<sse>_vm<plusminus_insn><mode>3): New.
      	(*<sse>_vm<multdiv_mnemonic><mode>3): Likewise.
      	(*ieee_<ieee_maxmin><mode>3): Likewise.
      	(vec_setv2df_0): Likewise.
      
      gcc/testsuite/
      
      	PR target/54855
      	* gcc.target/i386/pr54855-1.c: New test.
      	* gcc.target/i386/pr54855-2.c: Likewise.
      	* gcc.target/i386/pr54855-3.c: Likewise.
      	* gcc.target/i386/pr54855-4.c: Likewise.
      	* gcc.target/i386/pr54855-5.c: Likewise.
      	* gcc.target/i386/pr54855-6.c: Likewise.
      	* gcc.target/i386/pr54855-7.c: Likewise.
      	* gcc.target/i386/pr54855-8.c: Likewise.
      	* gcc.target/i386/pr54855-9.c: Likewise.
      	* gcc.target/i386/pr54855-10.c: Likewise.
      
      From-SVN: r272511
      H.J. Lu committed