This is the mail archive of the gcc-patches@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: Function declaration compatibility with old noreturn syntax


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~


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