[Bug c++/71973] c++ handles built-in functions inconsistently

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Fri Jul 22 17:40:00 GMT 2016


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

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
the bug goes away, if the fork signature is correct.


extern "C"
int fork () __attribute__((nothrow));

void bar () throw()
{
  fork ();
}

does the right thing.


More information about the Gcc-bugs mailing list