https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123605
--- Comment #6 from Tamar Christina <tnfchris at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #4) > If it is without -g and there is actually a stmt outside of the loop, it > would be nice to have a reduced testcase for it too. > Still, I think for is_debug_stmt we shouldn't be doing any lookups etc., for > code generation decisions like this debug stmts should be always ignored. Agreed. I think this is fixed now (I can't reproduce it), but I still think there's a potential bug with the use out of loop case. So working on reproducing that with a testcase.
