This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Handle nested inline functions as gnu_inline (PR c/36507)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Jun 2008 18:32:22 +0000 (UTC)
- Subject: Re: [PATCH] Handle nested inline functions as gnu_inline (PR c/36507)
- References: <20080612164427.GY8133@devserv.devel.redhat.com>
On Thu, 12 Jun 2008, Jakub Jelinek wrote:
> 2008-06-12 Jakub Jelinek <jakub@redhat.com>
>
> PR c/36507
> * c-decl.c (merge_decls): Don't clear DECL_EXTERNAL for
> nested inline functions.
> (start_decl, start_function): Don't invert DECL_EXTERNAL
> for nested inline functions.
>
> * gcc.dg/inline-28.c: New test.
> * gcc.dg/inline-29.c: New test.
> * gcc.dg/inline-30.c: New test.
OK.
--
Joseph S. Myers
joseph@codesourcery.com