https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117329
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- By the time the warning happens, we only have line 7 in the IR left: [/app/example.cpp:7:13] [/app/example.cpp:7:9] MEM[(struct T2 *)4B].var = 5;