This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] 69759 - document __builtin_alloca and __builtin_alloca_with_align
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Martin Sebor <msebor at gmail dot com>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, Joseph Myers <joseph at codesourcery dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Feb 2016 18:48:38 +0100
- Subject: Re: [PATCH] 69759 - document __builtin_alloca and __builtin_alloca_with_align
- Authentication-results: sourceware.org; auth=none
- References: <56BF8976 dot 3080907 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1602152315580 dot 14423 at digraph dot polyomino dot org dot uk> <56C2951E dot 1040304 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1602161339100 dot 26462 at digraph dot polyomino dot org dot uk> <56C3439F dot 8010401 at gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1602161546280 dot 5386 at digraph dot polyomino dot org dot uk> <56C35216 dot 8030007 at gmail dot com> <m2vb5jdbod dot fsf at linux-m68k dot org> <56CB484C dot 5030609 at gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Feb 22, 2016 at 10:41:32AM -0700, Martin Sebor wrote:
> +@deftypefn {Built-in Function} void* __builtin_alloca (size_t size)
Just a formatting nit for the documentation, most of extend.texi
(and other texi docs), except for a few cases that have slipped through
review, the documentation uses the "C-style" formatting for pointers,
rather than "C++-style", so void *__builtin_alloca,
and
> +@deftypefn {Built-in Function} void* __builtin_alloca_with_align (size_t size, size_t alignment)
void *__builtin_alloca_with_align
In the code snippets you actually use it properly.
Jakub