[PATCH] optimization/6323

Jason Merrill jason@redhat.com
Fri Apr 19 15:06:00 GMT 2002


>>>>> "Roger" == Roger Sayle <roger@eyesopen.com> writes:

> + // Test that static inline redeclarations of no-return builtins don't ICE.
> + // Origin: Roger Sayle  Apr 16, 2002
> + // Copyright (C) 2002 Free Software Foundation.
> +
> + extern void exit(int);

This should be extern "C".  With a plain extern, the testcase is
ill-formed.

Jason



More information about the Gcc-bugs mailing list