Re: How to traverse all the local variables that declared in the current routine?

2020-12-06 Thread Richard Biener via Gcc-patches
On Fri, Dec 4, 2020 at 5:19 PM Qing Zhao wrote: > > > > On Dec 4, 2020, at 2:50 AM, Richard Biener wrote: > > On Thu, Dec 3, 2020 at 6:33 PM Richard Sandiford > wrote: > > > Richard Biener via Gcc-patches writes: > > On Tue, Nov 24, 2020 at 4:47 PM Qing Zhao wrote: > > Another issue is, in ord

Re: [PATCH] d: Add darwin support for D language front-end

2020-12-06 Thread ciel via Gcc-patches
Iain-san, Thank you for finally working on GDC Darwin support. T. Yamada 2020年11月30日(月) 7:28 : > > Send Gcc-patches mailing list submissions to > gcc-patches@gcc.gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://gcc.gnu.org/mailman/listinfo/gcc-patch

Re: [PATCH] doc: Remove -mcet

2020-12-06 Thread H.J. Lu via Gcc-patches
On Sun, Dec 6, 2020 at 7:09 AM H.J. Lu wrote: > > -mcet was removed by > > commit 231baae28ef7ff784683fa5a80df119da2b9a99b > Author: H.J. Lu > Date: Tue Apr 24 16:56:04 2018 + > > x86/CET: Remove the -mcet command-lint option > > PR target/98162 > * doc/extend.texi: Remo

Re: V2 [PATCH] x86: Check mode of pseudo register push

2020-12-06 Thread Uros Bizjak via Gcc-patches
On Sun, Dec 6, 2020 at 8:11 PM H.J. Lu wrote: > > On Sun, Dec 6, 2020 at 10:59 AM Uros Bizjak wrote: > > > > On Sun, Dec 6, 2020 at 7:51 PM H.J. Lu wrote: > > > > > > commit 266f44a91c0c9705d3d18e82d7c5bab32927a18f > > > Author: H.J. Lu > > > Date: Sun May 17 10:10:34 2020 -0700 > > > > > >

V2 [PATCH] x86: Check mode of pseudo register push

2020-12-06 Thread H.J. Lu via Gcc-patches
On Sun, Dec 6, 2020 at 10:59 AM Uros Bizjak wrote: > > On Sun, Dec 6, 2020 at 7:51 PM H.J. Lu wrote: > > > > commit 266f44a91c0c9705d3d18e82d7c5bab32927a18f > > Author: H.J. Lu > > Date: Sun May 17 10:10:34 2020 -0700 > > > > x86: Allow V1TI vector register pushes > > > > Add V1TI vect

Re: [PATCH] x86: Check mode of pseudo register push

2020-12-06 Thread Uros Bizjak via Gcc-patches
On Sun, Dec 6, 2020 at 7:51 PM H.J. Lu wrote: > > commit 266f44a91c0c9705d3d18e82d7c5bab32927a18f > Author: H.J. Lu > Date: Sun May 17 10:10:34 2020 -0700 > > x86: Allow V1TI vector register pushes > > Add V1TI vector register push and split it after reload to a sequence > of: > >

[PATCH] x86: Check mode of pseudo register push

2020-12-06 Thread H.J. Lu via Gcc-patches
commit 266f44a91c0c9705d3d18e82d7c5bab32927a18f Author: H.J. Lu Date: Sun May 17 10:10:34 2020 -0700 x86: Allow V1TI vector register pushes Add V1TI vector register push and split it after reload to a sequence of: (set (reg:P SP_REG) (plus:P SP_REG) (const_int -8))) (set (

[PATCH] doc: Remove -mcet

2020-12-06 Thread H.J. Lu via Gcc-patches
-mcet was removed by commit 231baae28ef7ff784683fa5a80df119da2b9a99b Author: H.J. Lu Date: Tue Apr 24 16:56:04 2018 + x86/CET: Remove the -mcet command-lint option PR target/98162 * doc/extend.texi: Remove -mcet. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 inser

Re: Updating the backend status for h8300 on the wiki

2020-12-06 Thread Maciej W. Rozycki
On Sat, 5 Dec 2020, John Paul Adrian Glaubitz wrote: > Now that VAX has been converted as well, the entry can be updated here > as well. I've done that already. Maciej

[committed][wwwdocs] Mark the `vax' backend as not using `cc0'

2020-12-06 Thread Maciej W. Rozycki
Match GCC commit e552abe2ba27 ("PR target/95294: VAX: Convert backend to MODE_CC representation"). --- htdocs/backends.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/backends.html b/htdocs/backends.html index 2de21fee..921f4a45 100644 --- a/htdocs/backends.html +++

Re: [PATCH] match.pd: Use ranges to optimize some x * y / y to x [PR97997]

2020-12-06 Thread Marc Glisse
On Thu, 26 Nov 2020, Jakub Jelinek via Gcc-patches wrote: For signed integers with undefined overflow we already optimize x * y / y into x, but for signed integers with -fwrapv or unsigned integers we don't. The following patch allows optimizing that into just x if value ranges prove that x * y

Re: [PATCH] [tree-optimization] Optimize max/min pattern with comparison

2020-12-06 Thread Marc Glisse
On Tue, 1 Dec 2020, Eugene Rozenfeld via Gcc-patches wrote: Thank you for the review Jeff. I don't need to look at the opcode to know the result. The pattern will be matched only in these 4 cases: X <= MAX(X, Y) -> true X > MAX(X, Y) -> false X >= MIN(X, Y) -> true X < MIN(X, Y) -> false So,

Re: [PATCH] add -Wmismatched-new-delete to middle end (PR 90629)

2020-12-06 Thread Martin Liška
Hello Martin. I've just noticed that this commit introduced the following clang warning: /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-clang/build/gcc/builtins.c:13071:1: warning: unused function 'call_dealloc_p' [-Wunused-function] Can you please take a look? Martin

[patch, Fortran testsuite, committed] Fix PR 98156

2020-12-06 Thread Thomas Koenig via Gcc-patches
Hello world, I just committed the attached patch as obvious and simple. Best regards Thomas Author: Thomas Koenig Date: 2020-12-06 10:14:13 +0100 Upper cobound is determined by num_images(), not this_image(). gcc/testsuite/ChangeLog: PR testsuite/98156