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

            Bug ID: 109528
           Summary: Calling exit() at the end of function triggers
                    infinite recursion warning
           Product: gcc
           Version: 12.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stavros9899 at gmail dot com
  Target Milestone: ---

Created attachment 54868
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54868&action=edit
code that triggers the warning

Hello, this codem falsy -imo- triggers infinite-recursion warning. The
interesting thing is that the error goes away when the last exit(), at the near
end of the function gets removed.

Reply via email to