[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 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 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 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 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 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 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 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 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 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 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 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 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 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++/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++/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 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 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 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++/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++/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 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 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

<    1   2