https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109580
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Richi: what is the mechanism (if any) for freshly-created gimple stmts to get a location_t within gimple-match.cc? It seems to me that the stmts ought to somehow be assigned the location_t of whatever they are simplified from, or we'll keep running into stmts with UNKNOWN_LOCATION. Should we be passing a location_t around in the generated match code, or have a postprocessing phase where we copy a location_t to all freshly-created stmts?