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

            Bug ID: 107670
           Summary: Suspicious redundant code in ipa-cp
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxue at os dot amperecomputing.com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Function "ipa_prop_read_jump_functions()" in ipa-prop.c:

  ipa_check_create_node_params ();
  ipa_check_create_edge_args ();

These two are also called inside the immediately following statement:

  ipa_register_cgraph_hooks();



Function "ipa_fn_summary_read()" in ipa-fnsummary.cc:

  ipa-cp's hooks will be registered twice in this function. One is indirectly
done by ipa_prop_read_jump_functions(), and the other is by a nearby call to
ipa_register_cgraph_hooks.
  • [Bug ipa/107670] New: Susp... fxue at os dot amperecomputing.com via Gcc-bugs

Reply via email to