public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/110425] New: Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)
@ 2023-06-27  2:16 hv at crypt dot org
  2023-06-27  2:24 ` [Bug c/110425] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hv at crypt dot org @ 2023-06-27  2:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110425

            Bug ID: 110425
           Summary: Docbug: missing name for builtin function
                    (__builtin_alloca_with_align_and_max?)
           Product: gcc
           Version: 13.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hv at crypt dot org
  Target Milestone: ---

In https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html and
https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Other-Builtins.html the section
after the entry for __builtin_alloca_with_align() starts:

  Built-in Function: void * (size_t size, size_t alignment, size_t max_size)

    Similar to __builtin_alloca_with_align but takes an extra argument
specifying an upper bound for size ...

The name of the function is missing. Judging by the corresponding page for
v12.3.0, it should be "__builtin_alloca_with_align_and_max".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/110425] Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)
  2023-06-27  2:16 [Bug c/110425] New: Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?) hv at crypt dot org
@ 2023-06-27  2:24 ` pinskia at gcc dot gnu.org
  2023-06-27  2:25 ` pinskia at gcc dot gnu.org
  2023-06-27  2:36 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-27  2:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110425

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
   Last reconfirmed|                            |2023-06-27
   Target Milestone|---                         |13.2

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Literally the fix is just a missing space.

Mine.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/110425] Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)
  2023-06-27  2:16 [Bug c/110425] New: Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?) hv at crypt dot org
  2023-06-27  2:24 ` [Bug c/110425] " pinskia at gcc dot gnu.org
@ 2023-06-27  2:25 ` pinskia at gcc dot gnu.org
  2023-06-27  2:36 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-27  2:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110425

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index c01cd3fe90c..53a1b12f88a 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -13731,7 +13731,7 @@ an extension.  @xref{Variable Length}, for details.

 @enddefbuiltin

-@defbuiltin{{void *}__builtin_alloca_with_align_and_max (size_t size, size_t
alignment, size_t max_size)}
+@defbuiltin{{void *} __builtin_alloca_with_align_and_max (size_t size, size_t
alignment, size_t max_size)}
 Similar to @code{__builtin_alloca_with_align} but takes an extra argument
 specifying an upper bound for @var{size} in case its value cannot be computed
 at compile time, for use by @option{-fstack-usage}, @option{-Wstack-usage}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/110425] Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)
  2023-06-27  2:16 [Bug c/110425] New: Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?) hv at crypt dot org
  2023-06-27  2:24 ` [Bug c/110425] " pinskia at gcc dot gnu.org
  2023-06-27  2:25 ` pinskia at gcc dot gnu.org
@ 2023-06-27  2:36 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-27  2:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110425

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed, I forgot to put the PR # in the commit message.
r14-2113-gfb909bc101f2dc7453e0ed187933e39acbab1b21
r13-7481-g87b1fcb2cdccb88fecef9ca57573a0a33b500b8d

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-27  2:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27  2:16 [Bug c/110425] New: Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?) hv at crypt dot org
2023-06-27  2:24 ` [Bug c/110425] " pinskia at gcc dot gnu.org
2023-06-27  2:25 ` pinskia at gcc dot gnu.org
2023-06-27  2:36 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).