Re: [PATCH 0/8] middle-end: Ensure at_stmt is defined before an early exit

2022-11-14 Thread Jeff Law via Gcc-patches
On 11/11/22 06:39, Andrew Carlotti via Gcc-patches wrote: This prevents a null dereference error when outputing debug information following an early exit from number_of_iterations_exit_assumptions. gcc/ChangeLog: * tree-ssa-loop-niter.cc (number_of_iterations_exit_assumptions):

[PATCH 0/8] middle-end: Ensure at_stmt is defined before an early exit

2022-11-11 Thread Andrew Carlotti via Gcc-patches
This prevents a null dereference error when outputing debug information following an early exit from number_of_iterations_exit_assumptions. gcc/ChangeLog: * tree-ssa-loop-niter.cc (number_of_iterations_exit_assumptions): Move at_stmt assignment. -- diff --git a/gcc/tree-ssa-lo