https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101763
Bug ID: 101763
Summary: Comments in tree-vrp.c are way out of date
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
CC: aldyh at gcc dot gnu.org
Target Milestone: ---
The current comment in tree-vrp.c says:
Hence, if we're going to call check_all_array_refs, set
the flag on every edge now, rather than in
check_array_bounds_dom_walker's ctor; vrp_folder may clear
it from some edges. */
But there is no call any more to check_all_array_refs but rather it is:
array_checker.check