This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Function declaration compatibility with old noreturn syntax
- From: Richard Henderson <rth at redhat dot com>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Apr 2003 17:55:18 -0700
- Subject: Re: Function declaration compatibility with old noreturn syntax
- References: <200304300126.h3U1Qqcn003233@keatge.apple.com>
On Tue, Apr 29, 2003 at 06:26:52PM -0700, Geoffrey Keating wrote:
> +/* { dg-options "-std=gnu99" } */
> +/* Check that 'noreturn' and 'volatile extern' are compatible.
> + The testsuite uses -ansi -pedantic-errors by default, so this has
> + to override. */
> +extern void xxx (int) __attribute__((noreturn));
> +__volatile extern void xxx (int);
Do we want to preserve this forever? Leaving this for
gnu89 only would seem the easiest way out.
r~