https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|bogus name and location in |[12 Regression] bogus name |'may be used uninitialized' |and location in 'may be |warning |used uninitialized' warning --- Comment #17 from Martin Sebor <msebor at gcc dot gnu.org> --- In GCC 11 the statement in the phipopt2 dump does have a location so this part is a GCC 12 regression: <bb 8> [local count: 5226752]: <bb 9> [local count: 1073741824]: # _16 = PHI <[../pr40635.c:22:20] -1(3), [../pr40635.c:30:12] s42_20(7), [../pr40635.c:29:16] -1(8)> [../pr40635.c:38:5] foo (); [../pr40635.c:39:8] _28 = _16 < 0; [../pr40635.c:39:8] _5 = (int) _28; [../pr40635.c:39:8] _4 = -_5; return _4;