public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.
       [not found] <bug-85873-4@http.gcc.gnu.org/bugzilla/>
@ 2023-08-11 17:08 ` jason at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: jason at gcc dot gnu.org @ 2023-08-11 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #7)
> It does seem wrong that a constexpr function can't define a constexpr static
> local variable.

Incidentally, this was fixed for C++23 by P2647, implemented in GCC 13.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-11 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-85873-4@http.gcc.gnu.org/bugzilla/>
2023-08-11 17:08 ` [Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault jason 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).