[Bug target/113468] New: copy of large struct violates semantics of 'volatile'

2024-01-17 Thread gnu at kosak dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113468 Bug ID: 113468 Summary: copy of large struct violates semantics of 'volatile' Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug tree-optimization/112835] New: inverting the result of memcmp() produces inefficient code

2023-12-03 Thread gnu at kosak dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112835 Bug ID: 112835 Summary: inverting the result of memcmp() produces inefficient code Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[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] 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