[Bug tree-optimization/89572] [7/8 Regression] ICE in dyn_cast(gimple*) / get_loop_exit_condition(loop const*)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89572 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work||9.0 Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in |dyn_cast(gimple*) / |gimple>(gimple*) / |get_loop_exit_condition(loo |get_loop_exit_condition(loo |p const*) |p const*) Known to fail|9.0 | --- Comment #3 from Richard Biener --- Fixed on trunk sofar.
[Bug tree-optimization/89572] [7/8 Regression] ICE in dyn_cast(gimple*) / get_loop_exit_condition(loop const*)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89572 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Mar 4 12:23:17 2019 New Revision: 269363 URL: https://gcc.gnu.org/viewcvs?rev=269363&root=gcc&view=rev Log: 2019-03-04 Richard Biener PR middle-end/89572 * tree-scalar-evolution.c: (get_loop_exit_condition): Use safe_dyn_cast. * gcc.dg/torture/pr89572.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr89572.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-scalar-evolution.c