[Bug c++/95484] New: Friend declaration of member function template has no effect

2020-06-02 Thread herring at lanl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95484 Bug ID: 95484 Summary: Friend declaration of member function template has no effect Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-06-02 Thread andrew2085 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #28 from Andrew Downing --- Hey that's cheating, but yea the second part did it.

[Bug c++/95193] [11 Regression] ICE in tsubst_decl, at cp/pt.c:14624

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95193 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4b68cb38ddca37a14a6f2f43de3a6d396ee1bc79 commit r11-838-g4b68cb38ddca37a14a6f2f43de3a6d396ee1bc79 Author: Jason Merrill Date: Mon

[Bug c++/92103] constraints not checked on nested class template

2020-06-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92103 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug middle-end/95485] New: missing warning writing into function text

2020-06-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Bug ID: 95485 Summary: missing warning writing into function text Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-

[Bug middle-end/95485] missing warning writing into function text

2020-06-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug target/84553] -rdynamic generates TEXTREL relocations on ia64

2020-06-02 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84553 --- Comment #7 from Jim Wilson --- I was ia64 maintainer when I wrote the patch, but couldn't test it. I'm not the ia64 maintainer anymore. I suggest asking the current ia64 maintainer. Though, oops, I see we don't have one listed in the MAINT

[Bug middle-end/95485] missing warning writing into function text

2020-06-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-06-02 Status|UNCONFIRMED

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-06-02 Thread andrew2085 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #29 from Andrew Downing --- So I think this sort of equivalent example in C shows what's going wrong in the C++ example. https://godbolt.org/z/ZMz4Cp gcc knows that if the object mem points to is modified inside pun() its effective t

[Bug middle-end/95236] OMP 'GOMP_MAP_STRUCT': a structure is more than the sum of all its fields?

2020-06-02 Thread julian at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95236 --- Comment #1 from julian at codesourcery dot com --- On Wed, 20 May 2020 10:42:23 + "tschwinge at gcc dot gnu.org" wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95236 > > Bug ID: 95236 >Summary: OMP 'GOMP_M

[Bug jit/95426] libgccjit.so: error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95426 --- Comment #9 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:44564c4c811f4751daf363ca019a9f9bed702f4f commit r11-839-g44564c4c811f4751daf363ca019a9f9bed702f4f Author: David Malcolm Date: Sun

[Bug jit/95426] libgccjit.so: error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN

2020-06-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95426 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/95486] New: ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread johelegp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 Bug ID: 95486 Summary: ICE for alias CTAD with non-dependent argument and constrained constructor Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: nor

[Bug target/19490] PowerPC back end ignores SPE command-line options

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19490 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX Status|ASSIGNED

[Bug target/30259] ICE on valid code

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30259 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org R

[Bug target/30370] [4.1 regression] Build failure in libgcc2 powitf2 with ICE in gen_reg_rtx

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30370 Bug 30370 depends on bug 30259, which changed state. Bug 30259 Summary: ICE on valid code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30259 What|Removed |Added --

[Bug target/37759] powerpc option -mabi=no-spe still generates SPE instructions

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37759 --- Comment #12 from Segher Boessenkool --- The powerpcspe backend has been deprecated in GCC 8 and removed during GCC 9 development. See corresponding mailing list threads[1,2,3] for details. [1] https://gcc.gnu.org/legacy-ml/gcc/2018-04/msg001

[Bug target/37760] internal compiler error: in extract_insn, at recog.c:1990

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37760 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIR

[Bug target/47856] PowerPC: Wrong assembler output with -mcpu=8540 -meabi -msdata -fno-common -mfloat-gprs=double -mspe -mabi=spe

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47856 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/47977] powerpc (-mcpu=8548) Wrong code for double operations in little endian mode

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47977 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/49854] Clean up SPE/e500 option handling

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49854 --- Comment #7 from Segher Boessenkool --- The powerpcspe backend has been deprecated in GCC 8 and removed during GCC 9 development. See corresponding mailing list threads[1,2,3] for details. [1] https://gcc.gnu.org/legacy-ml/gcc/2018-04/msg0010

[Bug rtl-optimization/51905] ICE at sysklogd compilation for powerpc-linux-gnuspe with -O3

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51905 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX CC|

[Bug debug/57389] ICE in dbx_reg_number, at dwarf2out.c:10507 on powerpc-spe target

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57389 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug target/57872] ICE occurs for cross-compile of PPC target with e500v2 core

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57872 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug target/71012] ICE: in expand_expr_real_2, at expr.c:9348 when compiling stress-ng

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71012 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/90949] [9 Regression] null pointer check removed

2020-06-02 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 Dávid Bolvanský changed: What|Removed |Added CC||david.bolvansky at gmail dot com ---

[Bug target/86133] powerpc (-mcpu=8548) internal compiler error for double variables

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86133 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/52927] "procps" do not work with -Os flag.

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52927 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WONTFIX CC|

[Bug other/60158] powerpc: usage of the .data.rel.ro.local section

2020-06-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug tree-optimization/95353] [10/11 Regression] spurious -Wstringop-overflow writing to a trailing array plus offset

2020-06-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #9 from Martin Sebor -

[Bug tree-optimization/90949] [9 Regression] null pointer check removed

2020-06-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 --- Comment #15 from Andrew Pinski --- (In reply to Dávid Bolvanský from comment #14) > Since 10.1, gcc does crazy things with bloaty codegen for this case > > https://godbolt.org/z/Qb3yHZ It is called recursive inlining. Not really bloated.

[Bug tree-optimization/90949] [9 Regression] null pointer check removed

2020-06-02 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 --- Comment #16 from Dávid Bolvanský --- For -O3 it is okay, but for -O2 this is questionable

[Bug tree-optimization/95487] New: ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512

2020-06-02 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95487 Bug ID: 95487 Summary: ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 Product: gcc Version: 11.0 Status: UNCONFI

[Bug c++/95468] ICE in expression sfinae

2020-06-02 Thread kab at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95468 --- Comment #1 from kab at acm dot org --- This was labeled as "ice-on-invalid-code". Am I missing something? I don't see anything invalid here.

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-06-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058 --- Comment #10 from Bill Seurer --- There is still one that is failing: make -k check-gcc RUNTESTFLAGS=vect.exp=gcc.dg/vect/bb-slp-pr68892.c XPASS: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump slp2 "not profitable" XPASS: gcc.dg/vect/bb-slp-pr6

[Bug target/95488] New: Suboptimal multiplication codegen for v16qi

2020-06-02 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95488 Bug ID: 95488 Summary: Suboptimal multiplication codegen for v16qi Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2020-06-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug target/95488] Suboptimal multiplication codegen for v16qi

2020-06-02 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95488 --- Comment #1 from Hongtao.liu --- I think it's this TYPE_SIGN (TREE_TYPE (REG_EXPR (op1))).

[Bug target/95252] testcase gcc.dg/torture/pr67916.c failure when testing with -msave-restore

2020-06-02 Thread kito at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95252 Kito Cheng changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #9 from Kito Cheng --

[Bug tree-optimization/95489] New: Failure to optimize x && (x & y) to x & y

2020-06-02 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95489 Bug ID: 95489 Summary: Failure to optimize x && (x & y) to x & y Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug target/95483] [i386] Missing SIMD functions

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95483 Martin Liška changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/95487] [10/11 Regression] ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 since r10-1052-gc29c92c789d93848

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95487 Martin Liška changed: What|Removed |Added Summary|ICE: verify_gimple failed |[10/11 Regression] ICE:

[Bug middle-end/95485] missing warning writing into function text

2020-06-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread johelegp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 --- Comment #2 from Johel Ernesto Guerrero Peña --- That commit added the feature I'm trying to use. I'd hope it's valid, or at least with this other constructor added: `constexpr X(U) {}`.

[Bug tree-optimization/95490] New: [10/11 Regression] writing 1 byte into a region of size 0 [-Wstringop-overflow=] since r10-5451-gef29b12cfbb4979a89b3cbadbf485a77c8fd8fce

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95490 Bug ID: 95490 Summary: [10/11 Regression] writing 1 byte into a region of size 0 [-Wstringop-overflow=] since r10-5451-gef29b12cfbb4979a89b3cbadbf485a77c8fd8fce Product: gcc

[Bug tree-optimization/95490] [10/11 Regression] writing 1 byte into a region of size 0 [-Wstringop-overflow=] since r10-5451-gef29b12cfbb4979a89b3cbadbf485a77c8fd8fce

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95490 --- Comment #1 from Martin Liška --- Created attachment 48664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48664&action=edit test-case

[Bug driver/95456] [11 Regression] gcc/gcc.c:6035:16: runtime error: null pointer passed as argument 2, which is declared to never be null

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95456 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug debug/95482] Feature request: add -gsplit-dwarf=single

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95482 Richard Biener changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Richard

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Status|WA

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2020-06-02 Thread johelegp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 --- Comment #3 from Johel Ernesto Guerrero Peña --- Having only the above unconstrained constructor works as expected, so I suppose it's valid. See https://godbolt.org/z/nMysB_. The actual use case doesn't currently have the unconstrained constru

[Bug gcov-profile/95480] GCOV change breaks AIX build

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95480 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/95488] Suboptimal multiplication codegen for v16qi

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95488 --- Comment #2 from Richard Biener --- (In reply to Hongtao.liu from comment #1) > I think it's this TYPE_SIGN (TREE_TYPE (REG_EXPR (op1))). That's not reliable. Mutliplication shouldn't care about sign?

[Bug gcov-profile/95480] GCOV change breaks AIX build

2020-06-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95480 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:eb3480fc0fe68c0062a5548e922d530c78121cb5 commit r11-841-geb3480fc0fe68c0062a5548e922d530c78121cb5 Author: Martin Liska Date: Tue J

[Bug tree-optimization/95487] [10/11 Regression] ICE: verify_gimple failed (error: invalid vector types in nop conversion) with -O3 -march=skylake-avx512 since r10-1052-gc29c92c789d93848

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95487 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Target Milestone|

[Bug fortran/93691] Type bound assignment causes too many finalization of derived type when part of other type

2020-06-02 Thread mscfd at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93691 martin changed: What|Removed |Added CC||mscfd at gmx dot net --- Comment #2 from martin

[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT

2020-06-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348 --- Comment #25 from Martin Liška --- > I will try to get more data on our real application. > > one question: why not just delete the entire records whose counter is zero > and delete the entire file whose counter is zero? Because we need to

[Bug tree-optimization/95490] [10/11 Regression] writing 1 byte into a region of size 0 [-Wstringop-overflow=] since r10-5451-gef29b12cfbb4979a89b3cbadbf485a77c8fd8fce

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95490 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|

[Bug tree-optimization/95489] Failure to optimize x && (x & y) to x & y

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95489 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/95491] New: coroutines: awaited temporaries are never destructed

2020-06-02 Thread max at duempel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95491 Bug ID: 95491 Summary: coroutines: awaited temporaries are never destructed Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #30 from Richard Biener --- (In reply to Andrew Downing from comment #29) > So I think this sort of equivalent example in C shows what's going wrong in > the C++ example. https://godbolt.org/z/ZMz4Cp > > gcc knows that if the object

[Bug tree-optimization/90949] [9 Regression] null pointer check removed

2020-06-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 --- Comment #17 from rguenther at suse dot de --- On Wed, 3 Jun 2020, david.bolvansky at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 > > --- Comment #16 from Dávid Bolvanský --- > For -O3 it is okay, but for -O2 t

<    1   2