[Bug libstdc++/125483] New: <generator> assumes __cpp_aligned_new

ncm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 28 17:16:32 GMT 2026


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

            Bug ID: 125483
           Summary: <generator> assumes __cpp_aligned_new
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ncm at gcc dot gnu.org
  Target Milestone: ---

In std/generator, a struct _Alloc_block is defined depending on
__STDCPP_DEFAULT_NEW_ALIGNMENT__, which fails when building -fno-aligned-new .
Jonathan says we don't want that symbol to be part of the ABI anyway.


More information about the Gcc-bugs mailing list