[Bug ipa/82476] C++: Inlining fails for a simple function

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 9 09:06:00 GMT 2017


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> Note GCC knows main can only be called once (calling main more than once in
> C/C++ is undefined IIRC)

It's undefined in C++, I don't think it is in C.


More information about the Gcc-bugs mailing list