[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
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

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
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

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
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

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread jakub at gcc dot gnu.org
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).

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-14 Thread jakub at gcc dot gnu.org
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.

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code