[Bug c++/103153] The recursive call in C++ leads to crashes of GCC.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 9 10:30:10 GMT 2021


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The code is invalid both because of the endless recursion into which it runs
and because in C++ main can't be called.  See
https://eel.is/c++draft/basic.start.main#3


More information about the Gcc-bugs mailing list