This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] optimization/6323
- From: Jason Merrill <jason at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>,Gwenole Beauchesne <gbeauchesne at mandrakesoft dot com>,<mark at codesourcery dot com>, <gcc-bugs at gcc dot gnu dot org>
- Date: Fri, 19 Apr 2002 22:40:27 +0100
- Subject: Re: [PATCH] optimization/6323
- References: <Pine.LNX.4.33.0204162157220.7021-100000@www.eyesopen.com>
>>>>> "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