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

            Bug ID: 120422
           Summary: Reducing strcmp() and strlen() gcc/cobol/genapi.cc at
                    f3a62dcfc96cb24127385a7e668133e037b6085d
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kaelfandrew at gmail dot com
  Target Milestone: ---

Created attachment 61512
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61512&action=edit
Patch

strcmp() and strlen() are used a lot. This patch should reduce both functions
usage by putting it in local variables. Please check if I missed anything.

Reply via email to