https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
--- Comment #8 from Richard Biener ---
Author: rguenth
Date: Fri Jul 15 13:05:56 2016
New Revision: 238374
URL: https://gcc.gnu.org/viewcvs?rev=238374=gcc=rev
Log:
2016-07-15 Richard Biener
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
--- Comment #7 from Richard Biener ---
(In reply to Jakub Jelinek from comment #5)
> Thanks. I see some reset_debug_uses calls in the ldist pass, perhaps it is
> needed somewhere else too (where we decide the loops should be destroyed).
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
--- Comment #6 from Richard Biener ---
So in theory release_ssa_name()s insert_debug_temp_for_var_def should have
saved
us here. But! We have a single debug-use left plus the definition stmt is
i_21 = i_29 + 1;
and thus i_29 + 1 counts as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
--- Comment #5 from Jakub Jelinek ---
Thanks. I see some reset_debug_uses calls in the ldist pass, perhaps it is
needed somewhere else too (where we decide the loops should be destroyed).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
Richard Biener changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
--- Comment #3 from Jakub Jelinek ---
This is during ldist, destroy_loop removes a loop which contains a PHI that is
used by a debug stmt used after the loop, and during
rewrite_into_loop_closed_ssa this is detected and ICEs.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
Target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881
Martin Liška changed:
What|Removed |Added
Keywords||ice-on-valid-code