https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111517
--- Comment #6 from Axel Mueller ---
I can confirm that the code now works with trunk version on godbolt.
Thanks for the quick analysis (and of course the fix). Looking forward to the
12.4 fix release.
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: aegges at web dot de
Target Milestone: ---
We have found a regression in gcc 12 (and later) in comparison to gcc 11 (and
clang) which occurs if optimization (at least -O1) is enabled.
In
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30994
Axel Mueller changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
ng startup
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libmudflap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aegges at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30994