https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125849
Bug ID: 125849
Summary: passes.def comment about nonzero bits before IPA is
out of date
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Keywords: internal-improvement
Severity: enhancement
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Currently the comment in passes.def is:
/* Don't record nonzero bits before IPA to avoid
using too much memory. */
NEXT_PASS (pass_ccp, false /* nonzero_p */);
But that has not been correct since r7-2810-g209ca542cadd7a which enabled
non-zero bits IPA at -O2 (which later kinda of turned into VRP IPA I think but
I have not double checked there).
This comment should talk about not enabling non-zero bits recording before IPA
at -O1 instead.
If I get some time I will fix this but I doubt it. I just wanted to record
that the comment is wrong.