[Bug tree-optimization/100102] [8/9/10/11 Regression] ICE in tsubst, at cp/pt.c:15310

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 Jakub Jelinek changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #4 from

Re: [PATCH] aarch64: Fix up 2 other combine opt regressions vs. GCC8 [PR100075]

2021-04-15 Thread Richard Sandiford via Gcc-patches
Jakub Jelinek writes: > --- gcc/config/aarch64/aarch64.md.jj 2021-04-15 10:45:02.798853095 +0200 > +++ gcc/config/aarch64/aarch64.md 2021-04-15 13:28:04.734754364 +0200 > @@ -3572,6 +3572,18 @@ (define_insn "*neg__si2_uxtw" >[(set_attr "autodetect_type" "alu_shift__op2")] > ) > >

[Bug c++/100104] New: std::transform is 1.5 times faster than std::copy with -O3

2021-04-15 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100104 Bug ID: 100104 Summary: std::transform is 1.5 times faster than std::copy with -O3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/100099] Compilation speed of #include is too slow. Just include the header takes 0.342 seconds

2021-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100099 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

Re: [PATCH v2] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread Uros Bizjak via Gcc-patches
On Thu, Apr 15, 2021 at 6:51 PM H.J. Lu wrote: > > On Thu, Apr 15, 2021 at 9:34 AM Uros Bizjak wrote: > > > > On Thu, Apr 15, 2021 at 6:26 PM H.J. Lu wrote: > > > > > > On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > > > > > > > On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > > > >

[Bug c++/99683] Deduction failure when using CTAD of CNTTP inside a deduction guide

2021-04-15 Thread omer.rosler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99683 --- Comment #1 from Omer Rosler --- It seems that Reduced: template struct A { constexpr A(int) {} }; A(int) -> A; template //template works fine struct B { template B(T); }; template B(T) -> B; //see below int main() {

[PATCH] testsuite: Enable zero-scratch-regs-{8,9,10,11}.c on s390*

2021-04-15 Thread Stefan Schulze Frielinghaus via Gcc-patches
On s390* the only missing part for the mentioned testcases was a load of a double floating-point zero via a move (in particular for quite old machines) which was added in commit 46c47420a5fefd4d9d02b0db347235dd74e20fb2. Common code implementation is sufficient in order to clear volatile GPRs,

Re: [PATCH] aarch64: Avoid duplicating bti j insns for jump tables [PR99988]

2021-04-15 Thread Richard Sandiford via Gcc-patches
Looks good in general, but like you say, it's GCC 12 material. Alex Coplan writes: > diff --git a/gcc/config/aarch64/aarch64-bti-insert.c > b/gcc/config/aarch64/aarch64-bti-insert.c > index 936649769c7..943fa3c1097 100644 > --- a/gcc/config/aarch64/aarch64-bti-insert.c > +++

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #16 from David Malcolm --- (In reply to Sascha Wilde from comment #10) > (In reply to David Malcolm from comment #8) > > It would be good to know exactly where that error message is being emitted. > > > > If you add: > >

Re: GCC association with the FSF

2021-04-15 Thread Christopher Dimech via Gcc
> Sent: Friday, April 16, 2021 at 4:24 AM > From: "Richard Biener via Gcc" > To: "Jason Merrill" > Cc: "Thomas Koenig" , "gcc mailing list" > > Subject: Re: GCC association with the FSF > > On April 15, 2021 6:02:50 PM GMT+02:00, Jason Merrill > wrote: > >On Wed, Apr 14, 2021 at 8:08 AM

[Bug tree-optimization/100102] [8/9/10/11 Regression] ICE in tsubst, at cp/pt.c:15310

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 Jakub Jelinek changed: What|Removed |Added Summary|ICE in tsubst, at |[8/9/10/11 Regression] ICE

[Bug tree-optimization/100102] ICE in tsubst, at cp/pt.c:15310

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-04-15

Re: [PATCH v2] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread H.J. Lu via Gcc-patches
On Thu, Apr 15, 2021 at 9:53 AM Uros Bizjak wrote: > > On Thu, Apr 15, 2021 at 6:51 PM H.J. Lu wrote: > > > > On Thu, Apr 15, 2021 at 9:34 AM Uros Bizjak wrote: > > > > > > On Thu, Apr 15, 2021 at 6:26 PM H.J. Lu wrote: > > > > > > > > On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > >

Re: removing toxic emailers

2021-04-15 Thread David Malcolm via Gcc
On Thu, 2021-04-15 at 09:49 -0400, Eric S. Raymond wrote: > Joseph Myers : > > On Wed, 14 Apr 2021, Eric S. Raymond wrote: > > > > > I'm not judging RMS's behavior (or anyone else's) one way or > > > another. I am simply pointing out that there is a Schelling point > > > in > > > possible

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

2021-04-15 Thread Thomas Schwinge
Hi! On 2021-02-26T04:34:50-0800, Julian Brown wrote: > This patch Thanks, Julian, for your continued improving of these changes! This has iterated through several conceptually different designs and implementations, by several people, over the past several years. It's now been made my task to

[Bug middle-end/90115] OpenACC: predetermined private levels for variables declared in blocks

2021-04-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90115 Thomas Schwinge changed: What|Removed |Added Blocks||90114 --- Comment #1 from Thomas

[Bug c++/99861] [modules] ICE in hashtab_chk_error

2021-04-15 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
+ (GCC) 11.0.1 20210415 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[Bug c++/81714] incorrect location for uninitialised variable

2021-04-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81714 Martin Sebor changed: What|Removed |Added CC||skvadrik at gmail dot com --- Comment #3

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 60741, which changed state. Bug 60741 Summary: -Wmaybe-uninitialized wrong location https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60741 What|Removed |Added

[Bug middle-end/60741] -Wmaybe-uninitialized wrong location

2021-04-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60741 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101 --- Comment #4 from Jakub Jelinek --- --- gcc/cp/error.c.jj 2021-02-25 23:27:46.561918450 +0100 +++ gcc/cp/error.c 2021-04-15 19:10:38.389850343 +0200 @@ -1554,10 +1554,12 @@ find_typenames_r (tree *tp, int *walk_su /* Add the

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

2021-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/99540] [10 Regression] ICE: Segmentation fault in aarch64_add_offset

2021-04-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99540 rsandifo at gcc dot gnu.org changed: What|Removed |Added Target Milestone|10.4|8.5 --- Comment #13 from

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99700] [10/11 Regression] uninitialized variable accepted as a constant expression in C++ 20

2021-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99700 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

Re: [PATCH v2] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread Uros Bizjak via Gcc-patches
On Thu, Apr 15, 2021 at 6:51 PM H.J. Lu wrote: > > On Thu, Apr 15, 2021 at 9:34 AM Uros Bizjak wrote: > > > > On Thu, Apr 15, 2021 at 6:26 PM H.J. Lu wrote: > > > > > > On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > > > > > > > On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > > > >

[Bug target/99540] [10 Regression] ICE: Segmentation fault in aarch64_add_offset

2021-04-15 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99540 --- Comment #12 from Alex Coplan --- Looks like this can be closed?

[PATCH v2] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread H.J. Lu via Gcc-patches
On Thu, Apr 15, 2021 at 9:34 AM Uros Bizjak wrote: > > On Thu, Apr 15, 2021 at 6:26 PM H.J. Lu wrote: > > > > On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > > > > > On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > > > > > > > Use crc32 target option for CRC32 intrinsics to support

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 81962, which changed state. Bug 81962 Summary: -Wmaybe-uninitialized refers to wrong line (and only works with -O3) (Fortran) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81962 What|Removed

[Bug middle-end/63943] wrong location for -Wmaybe-uninitialized in inlined function

2021-04-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63943 Martin Sebor changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

[Bug middle-end/81962] -Wmaybe-uninitialized refers to wrong line (and only works with -O3) (Fortran)

2021-04-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81962 Martin Sebor changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101 --- Comment #3 from Jakub Jelinek --- In particular it is the TYPENAME_TYPE type seen in bar's noexcept expression. Does find_typenames_r ever want to walk into expressions? I.e. couldn't the fix be if (EXPR_P (*tp)) *walk_subtrees = 0;

Re: [PATCH] libstdc++: Add -latomic to test flags for 32-bit sparc-linux

2021-04-15 Thread Jonathan Wakely via Gcc-patches
On 15/04/21 18:23 +0200, Eric Botcazou wrote: Without this I see a number of tests failing when -m32 is used. libstdc++-v3/ChangeLog: * testsuite/lib/dg-options.exp (add_options_for_libatomic): Also add libatomic options for 32-bit sparc*-*-linux-gnu. Eric, are you OK with

[pushed] c++: lambda in default type template-argument [PR100091]

2021-04-15 Thread Jason Merrill via Gcc-patches
My patch for 99478 relied on local_variables_forbidden_p for distinguishing between a template parameter and its default argument, but that flag wasn't set for a default type template-argument. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: PR c++/100091 PR

Re: [PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread Uros Bizjak via Gcc-patches
On Thu, Apr 15, 2021 at 6:26 PM H.J. Lu wrote: > > On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > > > On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > > > > > Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics > > > without enabling SSE vector instructions. > > >

[Bug fortran/100103] New: Automatic reallocation fails inside select rank

2021-04-15 Thread jrfsousa at gmail dot com via Gcc-bugs
sic assignment fails inside select rank construct. Seen on: GNU Fortran (GCC) 11.0.1 20210415 (experimental) GNU Fortran (GCC) 10.3.1 20210415 Thank you very much. Best regards, José Rui

[Bug tree-optimization/70392] [openacc] inconsistent line numbers in uninitialised warnings for if clause

2021-04-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70392 Martin Sebor changed: What|Removed |Added Last reconfirmed|2017-12-30 00:00:00 |2021-4-15 See Also|

Re: [PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread H.J. Lu via Gcc-patches
On Thu, Apr 15, 2021 at 9:14 AM Uros Bizjak wrote: > > On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > > > Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics > > without enabling SSE vector instructions. > > There is no CRC32 ISA. crc32 is part of SSE4.2 [1] and current

Re: GCC association with the FSF

2021-04-15 Thread Richard Biener via Gcc
On April 15, 2021 6:02:50 PM GMT+02:00, Jason Merrill wrote: >On Wed, Apr 14, 2021 at 8:08 AM Richard Biener via Gcc > wrote: >> On April 14, 2021 12:19:16 PM GMT+02:00, Jonathan Wakely via Gcc > wrote: >> >N.B. Jeff is no longer @redhat.com so I've changed the CC >> >On Wed, 14 Apr 2021 at

Re: [PATCH] libstdc++: Add -latomic to test flags for 32-bit sparc-linux

2021-04-15 Thread Eric Botcazou
> Without this I see a number of tests failing when -m32 is used. > > libstdc++-v3/ChangeLog: > > * testsuite/lib/dg-options.exp (add_options_for_libatomic): Also > add libatomic options for 32-bit sparc*-*-linux-gnu. > > Eric, are you OK with this? It adds -latomic and the

Re: [PATCH] Deprecate gimple-builder.h API

2021-04-15 Thread Richard Biener
On April 15, 2021 6:08:44 PM GMT+02:00, Martin Sebor wrote: >On 4/15/21 5:01 AM, Richard Biener wrote: >> This adds a deprecation note to the undocumented gimple-builder.h >> API only used by asan and sancov. >> >> Pushed. >> >> 2021-04-15 Richard Biener >> >> * gimple-builder.h: Add

Re: removing toxic emailers

2021-04-15 Thread Gabriel Ravier via Gcc
On 4/15/21 8:00 AM, Thomas Koenig via Gcc wrote: My 0.02 Euro-Cent: There is a minor problem with contributors being overly harsh/ borderline abusive on the mailing list.  In my > 15 years with the project, I have only had that problem with one single person, and I have resolved that by never

[Bug libstdc++/96657] [9/10 Regression] libsupc++.a missing required functions from src/c++98/atomicity.cc when atomic builtins are not supported

2021-04-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96657 Jonathan Wakely changed: What|Removed |Added Summary|[9/10/11 Regression]|[9/10 Regression]

Re: [PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread Uros Bizjak via Gcc-patches
On Thu, Apr 15, 2021 at 5:11 PM H.J. Lu wrote: > > Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics > without enabling SSE vector instructions. There is no CRC32 ISA. crc32 is part of SSE4.2 [1] and current situation reflects that correctly. [1]

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #15 from Sascha Wilde --- (In reply to Jakub Jelinek from comment #13) > readelf -wi libgccjit.so.0 | grep DW_AT_producer | grep -v 'fPIC\|fpic' FWIW, I had the command running for quite some while without spotting any line not

[committed] libstdc++: Move atomic functions to libsupc++ [PR 96657]

2021-04-15 Thread Jonathan Wakely via Gcc-patches
The changes for PR libstdc++/64735 mean that libsupc++ function might now depend on the __exchange_and_add and __atomic_add functions defined in config/cpu/*/atomicity.h which is not compiled into libsupc++. This causes a link failure for some targets when trying to use libsupc++ without the rest

[Bug libstdc++/64735] std::future broken on armel

2021-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735 --- Comment #14 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c commit r11-8198-g6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c Author: Jonathan Wakely

[Bug libstdc++/96657] [9/10/11 Regression] libsupc++.a missing required functions from src/c++98/atomicity.cc when atomic builtins are not supported

2021-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96657 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c commit r11-8198-g6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c Author: Jonathan Wakely Date:

Re: [PATCH] Deprecate gimple-builder.h API

2021-04-15 Thread Martin Sebor via Gcc-patches
On 4/15/21 5:01 AM, Richard Biener wrote: This adds a deprecation note to the undocumented gimple-builder.h API only used by asan and sancov. Pushed. 2021-04-15 Richard Biener * gimple-builder.h: Add deprecation note. --- gcc/gimple-builder.h | 2 ++ 1 file changed, 2

[PATCH 2/2] Add IEEE 128-bit fp conditional move on PowerPC.

2021-04-15 Thread Michael Meissner via Gcc-patches
[PATCH 2/2] Add IEEE 128-bit fp conditional move on PowerPC. This patch adds the support for power10 IEEE 128-bit floating point conditional move and for automatically generating min/max. In this patch, I simplified things. Instead of allowing any four of the modes to be used for the

[Bug tree-optimization/100102] ICE in tsubst, at cp/pt.c:15310

2021-04-15 Thread schnetter at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 --- Comment #1 from Erik Schnetter --- Created attachment 50605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50605=edit Compressed preprocessed source code

Re: GCC association with the FSF

2021-04-15 Thread Jason Merrill via Gcc
On Wed, Apr 14, 2021 at 8:08 AM Richard Biener via Gcc wrote: > On April 14, 2021 12:19:16 PM GMT+02:00, Jonathan Wakely via Gcc > wrote: > >N.B. Jeff is no longer @redhat.com so I've changed the CC > >On Wed, 14 Apr 2021 at 11:03, Thomas Koenig > >wrote: > >> - All gfortran developers move to

[Bug tree-optimization/100102] New: ICE in tsubst, at cp/pt.c:15310

2021-04-15 Thread schnetter at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 Bug ID: 100102 Summary: ICE in tsubst, at cp/pt.c:15310 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/99971] GCC generates partially vectorized and scalar code at once

2021-04-15 Thread andysem at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99971 --- Comment #6 from andysem at mail dot ru --- Hmm, it looks like the original code has changed enough so that the problem no longer reproduces, with or without __restrict__. I don't have the older version of the code, so I can't tell what

[PATCH] libstdc++: Add -latomic to test flags for 32-bit sparc-linux

2021-04-15 Thread Jonathan Wakely via Gcc-patches
Without this I see a number of tests failing when -m32 is used. libstdc++-v3/ChangeLog: * testsuite/lib/dg-options.exp (add_options_for_libatomic): Also add libatomic options for 32-bit sparc*-*-linux-gnu. Eric, are you OK with this? It adds -latomic and the appropriate -L

[PATCH 1/2] Add IEEE 128-bit min/max support on PowerPC.

2021-04-15 Thread Michael Meissner via Gcc-patches
[PATCH 1/2] Add IEEE 128-bit min/max support on PowerPC. This patch adds the support for the IEEE 128-bit floating point C minimum and maximum instructions. The next patch will add the support for using the compare and set mask instruction to implement conditional moves. I removed the

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101 --- Comment #2 from Jakub Jelinek --- So maybe find_typenames doesn't want to walk into TYPE_RAISES_EXCEPTIONS?

[PATCH 0/2] Add IEEE 128-bit min/max/conditional move

2021-04-15 Thread Michael Meissner via Gcc-patches
These patches add support for the XSMAXCQP, XSMINCQP, XSCMPEQQP, XSCMPGTQP, and XSCMPGEQP instructions that were added to the PowerPC ISA 3.1 (power10). These patches address the comments raised from the last version of the patches. In this iteration, I simplified the first patch, eliminating a

[Bug fortran/100094] Undefined pointers have incorrect rank when using optimization

2021-04-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100094 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[PATCH] testsuite: Move gimplefe40.c and gimplefe41.c

2021-04-15 Thread Robin Dapp via Gcc-patches
Hi, the gimplefe40 and gimplefe41.c tests expect vector capabilities (vect_float etc.) yet are not in the vect subdirectory. This causes both to be called unconditionally without prior target-specific vector setup normally performed by vect/vect.exp. There is a target-specific option for

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[PATCH] aarch64: Fix up 2 other combine opt regressions vs. GCC8 [PR100075]

2021-04-15 Thread Jakub Jelinek via Gcc-patches
Hi! The testcase used to be compiled at -O2 by GCC8 and earlier to: f1: neg w1, w0, asr 16 and w1, w1, 65535 orr w0, w1, w0, lsl 16 ret f2: neg w1, w0 extrw0, w1, w0, 16 ret but since GCC9 (r9-3594 for f1 and r9-6926 for

[Bug c++/100101] [11 Regression] ICE with -Wzero-as-null-pointer-constant

2021-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/99767] [9/10/11 Regression] ICE in expand_direct_optab_fn, at internal-fn.c:3360

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99767 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

Patch, fortran] PR fortran/100097 PR fortran/100098 - [Unlimited] polymorphic pointers and allocatables have incorrect rank

2021-04-15 Thread José Rui Faustino de Sousa via Gcc-patches
Hi All! Proposed patch to: PR100097 - Unlimited polymorphic pointers and allocatables have incorrect rank PR100098 - Polymorphic pointers and allocatables have incorrect rank Patch tested only on x86_64-pc-linux-gnu. Pointers, and allocatables, must carry TKR information even when

Re: removing toxic emailers

2021-04-15 Thread Paul Koning via Gcc
> On Apr 15, 2021, at 11:17 AM, Iain Sandoe wrote: > > ... > responding in general to this part of the thread. > > * The GCC environment is not hostile, and has not been for the 15 or so > years I’ve been part of the community. Glad to see you feel that way; my view matches yours. > * We

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[committed] Make SVE ACLE tests work with --with-cpu

2021-04-15 Thread Richard Sandiford via Gcc-patches
This patch follows on from a previous one and adds -mtune=generic to the SVE ACLE assembler tests. These tests are pure assembly tests (execution tests are elsewhere) and they already require dg-additional-options to be used to add new options. We therefore don't need

[committed] Make SVE tests work with --with-cpu

2021-04-15 Thread Richard Sandiford via Gcc-patches
A lot of the SVE assembly tests are for generic-tuned SVE codegen and so can fail when run on a toolchain configured with --with-cpu. This could easily be solved by forcing -mtune=generic, like we already do for -moverride=tune=none. However, the testsuite also has some useful execution tests

Re: removing toxic emailers

2021-04-15 Thread Iain Sandoe
Eric S. Raymond wrote: Paul Koning via Gcc : On Apr 14, 2021, at 4:39 PM, Ian Lance Taylor via Gcc wrote: So we don't get the choice between "everyone is welcome" and "some people are kicked off the list." We get the choice between "some people decline to participate because it is

[PATCH] x86: Use crc32 target option for CRC32 intrinsics

2021-04-15 Thread H.J. Lu via Gcc-patches
Use crc32 target option for CRC32 intrinsics to support CRC32 intrinsics without enabling SSE vector instructions. * config/i386/gnu-property.c (file_end_indicate_exec_stack_and_gnu_property): Also check TARGET_CRC32 for GNU_PROPERTY_X86_ISA_1_V2. *

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #14 from Jakub Jelinek --- Though, DW_AT_producer lines don't really provide the filename and comp_dir, so guess what I need is better readelf -wi libgccjit.so.0 | grep -A4 DW_AT_producer | bzip2 -9 output.

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #13 from Jakub Jelinek --- The important question is what TUs are compiled without -fPIC/-fpic, those with those options are fine. So perhaps readelf -wi libgccjit.so.0 | grep DW_AT_producer | grep -v 'fPIC\|fpic' ?

[Bug target/99767] [9/10/11 Regression] ICE in expand_direct_optab_fn, at internal-fn.c:3360

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99767 --- Comment #5 from Jakub Jelinek --- Note, we have already: /* Stub out scalar statements that must not survive vectorization. Doing this here helps with grouped statements, or statements that are involved in patterns.

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #12 from Sascha Wilde --- (In reply to Jakub Jelinek from comment #9) > Perhaps > readelf -wi libgccjit.so.0 | grep DW_AT_producer > would make it clearer on what is and what is not built with -fpic/-fPIC. This runs quite long and

[Bug c++/99387] ICE when mixing CNTTP with deduction guides

2021-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99387 --- Comment #3 from Patrick Palka --- Reduced: template struct A { }; template struct B { }; template class Tmpl, Tmpl V> void f (A); int main() { A{}> x; f(x); }

[Bug c++/100101] New: [11 Regression] ICE with -Wzero-as-null-pointer-constant

2021-04-15 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101 Bug ID: 100101 Summary: [11 Regression] ICE with -Wzero-as-null-pointer-constant Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #11 from Sascha Wilde --- Created attachment 50603 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50603=edit tut01-hello-world log output

Re: removing toxic emailers

2021-04-15 Thread Eric S. Raymond
Adrian via Gcc : > Eric S. Raymond : > > there is actually a value conflict between being "welcoming" in that > sense and the actual purpose of this list, which is to ship code. > > Speaking as a "high functioning autist", I'm aware of the difficulties that > some of us have with social

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #10 from Sascha Wilde --- (In reply to David Malcolm from comment #8) > It would be good to know exactly where that error message is being emitted. > > If you add: > gcc_jit_context_set_logfile (ctxt, stderr, 0, 0); > to the test

[PATCH] arm: Fix ICEs with compare-and-swap and -march=armv8-m.base [PR99977]

2021-04-15 Thread Alex Coplan via Gcc-patches
Hi all, The PR shows two ICEs with __sync_bool_compare_and_swap and -mcpu=cortex-m23 (equivalently, -march=armv8-m.base): one in LRA and one later on, after the CAS insn is split. The LRA ICE occurs because the @atomic_compare_and_swap_1 pattern attempts to tie two output operands together

Re: removing toxic emailers

2021-04-15 Thread Christopher Dimech via Gcc
> Sent: Thursday, April 15, 2021 at 10:20 PM > From: "Aaron Gyes" > To: gcc@gcc.gnu.org > Cc: dim...@gmx.com > Subject: Re: removing toxic emailers > > > On Apr 14, 2021, at 5:10 PM, Christopher Dimech wrote: > > > What are we? Adults or Children? You know, as I know, that identities > >

[Bug c++/99963] [11 Regression] [concepts] template vs concept auto reports ambiguous overload

2021-04-15 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99963 --- Comment #3 from Luke Dalessandro --- I understand. Thank you (I've forwarded this on to clang, which _does_ accept the ambiguous form).

Re: removing toxic emailers

2021-04-15 Thread Christopher Dimech via Gcc
> Sent: Thursday, April 15, 2021 at 9:18 PM > From: "Jonathan Wakely" > To: "Christopher Dimech" > Cc: "Nathan Sidwell" , "gcc@gcc.gnu.org" > Subject: Re: removing toxic emailers > > On Thu, 15 Apr 2021 at 02:18, Christopher Dimech wrote: > > What are we? Adults or Children? You know, as I

[Bug target/100067] Unexpected warning for -mcpu=neoverse-n1 when configured with --with-fpu

2021-04-15 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100067 --- Comment #5 from Christophe Lyon --- (In reply to Richard Earnshaw from comment #4) > (In reply to Christophe Lyon from comment #3) > > Unfortunately this is causing many regressions in the GCC testsuite. > > Sigh! I'm not entirely

Re: [PATCH] testsuite: Fix unroll-and-jam.c on IBM Z

2021-04-15 Thread Richard Biener via Gcc-patches
On Thu, Apr 15, 2021 at 2:51 PM Stefan Schulze Frielinghaus via Gcc-patches wrote: > > For z10 and newer inner loops are completely unrolled which leaves no > inner loops to jam which renders this testcase to fail. Reverting > max-completely-peel-times to the default value fixes this testcase. >

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #9 from Jakub Jelinek --- So I see 236 R_386_RELATIVE text relocations and 231 other text relocations. Seems the compiler itself is built with -fpic/-fPIC, but some of the libraries that are linked into it are not, e.g. libintl.a,

Re: removing toxic emailers

2021-04-15 Thread Eric S. Raymond
Paul Koning via Gcc : > > On Apr 14, 2021, at 4:39 PM, Ian Lance Taylor via Gcc > > wrote: > > So we don't get the choice between "everyone is welcome" and "some > > people are kicked off the list." We get the choice between "some > > people decline to participate because it is unpleasant" and

[Bug target/100067] Unexpected warning for -mcpu=neoverse-n1 when configured with --with-fpu

2021-04-15 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100067 --- Comment #4 from Richard Earnshaw --- (In reply to Christophe Lyon from comment #3) > Unfortunately this is causing many regressions in the GCC testsuite. Sigh! I'm not entirely surprised. I suspect most of this is testisms, though. > >

Re: removing toxic emailers

2021-04-15 Thread Eric S. Raymond
Joseph Myers : > On Wed, 14 Apr 2021, Eric S. Raymond wrote: > > > I'm not judging RMS's behavior (or anyone else's) one way or > > another. I am simply pointing out that there is a Schelling point in > > possible community norms that is well expressed as "you shall judge by > > the code alone".

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #8 from David Malcolm --- (In reply to Sascha Wilde from comment #6) > However, please note that > "Cannot write-enable text segment: Permission denied" > is the more pressing problem, as it prevents libgccjit to be used > on NetBSD

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #7 from Andreas Schwab --- That's just the consequence of text relocations.

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #6 from Sascha Wilde --- However, please note that "Cannot write-enable text segment: Permission denied" is the more pressing problem, as it prevents libgccjit to be used on NetBSD with default security settings.

Re: [pushed] c++: debug location of variable cleanups [PR88742]

2021-04-15 Thread Christophe Lyon via Gcc-patches
Hi, On Wed, 14 Apr 2021 at 02:20, Jason Merrill via Gcc-patches wrote: > > PR49951 complained about the debugger jumping back to the declaration of a > local variable when we run its destructor. That was fixed in 4.7, but broke > again in 4.8. PR58123 fixed an inconsistency in the behavior,

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #5 from Sascha Wilde --- (In reply to Jakub Jelinek from comment #3) > So, how many text relocations do you see? > E.g. readelf -Wa libgccjit.so.0 output attached here would be useful. I attached the requested output (its nearly

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 --- Comment #4 from Pilar Latiesa --- > Of course such use of a lambda is quite pointless Not as pointless as it might appear. This defaulted template parameter enables a form of stateful metaprogramming: #include template class T {};

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #4 from Sascha Wilde --- Created attachment 50602 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50602=edit Output of: readelf -Wa /usr/local/lib/libgccjit.so

[Bug target/100067] Unexpected warning for -mcpu=neoverse-n1 when configured with --with-fpu

2021-04-15 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100067 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #3 from Jakub Jelinek --- So, how many text relocations do you see? E.g. readelf -Wa libgccjit.so.0 output attached here would be useful.

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-15 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 --- Comment #2 from Sascha Wilde --- > How did you build libgccjit.so.0? > Have you used --enable-host-shared during configure? Yes, AFAIK this is mandatory? Here is the configuration I used: ../gcc-10.2.0/configure \

<    1   2   3   >