[Bug middle-end/111754] [14 Regression] ICE: in decompose, at rtl.h:2313 at -O

2023-11-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111754 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org Keyword

[Bug tree-optimization/112469] [14 Regression] ICE: eliminate_stmt, at tree-ssa-sccvn.cc:6944

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112469 --- Comment #10 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:108e93403c461f57437da28348e5d5409ed2adc8 commit r14-5351-g108e93403c461f57437da28348e5d5409ed2adc8 Author: Juzhe-Zhong Date: Sat Nov 1

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.3|14.0 Status|NEW

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.3|12.4

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/110859] New FAIL: 23_containers/vector/bool/110807.cc

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110859 --- Comment #5 from Jonathan Wakely --- Should be fixed at r14-5260-ge39b3e02c27bd7

[Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:807f47497f17ed50be91f0f879308cb6fa063966 commit r14-5350-g807f47497f17ed50be91f0f879308cb6fa063966 Author: Jonathan Wakely Date:

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0953497a81f1e320989b9f2aaa7f56747eddd4a0 commit r14-5347-g0953497a81f1e320989b9f2aaa7f56747eddd4a0 Author: Jonathan Wakely Date:

[Bug libstdc++/111638] GLIBCXX_MAYBE_UNDERSCORED_FUNCS autoconf macro doesn't work

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111638 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:898fd81b831c106859bc99e65c7c1cbb642320c8 commit r14-5342-g898fd81b831c106859bc99e65c7c1cbb642320c8 Author: Jonathan Wakely Date:

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 --- Comment #24 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0b880466e910b4f1be2ea2d0d9cb9407d24ca299 commit r14-5341-g0b880466e910b4f1be2ea2d0d9cb9407d24ca299 Author: Nathaniel Shead Date:

[Bug target/112481] [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c

2023-11-10 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481 --- Comment #3 from Patrick O'Neill --- Initial bisection was correct: r14-5319-ga5922427c29

[Bug c++/112482] error when auto(x) is used in a variable initializer (block scope)

2023-11-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112482 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid Status|UNCONF

[Bug c++/112482] New: error when auto(x) is used in a variable initializer (block scope)

2023-11-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112482 Bug ID: 112482 Summary: error when auto(x) is used in a variable initializer (block scope) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112481] [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c

2023-11-10 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481 --- Comment #2 from Patrick O'Neill --- Sorry - got overzealous and mixed up my terminals. Still bisecting. Good: 8da8b9225762126ca41b12243d6531cd41a831b3 Bad: a5922427c29fad177251d89cc946d1c5bfc135eb

[Bug target/112481] [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c

2023-11-10 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481 --- Comment #1 from Patrick O'Neill --- First bad commit: r14-5319-ga5922427c29

[Bug middle-end/110983] -fpatchable-function-entry is missing in Option Summary page

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110983 --- Comment #7 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:b42dd1379048fd9cc7eb7039b9dfee02d6884df7 commit r14-5338-gb42dd1379048fd9cc7eb7039b9dfee02d6884df7 Author: Mao Date: Fri Nov 10 16:22

[Bug libstdc++/112480] optional::reset emits inefficient code when T is trivially-destructible

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 --- Comment #4 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #3) > I think that is because that transformation would violate the memory model > of C++. Ah yes. It would be safe for another thread to read the same memory locat

[Bug tree-optimization/56711] missed optimization for __uint128_t of (unsigned long long)x != x

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56711 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/95752] Failure to optimize complicated usage of __builtin_ctz with conditionals properly

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95752 Bug 95752 depends on bug 56711, which changed state. Bug 56711 Summary: missed optimization for __uint128_t of (unsigned long long)x != x https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56711 What|Removed |Added -

[Bug target/112470] [11/12/13/14 regression] [AARCH64] stack-protector vulnerability fixing solution impact code size and performance

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112470 Andrew Pinski changed: What|Removed |Added Severity|normal |critical Priority|P3

[Bug target/112470] [11/12/13/14 regression] [AARCH64] stack-protector vulnerability fixing solution impact code size and performance

2023-11-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112470 Sam James changed: What|Removed |Added Summary|[AARCH64] stack-protector |[11/12/13/14 regression]

[Bug libstdc++/112480] optional::reset emits inefficient code when T is trivially-destructible

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 --- Comment #3 from Andrew Pinski --- (In reply to Corey Kosak from comment #2) > Thanks for the reply and the correction about illegally running the > destructor. > > As for why the compiler can't do the optimization itself, I don't know, but

[Bug libstdc++/112480] optional::reset emits inefficient code when T is trivially-destructible

2023-11-10 Thread gnu at kosak dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 --- Comment #2 from Corey Kosak --- Thanks for the reply and the correction about illegally running the destructor. As for why the compiler can't do the optimization itself, I don't know, but the optimization isn't applied here either: ``` voi

[Bug target/112481] [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug target/112481] New: [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c

2023-11-10 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481 Bug ID: 112481 Summary: [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: nor

[Bug rtl-optimization/110307] ICE in move_insn, at haifa-sched.cc:5473 when building Ruby on alpha with -fPIC -O2 (or -fpeephole2 -fschedule-insns2)

2023-11-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110307 --- Comment #14 from Sam James --- (In reply to Alexander Monakov from comment #13) > Note to self: check how control_flow_insn_p relates. Did you have a chance to look at this bit? matoro asked me to cherry-pick it downstream but it's in gener

[Bug c++/109122] std::ranges::find segfaults with gcc (trunk but not 12.2) on godbolt

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109122 Patrick Palka changed: What|Removed |Added Keywords|needs-reduction | CC|

[Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/112480] optional::reset emits inefficient code when T is trivially-destructible

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-11-10 Status|UNCONFI

[Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement

2023-11-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #6 fr

[Bug modula2/110779] SysClock can not read the clock

2023-11-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110779 --- Comment #21 from Gaius Mulley --- I've just noticed that the patch doesn't address the issue of GLIBCXX_IS_NATIVE.

[Bug modula2/110779] SysClock can not read the clock

2023-11-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110779 --- Comment #20 from Gaius Mulley --- Created attachment 56558 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56558&action=edit Proposed fix (libgm2/acinclude.m4 and libgm2/configure.host) Here is a proposed patch for a new file libgm2/ac

[Bug c++/109122] std::ranges::find segfaults with gcc (trunk but not 12.2) on godbolt

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109122 --- Comment #4 from Andrew Pinski --- Created attachment 56557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56557&action=edit reduction but not best though

[Bug libstdc++/112480] New: optional::reset emits inefficient code when T is trivially-destructible

2023-11-10 Thread gnu at kosak dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 Bug ID: 112480 Summary: optional::reset emits inefficient code when T is trivially-destructible Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: norm

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX when building ncnn (Error: unsupported instruction `vblendps') since r14-96-gc2dac2e5fbbcdd

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #14 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #13) > Created attachment 56553 [details] > gcc14-pr112435.patch > > Untested fix. https://gcc.gnu.org/pipermail/gcc-patches/2023-November/635760.html ? But I thin

[Bug c/112479] New: Missing -Woverflow warnings with bit fields with assignment of a constant

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112479 Bug ID: 112479 Summary: Missing -Woverflow warnings with bit fields with assignment of a constant Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diag

[Bug target/82242] IRA spills allocno in loop body if it crosses throwing call outside the loop

2023-11-10 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82242 --- Comment #5 from Alexander Monakov --- The small testcase from comment 3 is now improved on trunk, possibly thanks to work in PR 110215.

[Bug rtl-optimization/111702] [14 Regression] ICE: in insert_regs, at cse.cc:1114 with -O2 -fstack-protector-all -frounding-math

2023-11-10 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111702 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- HI, sorry for the breakage, will take a look. Thanks, Prathamesh

[Bug rtl-optimization/111702] [14 Regression] ICE: in insert_regs, at cse.cc:1114 with -O2 -fstack-protector-all -frounding-math

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111702 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/112478] riscv: asm clobbers not honored

2023-11-10 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112478 --- Comment #2 from Andrew Waterman --- Although I sketched the first draft of this patch, it’s Jeff Law who brought it to fruition. He is more suited to help than I am.

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 --- Comment #9 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:df66fa08578a28b3acc8bdb6257b68c245a6a0fa commit r14-5333-gdf66fa08578a28b3acc8bdb6257b68c245a6a0fa Author: Vladimir N. Makarov

[Bug c++/96917] decltype(auto) variable initialized with lambda by-reference capture has incorrect type

2023-11-10 Thread andrey.vihrov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 --- Comment #5 from Andrey Vihrov --- Thanks!

[Bug tree-optimization/111792] [14 Regression] wrong code at -O3 on x86_64-linux-gnu since r14-3414-g0cfc9c953d0221

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111792 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/93083] [C++20] copy deduction rejected when doing CTAD for NTTP

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083 --- Comment #11 from Patrick Palka --- *** Bug 92101 has been marked as a duplicate of this bug. ***

[Bug c++/92101] Class template partial specializations with class NTTP does not work

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92101 Patrick Palka changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #4 from Jakub Jelinek --- • The run-time type information (RTTI) of an object can only be accessed from the device on which it was constructed. is weird, because RTTI can be queried not just on objects, but on types, and there doesn'

[Bug tree-optimization/111967] [12/13/14 Regression] during GIMPLE pass: evrp ICE: in operator[], at vec.h:910 with -O2 -fno-tree-forwprop -fdump-tree-evrp-all since r12-4694

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

[Bug c++/86697] decltype for lambda capture gives wrong type

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86697 Patrick Palka changed: What|Removed |Added CC||jzwinck at gmail dot com --- Comment #3

[Bug c++/110752] decltype in lambda loses const qualifier unless lambda is mutable

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110752 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/54367] [meta-bug] lambda expressions

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 63192, which changed state. Bug 63192 Summary: non-mutable lambda capture by value on reference does not apply const https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 What|Removed |Add

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/79620] decltype() inside a lambda capturing-by-value

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=63

[Bug jit/111396] Segfault when using -flto with libgccjit

2023-11-10 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111396 --- Comment #2 from Antoni --- Created attachment 56554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56554&action=edit Patch fixing the issue

[Bug c++/79620] decltype() inside a lambda capturing-by-value

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Assi

[Bug c++/54367] [meta-bug] lambda expressions

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 79620, which changed state. Bug 79620 Summary: decltype() inside a lambda capturing-by-value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 What|Removed |Added --

[Bug c++/96917] decltype(auto) variable initialized with lambda by-reference capture has incorrect type

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/54366] [meta-bug] decltype issues

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54366 Bug 54366 depends on bug 96917, which changed state. Bug 96917 Summary: decltype(auto) variable initialized with lambda by-reference capture has incorrect type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 What|Removed

[Bug c++/54367] [meta-bug] lambda expressions

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 96917, which changed state. Bug 96917 Summary: decltype(auto) variable initialized with lambda by-reference capture has incorrect type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 What|Removed

[Bug c++/79378] lambda init-capture adds const

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79378 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Assignee|unassigned at gc

[Bug c++/79620] decltype() inside a lambda capturing-by-value

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:0410b754e56c0868203c2412e0585ba070ea938d commit r14-5331-g0410b754e56c0868203c2412e0585ba070ea938d Author: Patrick Palka Date: Fr

[Bug c++/79378] lambda init-capture adds const

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79378 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:705ab7927c81b77503d229513fac991106617766 commit r14-5330-g705ab7927c81b77503d229513fac991106617766 Author: Patrick Palka Date: Fr

[Bug c++/96917] decltype(auto) variable initialized with lambda by-reference capture has incorrect type

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:705ab7927c81b77503d229513fac991106617766 commit r14-5330-g705ab7927c81b77503d229513fac991106617766 Author: Patrick Palka Date: Fr

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #3 from Tobias Burnus --- > I admit I haven't paid much attention what the latest OpenMP standard > currently requires for virtual method calls. OpenMP 5.0 "2.12.5 target Construct" [175:25-26] has: "The effect of invoking a virtu

[Bug target/112478] riscv: asm clobbers not honored

2023-11-10 Thread Michael at MichaelKloos dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112478 --- Comment #1 from Michael T. Kloos --- Added Andrew Waterman to CC list

[Bug c/112478] New: riscv: asm clobbers not honored

2023-11-10 Thread Michael at MichaelKloos dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112478 Bug ID: 112478 Summary: riscv: asm clobbers not honored Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug tree-optimization/111967] [12/13/14 Regression] during GIMPLE pass: evrp ICE: in operator[], at vec.h:910 with -O2 -fno-tree-forwprop -fdump-tree-evrp-all since r12-4694

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111967 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] |[12/13/14 Regression]

[Bug target/112438] RISC-V: Wrong auto-vectorization on induction variable of RVV

2023-11-10 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 JuzheZhong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX when building ncnn (Error: unsupported instruction `vblendps') since r14-96-gc2dac2e5fbbcdd

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug libstdc++/112477] Assignment of value-initialized iterators differs from value-initialization

2023-11-10 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Giuseppe D'Angelo changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Giuse

[Bug target/112438] RISC-V: Wrong auto-vectorization on induction variable of RVV

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 --- Comment #14 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:fb906061e10662280f602886c3659ac1c7522a37 commit r14-5326-gfb906061e10662280f602886c3659ac1c7522a37 Author: Juzhe-Zhong Date: Fri Nov 1

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/111583] [13 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111583 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug tree-optimization/111917] [11/12/13 Regression] ICE in as_a, at is-a.h:255 since GCC-7

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111917 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:28d9e033a8e95c024e27cb495db610aac37a0f88 commit r13-8045-g28d9e033a8e95c024e27cb495db610aac37a0f88 Author: Richard Biener

[Bug tree-optimization/111445] [12/13 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-1077-g57bf3751511

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111445 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bd7800a3a73fa07b4688c75edcaaaf923802f020 commit r13-8038-gbd7800a3a73fa07b4688c75edcaaaf923802f020 Author: Richard Biener

[Bug tree-optimization/111764] [11/12/13 Regression] Wrong code at -O3 on x86_64-linux-gnu

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111764 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:db010f96743a4f289975a0432209c38ec34635e9 commit r13-8043-gdb010f96743a4f289975a0432209c38ec34635e9 Author: Richard Biener

[Bug middle-end/111818] [11/12/13 Regression] ICE with __builtin_memcpy with volatile and constants

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111818 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ffb0615cf1aa628ca8aa10bda31fe1bc554eccf3 commit r13-8044-gffb0615cf1aa628ca8aa10bda31fe1bc554eccf3 Author: Richard Biener

[Bug tree-optimization/111583] [13 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111583 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b28be88c311f1bc4c62309906177ab3d97800deb commit r13-8041-gb28be88c311f1bc4c62309906177ab3d97800deb Author: Richard Biener

[Bug tree-optimization/111614] [11/12/13 Regression] ICE at -O2: verify_gimple failed since r14-2282-gf703d2fd3f0

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111614 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:8e8599fc8079cdc2a9ef934c765613e2f0a4cdf9 commit r13-8042-g8e8599fc8079cdc2a9ef934c765613e2f0a4cdf9 Author: Richard Biener

[Bug tree-optimization/111489] [12/13 Regression] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5ee6e01fba873580f0ee6c88a3f733e79af2e8a3 commit r13-8040-g5ee6e01fba873580f0ee6c88a3f733e79af2e8a3 Author: Richard Biener

[Bug tree-optimization/111397] [12/13 Regression] Spurious warning "'({anonymous})' is used uninitialized" when calling a __returns_twice__ function (-Wuninitialized -O2)

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111397 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:049ec9b981d1f4f97736061d5cf7d0ae990b57d7 commit r13-8037-g049ec9b981d1f4f97736061d5cf7d0ae990b57d7 Author: Richard Biener

[Bug tree-optimization/111489] [12/13 Regression] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:06ee3438a4fcf98031fccda8ea8ff592a41cf218 commit r13-8039-g06ee3438a4fcf98031fccda8ea8ff592a41cf218 Author: Richard Biener

[Bug middle-end/111253] [11/12/13 Regression] Dodgy pointer name (*_42 = PHI ...) in -Wfree-nonheap-object diagnostic

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111253 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:f1e717bd8b043e07e74accff3235d04e6eb719cc commit r13-8036-gf1e717bd8b043e07e74accff3235d04e6eb719cc Author: Richard Biener

[Bug tree-optimization/112464] [14 Regression] ICE avx512 with -ftrapv since r14-5076

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112464 --- Comment #6 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:d7b971cf61ae0091dbc777c9aa056e6f1293da2f commit r14-5322-gd7b971cf61ae0091dbc777c9aa056e6f1293da2f Author: Robin Dapp Date: Fri Nov

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #2 from Jakub Jelinek --- Slightly further cleaned up: #pragma omp declare target struct S { virtual double foo (); }; #pragma omp end declare target S s; int main () { #pragma omp target s.foo (); } The problem is that ubsan_ex

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-10 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #17 from JuzheZhong --- Sorry for confusing and not enough information. I am trying to transform: + reduc_1 = PHI <..., reduc_2> + ... + if (...) + tmp1 = reduc_1 + rhs1; + tmp2 = tmp1 +

[Bug rtl-optimization/112476] Unrecognizable insn with -O2 -march=la464 on loongarch64

2023-11-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112476 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Keyword

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 110221, which changed state. Bug 110221 Summary: With AVX512 fully masking gfortran.dg/pr68146.f ICEs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 What|Removed |Added

[Bug tree-optimization/110221] With AVX512 fully masking gfortran.dg/pr68146.f ICEs

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/110221] With AVX512 fully masking gfortran.dg/pr68146.f ICEs

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e5f1956498251a4973d52c8aad3faf34d0443169 commit r14-5320-ge5f1956498251a4973d52c8aad3faf34d0443169 Author: Richard Biener Date:

[Bug c++/112477] New: Assignment of value-initialized iterators differs from value-initialization

2023-11-10 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Bug ID: 112477 Summary: Assignment of value-initialized iterators differs from value-initialization Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity:

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #16 from Richard Biener --- it's not exactly clear what the transform is you propose. it looks like a re-association but SSA names do not match up but the transform only replaces a single op with 0!?

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition since r14-1837-g43a3252c42af12

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

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 --- Comment #3 from Jonathan Wakely --- Although you couldn't use std::pair as a NTTP until C++20 anyway.

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 --- Comment #2 from Jonathan Wakely --- Ah it changed in C++20, previously it said "T shall be an integral type" so was just UB.

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-10 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #15 from JuzheZhong --- Hi,Richard. Confirmed Robin's patch doesn't help with this issue. The root cause of this issue is failed to recognize it as possible vectorization of conditional reduction which means is_cond_scalar_reduction

[Bug rtl-optimization/112476] New: [14 Regression] unrecognizable insn with -O2 -march=la464 on loongarch64

2023-11-10 Thread xen0n at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112476 Bug ID: 112476 Summary: [14 Regression] unrecognizable insn with -O2 -march=la464 on loongarch64 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #1 from Tobias Burnus --- Reduced testcase: #pragma omp declare target struct Surface { virtual double sag(); }; #pragma omp end declare target Surface main_devPtr; main() { #pragma omp target main_devPtr.sag(); } Printing in 'o

[Bug tree-optimization/110221] With AVX512 fully masking gfortran.dg/pr68146.f ICEs

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug target/112308] [14 Regression] GCN: 'error: literal operands are not supported' for 'v_add_co_u32'

2023-11-10 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112308 Andrew Stubbs changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

  1   2   >