[Bug c++/123872] New: Consider defining __STDCPP_DEFAULT_NEW_ALIGNMENT__ unconditionally

nikolasklauser at berlin dot de gcc-bugzilla@gcc.gnu.org
Thu Jan 29 09:25:59 GMT 2026


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

            Bug ID: 123872
           Summary: Consider defining __STDCPP_DEFAULT_NEW_ALIGNMENT__
                    unconditionally
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nikolasklauser at berlin dot de
  Target Milestone: ---

Even though the macro is linked to C++'s aligned allocation functions, it can
still be useful without them - at the very least to make sure you're _not_
overaligning your types accidentally.


More information about the Gcc-bugs mailing list