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