Re: [RFC] Aarch64: Replace nested FP min/max with conditionals for TX2

2020-09-12 Thread Anton Youdkevitch
On Fri, Sep 11, 2020 at 8:43 AM Richard Biener wrote: > On Fri, Sep 11, 2020 at 8:27 AM Anton Youdkevitch > wrote: > > > > Richard, > > > > On Thu, Sep 10, 2020 at 12:03 PM Richard Biener < > richard.guent...@gmail.com> wrote: > >> > >> On Wed, Sep 9, 2020 at 5:51 PM Anton Youdkevitch > >> wrot

[Ada] Add preliminary support for 128-bit integer types

2020-09-12 Thread Eric Botcazou
This is only the gigi part, in preparation for the bulk of the implementation. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/gigi.h (standard_datatypes): Add ADT_mulv128_decl. (mulv128_decl): New macro. (get_target_long

[Ada] Minor tweak to line debug info

2020-09-12 Thread Eric Botcazou
This prevents the SLOC of the expression for a tag from being present in the line debug info every time it is referenced for coverage purposes. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/trans.c (gnat_to_gnu) : Clear the SL

[Ada] Accept absolute address clause for array of UNC nominal subtype

2020-09-12 Thread Eric Botcazou
This changes the compiler to accept again absolute address clause for aliased array of unconstrained nominal subtype, instead of erroring out in this case. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) : On

[Ada] Fix small inconsistency in new predicate

2020-09-12 Thread Eric Botcazou
This can result on the mainline in a segfault when an object declared at library level is used in the declaration of another, local object. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/trans.c (lvalue_for_aggr_p) : Return fal

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-09-12 Thread John David Anglin
Committed. Regards, Dave On 2020-08-22 7:24 p.m., Roger Sayle wrote: > Hi Dave, > I actually think using plus_xor_ior operator is useful. It means that if > combine, > inlining or some other RTL simplification generates these variants, these > forms > will still be recognized by the backend.

[PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread H.J. Lu via Gcc-patches
Clobbering the stack pointer in asm statment has been deprecated. Adding the stack pointer register to the clobber list has traditionally had some undocumented and somewhat obscure side-effects, including ICE. Issue a warning and ignore the clobbered stack pointer in asm statment. gcc/

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread Florian Weimer
* H. J. Lu via Gcc-patches: > + inform (input_location, "the value of the stack pointer after" > + " an % statement must be the same as it was" > + " before the statement"); Would it make sense to generate a stronger worded warning when generating asynchronous un

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread H.J. Lu via Gcc-patches
On Sat, Sep 12, 2020 at 10:37 AM Florian Weimer wrote: > > * H. J. Lu via Gcc-patches: > > > + inform (input_location, "the value of the stack pointer after" > > + " an % statement must be the same as it was" > > + " before the statement"); > > Would it make sense

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread Jakub Jelinek via Gcc-patches
On Sat, Sep 12, 2020 at 07:37:36PM +0200, Florian Weimer wrote: > * H. J. Lu via Gcc-patches: > > > + inform (input_location, "the value of the stack pointer after" > > + " an % statement must be the same as it was" > > + " before the statement"); > > Would it make sen

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread Florian Weimer
* Jakub Jelinek: > On Sat, Sep 12, 2020 at 07:37:36PM +0200, Florian Weimer wrote: >> * H. J. Lu via Gcc-patches: >> >> > +inform (input_location, "the value of the stack pointer after" >> > +" an % statement must be the same as it was" >> > +" before the statement");

[committed] d: Build TYPE_DECLs for non-numeric enum types.

2020-09-12 Thread Iain Buclaw via Gcc-patches
Hi, This patch alters TYPE_DECL generation to also build one for enums whose member type is non-numeric. This is done so that the DWARF pass will emit a DW_TAG_typedef where the member type of an enum can't be represented in an ENUMERAL_TYPE. Bootstrapped and regression tested on x86_64-linux-gn

[committed] d: Return promoted types in d_type_promotes_to when linkage is not D

2020-09-12 Thread Iain Buclaw via Gcc-patches
Hi, This enables warnings to be shown when a wrong type is passed to va_arg inside an extern(C) or extern(C++) function. Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32. Committed to mainline. Regards Iain --- gcc/d/ChangeLog: PR d/97002 * d-codegen.cc (d_buil

[Patch] Fortran: Avoid double-free with parse error (PR96041, PR93423)

2020-09-12 Thread Tobias Burnus
The testcase for PR93423 did a double free, which caused an ICE. That's reported in PR96041. Slightly frustrated by the FAIL in the testsuite, I decided to debug and, hopefully, fix this. The problem is related to putting the symtree into a sub namespace of the symbol's ns. That's fixed up by co

[PATCH] libstdc++: only pull in bits/align.h if C++11 or later

2020-09-12 Thread Thomas Rodgers
From: Thomas Rodgers libstdc++-v3/ChangeLog: * include/std/memory: Move #include inside C++11 conditional includes. Tested x86_64-pc-linux-gnu, committed to master. --- libstdc++-v3/include/std/memory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc