Re: [PATCH 1/5] Libsanitizer: merge from trunk with merge.sh.

2019-11-09 Thread Iain Sandoe
Eric Gallager wrote: > On 11/5/19, Jakub Jelinek wrote: >> On Mon, Nov 04, 2019 at 04:10:27PM +0100, Martin Liska wrote: >>> libsanitizer/ChangeLog: >>> >>> 2019-11-05 Martin Liska >>> >>> * all source files: Merge from upstream r375507. >>> --- >>> libsanitizer/BlocksRuntime/Block.h

Re: [PING**3] [PATCH] Fix dwarf-lineinfo inconsistency of inlined subroutines

2019-11-09 Thread Bernd Edlinger
Ping... On 11/2/19 7:49 AM, Bernd Edlinger wrote: > Ping... > > On 10/27/19 9:14 AM, Bernd Edlinger wrote: >> Ping... >> >> I'd like to ping for this patch: >> https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01459.html >> >> >> Thanks >> Bernd. >> >> On 10/20/19 9:58 PM, Bernd Edlinger wrote: >>> H

Re: [PATCH][arm][1/X] Add initial support for saturation intrinsics

2019-11-09 Thread Richard Henderson
> +;; define_subst and associated attributes > + > +(define_subst "add_setq" > + [(set (match_operand:SI 0 "" "") > +(match_operand:SI 1 "" ""))] > + "" > + [(set (match_dup 0) > +(match_dup 1)) > + (set (reg:CC APSRQ_REGNUM) > + (unspec:CC [(reg:CC APSRQ_REGNUM)] UNSPEC_Q_

[Darwin, machopic 10/n] Rework X86 mcount stub code.

2019-11-09 Thread Iain Sandoe
More machopic cleanups… When a stub is used to call the mcount function, the code is already marking it as used unconditionally; This is the only use of the so- called validation outside darwin.{h,c}. This moves the 'validation' into darwin.c which is a step towards making validation routine loc

[PATCH] Refactor tree-loop-distribution for thread safety

2019-11-09 Thread Giuliano Belinassi
Hi all, This patch refactors tree-loop-distribution.c for thread safety without use of C11 __thread feature. All global variables were moved to a struct which is initialized at ::execute time. I can install this patch myself in trunk if it's OK. gcc/ChangeLog 2019-11-09 Giuliano Belinassi

[patch, fortran, committed] Commit symbol for external BLAS routine when translating MATMUL to *GEMM.

2019-11-09 Thread Thomas Koenig
Hi, I just committed the patch below as obvious to fix a 9/10 regression when directly calling BLAS routines for matmul. Will backport to gcc-9 soon. Regards Thomas Commit symbol for external BLAS routine when translating MATMUL to *GEMM. 2019-11-09 Thomas Koenig PR fortr

Some minor ipa-fnsummary speedups

2019-11-09 Thread Jan Hubicka
Hi, this patch prevents ipa-fnsummary from calculating things that are not going to be used. Bootstrapped/regtested x86_64-linux, comitted. Honza * ipa-fnsummary.c (estimate_edge_size_and_time): Do not call estimate_edge_devirt_benefit when not computing hints; do not com

Fix computation of min_size in ipa-fnsummary.c

2019-11-09 Thread Jan Hubicka
Hi, this patch fixes two different bugs in computation of min_size in ipa-fnsummary.c. This computes minimal size of any clone or version of given function and is used to avoid some harder work to compute actual size for given context in the inlining heuristics. In estimate_size_and_time we mist

Speed up inlining functions called once

2019-11-09 Thread Jan Hubicka
Hi, it turns out that we spend a lot of time in inlining functions called once. This is because we in fact inline functions where inlining into all callers and eliminating offline copy of it leads to smaller code. For that we always compute growth of all edges in the callgraph that is expensive. F

[PATCH] Bump minimum MPFR version to 3.1.0

2019-11-09 Thread Janne Blomqvist
Bump the minimum MPFR version to 3.1.0, released 2011-10-03. With this requirement one can still build GCC with the operating system provided MPFR on old but still supported operating systems like SLES 12 (MPFR 3.1.2) or RHEL/CentOS 7.x (MPFR 3.1.1). This allows removing some code in the Fortran f

Fix IPA_NODE_REF call in evaluate_properties_for_edge

2019-11-09 Thread Jan Hubicka
Hi, evaluate_properties_for_edge may call IPA_NODE_REF on alias which makes no sense. Fixed thus. Bootstrapped/regtested x86_64-linux. Comitted. * ipa-fnsummary.c (evaluate_properties_for_edge): Call IPA_NODE_REF on function symbol. * gcc.dg/tree-ssa/pr46076.c: Make tested

Re: [committed][AArch64] Add main SVE ACLE tests

2019-11-09 Thread Andreas Schwab
I'm getting massive testsuite failures with -mabi=ilp32. There are 14922 failures for g++ and another 13594 failures for gcc. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH] V6, #4 of 17: Add prefixed instruction support to stack protect insns

2019-11-09 Thread Michael Meissner
On Fri, Nov 01, 2019 at 10:22:03PM -0500, Segher Boessenkool wrote: > Hi! > > On Wed, Oct 16, 2019 at 09:47:41AM -0400, Michael Meissner wrote: > > This patch fixes the stack protection insns to support stacks larger than > > 16-bits on the 'future' system using prefixed loads and stores. > > > +

Re: [PATCH] V6, #4 of 17: Add prefixed instruction support to stack protect insns

2019-11-09 Thread Segher Boessenkool
On Sun, Nov 10, 2019 at 01:32:29AM -0500, Michael Meissner wrote: > On Fri, Nov 01, 2019 at 10:22:03PM -0500, Segher Boessenkool wrote: > > On Wed, Oct 16, 2019 at 09:47:41AM -0400, Michael Meissner wrote: > > We could make %pN mean 'p' for prefixed, for memory as operands[N]? Are > > there more p

Re: [PATCH] V6, #4 of 17: Add prefixed instruction support to stack protect insns

2019-11-09 Thread Segher Boessenkool
On Sun, Nov 10, 2019 at 12:38:56AM -0600, Segher Boessenkool wrote: > It emits a literal ';' into the assembler code. Or actually, huh, it doesn't. Sorry. See read_braced_string in read-md.c . Your code is fine. Segher