[PATCH] [i386] Fix a small performance regression. [PR98348]

2021-04-18 Thread Hongtao Liu via Gcc-patches
Hi: This patch is about to add a pre-reload splitter to transform vpcmpeqd with a zero operand to vptestnmd, which could save a vpxor instruction. .i.e - vpxor %xmm1, %xmm1, %xmm1 - vpcmpd $0, %zmm1, %zmm0, %k0 + vptestnmd %zmm0, %zmm0, %k0 vpmovm2d zmm0, k0 B

[PATCH] PR tree-optimization/100081 - Limit depth of logical expression windback.

2021-04-18 Thread Andrew MacLeod via Gcc-patches
The code presented at the time wrestrict was invoking ranger has a basic block with about 7200 statements, all of them calculations which fed into 2614 logical ORs and 1480 logical ANDs. the GORI component which calculates outgoing ranges starts at the exit of the block and works it way back 

[PATCH] or1k: Add mcmodel option to handle large GOTs

2021-04-18 Thread Stafford Horne via Gcc-patches
When building libgeos we get an error with: linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': crtstuff.c:(.text+0x118): relocation truncated to fit: R_OR1K_GOT16 against symbol `__cxa_finalize' defined in .text section in /home/shorne/work/openrisc/3eb9f9d0f6d8274b

Re: [PATCH 1/3] openacc: Add support for gang local storage allocation in shared memory

2021-04-18 Thread Andrew Stubbs
On 16/04/2021 18:30, Thomas Schwinge wrote: Hi! On 2021-04-16T17:05:24+0100, Andrew Stubbs wrote: On 15/04/2021 18:26, Thomas Schwinge wrote: and optimisation, since shared memory might be faster than the main memory on a GPU. Do we potentially have a problem that making more use of (scarce

[PATCH] wwwdocs: Do not rewrite the page titles

2021-04-18 Thread Jonathan Wakely via Gcc-patches
Remove GNU and FSF attribution from HTML page titles. I don't see why we should have to "comply with the GNU style" if we're truly an independent project run by the GCC developers and aided by the steering committee. OK for wwwdocs? commit d157082f49725510560cb83f2f1c045e2968ad3b Author: Jonat

Re: [PATCH,FORTRAN 00/29] Move towards stringpool, part 1

2021-04-18 Thread Bernhard Reutner-Fischer via Gcc-patches
On Fri, 7 Sep 2018 10:30:30 +0200 Bernhard Reutner-Fischer wrote: > On Thu, 6 Sep 2018 at 03:25, Jerry DeLisle wrote: > > > > On 09/05/2018 07:57 AM, Bernhard Reutner-Fischer wrote: > > > Hi, > > > > > > The fortran frontend still uses stack-based handling of (symbol) names > > > with fixed-si

Re: [PATCH] libstdc++: Update some baseline_symbols.txt

2021-04-18 Thread H.J. Lu via Gcc-patches
On Fri, Apr 16, 2021 at 9:25 AM Jakub Jelinek via Gcc-patches wrote: > > Hi! > > As we have only one P1 left right now, I think it is the right time > to update abi list files in libstdc++. > > Attached are two patches, one is update for x86_64/i?86/s390x/ppc64 > linux (aarch64 seems to be correct

Re: [PATCH] combine: Don't create REG_UNUSED notes if the reg already died (PR99927)

2021-04-18 Thread Segher Boessenkool
Hi! On Sun, Apr 18, 2021 at 05:24:50PM +0200, Jakub Jelinek wrote: > On Sun, Apr 18, 2021 at 03:03:07PM +, Segher Boessenkool wrote: > > If the register named in an existing REG_UNUSED note dies somewhere > > between where the note used to be and I3, we should just drop it. > > > > 2021-04-21

Re: [PATCH] combine: Don't create REG_UNUSED notes if the reg already died (PR99927)

2021-04-18 Thread Jakub Jelinek via Gcc-patches
On Sun, Apr 18, 2021 at 03:03:07PM +, Segher Boessenkool wrote: > If the register named in an existing REG_UNUSED note dies somewhere > between where the note used to be and I3, we should just drop it. > > 2021-04-21 Segher Boessenkool > > PR rtl-optimization/99927 > * combine.

[Patch, fortran] PR fortran/100136 - ICE, regression, using flag -fcheck=pointer

2021-04-18 Thread José Rui Faustino de Sousa via Gcc-patches
Hi All! Proposed patch to: PR100136 - ICE, regression, using flag -fcheck=pointer Patch tested only on x86_64-pc-linux-gnu. Add handling for pointer expressions. Thank you very much. Best regards, José Rui Fortran: Fix ICE with -fcheck=pointer [PR100136] gcc/fortran/ChangeLog: PR

[PATCH] combine: Don't create REG_UNUSED notes if the reg already died (PR99927)

2021-04-18 Thread Segher Boessenkool
If the register named in an existing REG_UNUSED note dies somewhere between where the note used to be and I3, we should just drop it. 2021-04-21 Segher Boessenkool PR rtl-optimization/99927 * combine.c (distribute_notes) [REG_UNUSED]: If the register already is dead, ju

Re: [Bug libstdc++/99402] [10 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-04-18 Thread Jonathan Wakely via Gcc-patches
On Sun, 18 Apr 2021, 15:01 François Dumont via Libstdc++, < libstd...@gcc.gnu.org> wrote: > Hi > > Ok to backport this to gcc-10 branch ? > Yes please, thanks. > Tested under Linux x86_64. > > François > > > On 13/04/21 10:51 pm, redi at gcc dot gnu.org wrote: > > https://gcc.gnu.or

Re: [Bug libstdc++/99402] [10 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-04-18 Thread François Dumont via Gcc-patches
Hi     Ok to backport this to gcc-10 branch ?     Tested under Linux x86_64. François On 13/04/21 10:51 pm, redi at gcc dot gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 Jonathan Wakely changed: What|Removed |Added --

Re: [PATCH] docs: Remove empty table column.

2021-04-18 Thread Paul Richard Thomas via Gcc-patches
Hi Martin, It looks good to me - please push before release. Thanks Paul On Mon, 12 Apr 2021 at 16:59, Martin Liška wrote: > A column with empty values seems suspicious. > > Ready to be installed? > Thanks, > Martin > > gcc/fortran/ChangeLog: > > * intrinsic.texi: The table has first