https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41953
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
With an even more slightly enhanced patch for PR79345 we can warn here even
with -fno-tree-sra, but at -O2 we run into the issue that PRE inserts loads w/o
location (and the patch doesn't warn for loads that do not have a location...).