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

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gaius at gcc dot gnu.org

--- Comment #5 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 54354
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54354&action=edit
Potential bug fix for missing return 0 in main

Thanks for the bug report.  The -Wreturn-type highlighted a bug in the scaffold
main (missing a RETURN 0 after the exception handling in main)
which I think is fixed in the following patch.  Also contained are two dejagnu
test cases (pass/fail) based on the test case above:

Reply via email to