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

            Bug ID: 119604
           Summary: expand_call_inline could use an RAII for
                    input_location
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: internal-improvement
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: pinskia at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

I noticed that expand_call_inline saves/restores the input_location but it
could be cleaner if we had a RAII for this kind of thing. There might be other
locations (unintended pun) that would does the same so having a generic class
that does this would be useful too.

Reply via email to