This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] optimization/6323


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]