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: [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


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