https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122649

            Bug ID: 122649
           Summary: flush_pending_stmts is totally misnamed now and has
                    the wrong comment in front of it
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: internal-improvement
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

flush_pending_stmts has not been using PENDING_STMTS since
r0-86094-gea7e6d5ae0e3b5
(https://inbox.sourceware.org/gcc-patches/[email protected]/ ).
This should be renamed and such.

Note it is also funny how Richi tried a similar patch too:
https://inbox.sourceware.org/gcc-patches/[email protected]/

But still didn't rename flush_pending_stmts but did fix the comment though :).

When I was working on cleanupcfg with remove_forwarder_block I had got confused
because of this and also the comment in
https://inbox.sourceware.org/gcc-patches/[email protected]/
which talked about PENDING_STMTS but it was being abused at that time for
storing the phi nodes for redirecting.

Reply via email to