This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: implement __attribute__((cleanup(function)))
- From: Matt Kraai <kraai at alumni dot cmu dot edu>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 5 May 2003 17:32:36 -0700
- Subject: Re: implement __attribute__((cleanup(function)))
- References: <20030505235727.GA21840@twiddle.net>
On Mon, May 05, 2003 at 04:57:27PM -0700, Richard Henderson wrote:
> Index: c-common.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/c-common.c,v
> retrieving revision 1.414
> diff -c -p -d -u -r1.414 c-common.c
> --- c-common.c 3 May 2003 21:44:25 -0000 1.414
> +++ c-common.c 5 May 2003 23:45:18 -0000
> @@ -41,7 +41,7 @@ Software Foundation, 59 Temple Place - S
> #include "target.h"
> #include "langhooks.h"
> #include "tree-inline.h"
> -
> +#include "c-tree.h"
>
> cpp_reader *parse_in; /* Declared in c-pragma.h. */
>
Would you please update the dependency information in Makefile.in?
> Index: c-decl.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/c-decl.c,v
> retrieving revision 1.385
> diff -c -p -d -u -r1.385 c-decl.c
> --- c-decl.c 3 May 2003 13:28:31 -0000 1.385
> +++ c-decl.c 5 May 2003 23:45:19 -0000
> @@ -49,6 +49,8 @@ Software Foundation, 59 Temple Place - S
> #include "c-common.h"
> #include "c-pragma.h"
> #include "cgraph.h"
> +#include "libfuncs.h"
> +#include "except.h"
>
> /* In grokdeclarator, distinguish syntactic contexts of declarators. */
> enum decl_context
Likewise.
Matt
--
Matt Kraai <kraai@alumni.cmu.edu>
Debian GNU/Linux Peon