https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117508
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- for me this is what I get: In GCC 13: <bb 2> : [/app/example.cpp:10:1] _15 = &D.35543; ... But in GCC 14 and the trunk: <bb 2> : [/app/example.cpp:8:28] _15 = &D.36094; So for me it looks like it was fixed in GCC 14