[Bug c++/102538] New: Wrong narrowing conversion checking for initializer with union

2021-09-30 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 Bug ID: 102538 Summary: Wrong narrowing conversion checking for initializer with union Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/102522] Multiplication by scalar on arm-v7 seems to generate scalar code

2021-09-30 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102522 --- Comment #2 from Denis Yaroshevskiy --- You are right, it works. Tried in a loop, I get: vmul.i32q8, q8, d9[0]

[Bug fortran/102532] [10/11/12 Regression] ICE in gfc_get_corank, at fortran/expr.c:5769

2021-09-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102532 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4 Priority|P3

[Bug c++/102538] Wrong narrowing conversion checking for initializer with union

2021-09-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 --- Comment #1 from Jakub Jelinek --- Started with r12-954-g84fd1b5dff70cd74aee7e8b18f66959d8b8e1ce7 aka PR100489 fix.

[Bug c++/102538] [11/12 Regression] Wrong narrowing conversion checking for initializer with union

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

[Bug c++/102538] [11/12 Regression] Wrong narrowing conversion checking for initializer with union

2021-09-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 Jakub Jelinek changed: What|Removed |Added Keywords||wrong-code --- Comment #2 from Jakub Je

[Bug middle-end/102519] [12 Regression] VRP Jump threader memory explosion

2021-09-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519 --- Comment #23 from Aldy Hernandez --- I have built a cross to ppcle on gcc135 (ppc64le) and then bisected the lowest amount of memory ./cc1 -O2 can compile rlwimi-1.c (via ulimit -v). Before the VRP threader replacement it could run with 271m

[Bug target/89954] missed optimization for signed extension for x86-64

2021-09-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89954 --- Comment #10 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #9) > (In reply to Hongtao.liu from comment #8) > > (In reply to Uroš Bizjak from comment #7) > > > Created attachment 51496 [details] > > > Prototype patch > > > > +;; c

[Bug c/102539] New: [11/12 regression] -Wmaybe-uninitialized false positive, invalid location

2021-09-30 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102539 Bug ID: 102539 Summary: [11/12 regression] -Wmaybe-uninitialized false positive, invalid location Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: n

[Bug c/102539] [11/12 regression] -Wmaybe-uninitialized false positive, invalid location

2021-09-30 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102539 --- Comment #1 from Sergei Trofimovich --- Created attachment 51524 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51524&action=edit a.c.c.orig a.c.c.orig is the unreduced preprocessed file with the same warning

[Bug tree-optimization/102539] [11/12 regression] -Wmaybe-uninitialized false positive, invalid location

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102539 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #10 from Andrew Pinski --- Starting in GCC 8, we warn about this: :5:5: warning: built-in function 'clog' declared as non-function [-Wbuiltin-declaration-mismatch] int clog=0; ^~~~ I noticed that LLVM's libc++ does not call cl

[Bug tree-optimization/102540] New: Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-09-30 Thread theodoridisgr at gmail dot com via Gcc-bugs
k -v Target: x86_64-pc-linux-gnu Configured with: ../configure --disable-multilib --disable-bootstrap --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210930 (experimental) (GCC) gcc-trunk test.c -S -O3 cat test.s

[Bug fortran/102541] New: [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102541 Bug ID: 102541 Summary: [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad

[Bug fortran/102541] [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102541 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug tree-optimization/102505] [10/11/12 Regression] ICE in verify_sra_access_forest with 16 byte aligned field and virtual inheritance since r10-6321-g636e80eea24b780f

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102505 Martin Liška changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11/12 Regression] ICE

[Bug debug/102507] ICE in btf_finalize when compiling with -gbtf

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102507 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug c++/102508] ICE on coroutine when awaiting inside a statement expression (in transform_local_var_uses, at cp/coroutines.cc:2102)

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102508 Martin Liška changed: What|Removed |Added CC||iains at gcc dot gnu.org,

[Bug testsuite/102509] [12 regression] new test case gcc.c-torture/compile/attr-complex-method.c is unresolved after r12-3901

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102509 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/102518] [11/12 regression] ICE during GIMPLE pass: einline in gimplify_modify_expr at -O2 since r11-165-geb72dc663e9070b2

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102518 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug fortran/102520] [10/11/12 Regression] ICE in expand_constructor, at fortran/array.c:1802

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102520 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #4

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2021-09-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #11 from Jonathan Wakely --- Libc++ uses complex<_Tp>(log(abs(__x)), arg(__x)); Even for C++11, which is based on C99, ::clog is not a reserved name in C++ because C++ specifies that just includes the C++ header, so defines std::co

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2021-09-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #12 from Jonathan Wakely --- tl;dr I'm tempted to close this as WONTFIX.

[Bug tree-optimization/102540] [12 Regression] Dead Code Elimination Regression at -O3 since r12-476-gd846f225c25c5885

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102540 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/102542] New: [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 Bug ID: 102542 Summary: [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/102543] New: -march=cascadelake performs odd alignment peeling

2021-09-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102543 Bug ID: 102543 Summary: -march=cascadelake performs odd alignment peeling Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/102543] -march=cascadelake performs odd alignment peeling

2021-09-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102543 --- Comment #1 from Richard Biener --- same for icelake_cost.

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/102544] New: GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-09-30 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 Bug ID: 102544 Summary: GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-' Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ope

[Bug bootstrap/102527] [12 regression] out of memory compiling insn-emit.c

2021-09-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102527 --- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #12 from Aldy Hernandez --- > (In reply to Aldy Hernandez from comment #11) >> This looks mighty suspicious ;-) >> >> diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c >> ind

[Bug c++/102545] New: inlining constexpr is required yet it should not be.

2021-09-30 Thread e9leyland at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102545 Bug ID: 102545 Summary: inlining constexpr is required yet it should not be. Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug bootstrap/102527] [12 regression] out of memory compiling insn-emit.c

2021-09-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102527 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug objc/102537] Objective-C: can't use >= USE_FIXUP_BEFORE paths on non-Darwin

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102537 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |12.0 Ever confirmed|0

[Bug ipa/102474] [12 regression] Crash in ipa-modref compiling Go code

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102474 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug testsuite/102509] [12 regression] new test case gcc.c-torture/compile/attr-complex-method.c is unresolved after r12-3901

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102509 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:c3d11a1e9528b6140c65a66d47225a0b6a8814e0 commit r12-3982-gc3d11a1e9528b6140c65a66d47225a0b6a8814e0 Author: Martin Liska Date: Thu

[Bug testsuite/102509] [12 regression] new test case gcc.c-torture/compile/attr-complex-method.c is unresolved after r12-3901

2021-09-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102509 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-09-30 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #1 from Andrew Stubbs --- Please set "export GCN_DEBUG=1", try it again, and post the output.

[Bug c++/102104] parameter packs not expanded with '...' for operator conversions

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102104 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug tree-optimization/102540] [12 Regression] Dead Code Elimination Regression at -O3 since r12-476-gd846f225c25c5885

2021-09-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102540 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug c++/102530] Warn about non-extended temporary passed to a function returning a reference in temp-extending context

2021-09-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102530 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug middle-end/102518] [11/12 regression] ICE during GIMPLE pass: einline in gimplify_modify_expr at -O2 since r11-165-geb72dc663e9070b2

2021-09-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102518 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/102546] New: Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-09-30 Thread theodort at inf dot ethz.ch via Gcc-bugs
ilt-in specs. Target: x86_64-pc-linux-gnu Configured with: ../configure --disable-multilib --disable-bootstrap --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210930 (experimental) (GCC) gcc-trunk -O3 -S missed_case.c main: .LFB0:

[Bug tree-optimization/102546] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-09-30 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #1 from Theodoros Theodoridis --- It bisects to 2e96b5f14e4025691b57d2301d71aa6092ed44bc

[Bug c++/102545] [modules] inlining constexpr is required yet it should not be.

2021-09-30 Thread e9leyland at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102545 --- Comment #1 from Emily Leyland --- Good question, there seems to be some debate. From en.cppreference.com/w/cpp/language/constexpr, A constexpr specifier used in a function or static data member (since C++17) declaration implies inline.

[Bug c++/102545] [modules] inlining constexpr is required yet it should not be.

2021-09-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102545 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/101355] incorrect `this' in destructor calls when compiling coroutines with ubsan

2021-09-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/102535] __is_trivially_constructible rejects some trivial cases in aggregate initializations

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102535 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/101355] incorrect `this' in destructor calls when compiling coroutines with ubsan

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101355 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |11.3 --- Comment #7 from Iain Sandoe ---

[Bug c++/94197] __is_constructible gives an access error

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94197 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 Bug 94033 depends on bug 94197, which changed state. Bug 94197 Summary: __is_constructible gives an access error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94197 What|Removed |Added ---

[Bug c++/93642] [Coroutines] internal compiler error: in expand_expr_addr_expr_1, at expr.c:8070 using co_return

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93642 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org Resolutio

[Bug c++/102363] source_location in await_transform has function_name referring to internal coroutine funclet rather than source-level function

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102363 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2021-09-30 Status|UNCONFIRMED

[Bug c++/96517] ICE in is_this_parameter when accessing constexpr method of a field inside coroutine lambda (with optimization)

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96517 Iain Sandoe changed: What|Removed |Added Keywords||ice-on-valid-code Last reconfirmed|

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-09-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 Aldy Hernandez changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c++/102547] New: g++ 11. ICE with NTTPs and partial specialization

2021-09-30 Thread bob.steagall.cpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Bug ID: 102547 Summary: g++ 11. ICE with NTTPs and partial specialization Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug d/102476] d: Options -fmain and -fno-druntime do not work together

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102476 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:d46a29d919058fb383d19fe35c234fab58286f71 commit r12-3985-gd46a29d919058fb383d19fe35c234fab58286f71 Author: Iain Buclaw Date: Fri S

[Bug d/102476] d: Options -fmain and -fno-druntime do not work together

2021-09-30 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102476 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84007 --- Comment #5 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:643e8f4ee3a2a59a9b96fbcd1ffa8bacbda5b383 commit r12-3990-g643e8f4ee3a2a59a9b96fbcd1ffa8bacbda5b383 Author: Tobias Burnus Date: Th

[Bug fortran/71703] [9/10/11/12 Regression] [OOP] ICE in wide_int_to_tree, at tree.c:1488

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71703 --- Comment #16 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:643e8f4ee3a2a59a9b96fbcd1ffa8bacbda5b383 commit r12-3990-g643e8f4ee3a2a59a9b96fbcd1ffa8bacbda5b383 Author: Tobias Burnus Date: T

[Bug tree-optimization/102546] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-09-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug target/89954] missed optimization for signed extension for x86-64

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89954 --- Comment #11 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:6f4459c478b1c09e4b5e7d629fbf46d2a4fe4560 commit r12-3991-g6f4459c478b1c09e4b5e7d629fbf46d2a4fe4560 Author: Uros Bizjak Date: Thu S

[Bug target/89954] missed optimization for signed extension for x86-64

2021-09-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89954 Uroš Bizjak changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com Target M

[Bug tree-optimization/102540] [12 Regression] Dead Code Elimination Regression at -O3 since r12-476-gd846f225c25c5885

2021-09-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102540 --- Comment #3 from Aldy Hernandez --- To elide the foo(), _2 must be non-zero on the 2->3 edge dominating the call. Interestingly, a.0_1 is non-zero on the 2->3 edge, and we have: _2 = (unsigned int) a.0_1 but somehow we have no knowledge of

[Bug tree-optimization/102546] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-09-30 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #3 from Aldy Hernandez --- > What I fail to see is how "a" got removed entirely from the IL, making this > scenario possible: > > if (!(a >= d || f)) > foo(); What I meant to say is that I don't understand how "a" got

[Bug fortran/102520] [10/11/12 Regression] ICE in expand_constructor, at fortran/array.c:1802

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102520 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0212bcfc31a938d4b2f247dc42f75b1d523bb1ef commit r11-9047-g0212bcfc31a938d4b2f247dc42f75b1d523bb1ef Author: Harald Anlauf

[Bug fortran/102520] [10/11/12 Regression] ICE in expand_constructor, at fortran/array.c:1802

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102520 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f653f612a95ab9d54e005fba7ac6bb40ec14ffb9 commit r10-10155-gf653f612a95ab9d54e005fba7ac6bb40ec14ffb9 Author: Harald Anlauf

[Bug fortran/102520] [10/11/12 Regression] ICE in expand_constructor, at fortran/array.c:1802

2021-09-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102520 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/102548] New: gcc segmentation fault in cc1plus (with repro case)

2021-09-30 Thread ulatekh at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102548 Bug ID: 102548 Summary: gcc segmentation fault in cc1plus (with repro case) Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #14 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b19bbfb1482505367dd19ae4ab1ea19e36802b6a commit r12-3993-gb19bbfb1482505367dd19ae4ab1ea19e36802b6a Author: Harald Anlauf Date:

[Bug c/102549] New: Incorrect optimization if argument is SNAN

2021-09-30 Thread Serge.Pavlov.at.gnu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102549 Bug ID: 102549 Summary: Incorrect optimization if argument is SNAN Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/82314] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:6972

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82314 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:39b948a8f404aa0bfb632d7b26bb0692b18f60c9 commit r10-10156-g39b948a8f404aa0bfb632d7b26bb0692b18f60c9 Author: Harald Anlauf

[Bug fortran/82314] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:6972

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82314 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3a70195d7da49fe793ce3eb0e839b9ceea96c97a commit r9-9749-g3a70195d7da49fe793ce3eb0e839b9ceea96c97a Author: Harald Anlauf Da

[Bug fortran/82314] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:6972

2021-09-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82314 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |9.5 Resolution|---

[Bug fortran/98490] Unexpected out of bounds in array constructor with implied do loop

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98490 --- Comment #15 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:97a5a41dbfef1722fdaf4dc979e8b9c274b4404d commit r9-9750-g97a5a41dbfef1722fdaf4dc979e8b9c274b4404d Author: Harald Anlauf Da

[Bug fortran/98490] Unexpected out of bounds in array constructor with implied do loop

2021-09-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98490 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|-

[Bug c++/99710] coroutines: co_yield and co_await should only be allowed in suspension context

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99710 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2021-09-30 CC|

[Bug c++/99710] coroutines: co_yield and co_await should only be allowed in suspension context

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99710 --- Comment #2 from Iain Sandoe --- #include struct task { struct promise_type { std::suspend_always initial_suspend(); std::suspend_always final_suspend() noexcept; task get_return_object(); void return_void

[Bug c++/102547] g++ 11. ICE with NTTPs and partial specialization

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/102549] Incorrect optimization if argument is SNAN

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102549 --- Comment #1 from Andrew Pinski --- I think you need -fsignaling-nans

[Bug libstdc++/59769] please add ios_base::__noreplace

2021-09-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59769 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-09-30 Status|UNCONFIR

[Bug c/102549] Incorrect optimization if argument is SNAN

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102549 --- Comment #2 from Andrew Pinski --- Note also from the docs: This option is experimental and does not currently guarantee to disable all GCC optimizations that affect signaling NaN behavior.

[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

2021-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101327 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e3ad4c45d128c1f4a69f86116a36312aa593554c commit r9-9751-ge3ad4c45d128c1f4a69f86116a36312aa593554c Author: Harald Anlauf Da

[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

2021-09-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101327 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-09-30 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #9 from qinzhao at gcc dot gnu.org --- the direct cause of the ICE is because: MEM[(int[0:D.1993] *)&fb.3] = .DEFERRED_INIT (16, 2, 1); in the above, the fb.3 is in REG instead MEM: 8451 gcc_assert (MEM_P (result)); (g

[Bug c++/93320] internal compiler error: in is_base_type, at dwarf2out.c:12987

2021-09-30 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93320 Luke Dalessandro changed: What|Removed |Added CC||ldalessandro at gmail dot com --- Com

[Bug c++/102547] g++ 11. ICE with NTTPs and partial specialization

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|ppalka at gcc do

[Bug c++/102547] [11/12 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Patrick Palka changed: What|Removed |Added Known to work||10.3.0 CC|

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-09-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/99575] [coroutines] unexpected move when co_awaiting a nonmoveable object

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99575 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/99575] [coroutines] unexpected move when co_awaiting a nonmoveable object

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99575 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |10.4

[Bug c++/102547] [11/12 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/101144] Coroutine compiler error

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101144 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org Resoluti

[Bug c++/98056] ICE tree check: expected record_type or union_type or qual_union_type, have array_type in build_special_member_call, at cp/call.c:9862 since r11-2183-g0f66b8486cea8668

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 Iain Sandoe changed: What|Removed |Added CC||victor.burckel at gmail dot com --- Commen

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-09-30 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #10 from qinzhao at gcc dot gnu.org --- commented the following transformation in tree-ssa-ccp.c: 2733 #if 0 2734 /* The heuristic of fold_builtin_alloca_with_align differs before and 2735after inlining, so we don

[Bug c++/102051] [coroutines] ICE in gimplify_var_or_parm_decl, at gimplify.c:2848

2021-09-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102051 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #2 f

[Bug middle-end/102549] Incorrect optimization if argument is SNAN

2021-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102549 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-09-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #11 from David Binderman --- (In reply to qinzhao from comment #10) > 2734 /* The heuristic of fold_builtin_alloca_with_align differs git blame says: 13e49da934e9 (Tom de Vries 2011-10-07 12:49:49 + 2732)

[Bug c++/102547] [11/12 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-09-30 Thread bob.steagall.cpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 --- Comment #4 from Bob Steagall --- I have applied this tentative change to line 23436 of gcc/cp/pt.c from the gcc-11.2.0 source tarball, and can confirm that the test case compiles for me. The code I was working on also compiles, links, and a

[Bug debug/102534] RFE epilog is not reliably a statement with inlining

2021-09-30 Thread woodard at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102534 --- Comment #4 from Ben Woodard --- There continues to be an instruction after the completion of the inlining, the next instruction in the sequence, At the time when the inlining occurs why can’t the .loc 1 6 1 be placed there as part of the pro

  1   2   >