This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Preserve builtin attributes in C/C++ (take 2)
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 26 Nov 2001 21:54:29 +0000 (GMT)
- Subject: Re: [PATCH] Preserve builtin attributes in C/C++ (take 2)
On Mon, 26 Nov 2001, Roger Sayle wrote:
> You should have mentioned this sooner. The attached patch is a revision
> to the second of my earlier patches that preserves the noreturn attributes
> over function prototypes, in addition to the pure and const attributes,
> for both the C and C++ front-ends. Details are given in the original
> message, http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01629.html
There should be a testcase. Removing the #if 0 that disables the
prototypes in gcc.c-torture/execute/builtin-noret-1.c is probably the
appropriate way to test this.
--
Joseph S. Myers
jsm28@cam.ac.uk