https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515
--- Comment #4 from GBE ---
The commit that make this issue affect "basic types" as well:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=e443d821386
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515
--- Comment #2 from GBE ---
I don't know if it helps - but I used git-bisect to find the original commit
that added this issue: cdc184174ce
https://github.com/gcc-mirror/gcc/commit/cdc184174ce
It indeed has to do with trivial destructors and c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515
Bug ID: 104515
Summary: trivially-destructible destructors interfere with loop
optimization - maybe related to lifetime-dse.
Product: gcc
Version: og11 (devel/omp/gcc-11)