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] Fix c/14411


At Fri, 26 Nov 2004 15:36:29 +0300,
Alexey Neyman wrote:
> 
> [1  <text/plain; us-ascii (7bit)>]
> Version 2: renamed to __attribute__((returns_twice)) and updated
> after ECF_LONGJMP cleanup.
> 
> Regtested on i686-pc-linux-gnu.
> 
> 2004-10-29  Alexey Neyman  <alex.neyman@auriga.ru>
> 
> 	PR c/14411
> 	* calls.c (flags_from_decl_or_type): Handle `returns_twice' attribute.
> 	* c-common.c (handle_returns_twice): New function.
> 	(c_common_attribute_table): Declare `returns_twice' attribute.
> 	* doc/extend.texi: Document `returns_twice' attribute.
> 	* tree.h (DECL_IS_RETURNS_TWICE): New macro.
> 	(struct tree_decl): Add returns_twice_flag.
> 
> 
> 2004-10-29  Alexey Neyman  <alex.neyman@auriga.ru>
> 	* gcc.dg/attr-returns_twice-1.c: New test.

Approved for 4.1.

Please attach this patch to PR 14411, mark the two existing patches as
obsolete, change the target milestone to 4.1.0, and enter 17652 in the
"Bug 14411 blocks" box.  (#17652 is the meta-bug tracking all patches
that have been queued for 4.1.)  If Bugzilla will not let you do all
of these things, then do as many as you can and let me know, and I
will do the rest.

zw


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