aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-04-12 16:06:18 -0400
committerJason Merrill <jason@redhat.com>2022-04-12 16:45:41 -0400
commit164c6a1c5d7f99235f1a41440eacac7a977e8fbd (patch)
treeb1bc9e232808f648390684d2099a6976c3070e46 /gcc/tree.h
parentaa7874596b9f12b25a3214b0a143b040fafa1f10 (diff)
downloadgcc-164c6a1c5d7f99235f1a41440eacac7a977e8fbd.zip
gcc-164c6a1c5d7f99235f1a41440eacac7a977e8fbd.tar.gz
gcc-164c6a1c5d7f99235f1a41440eacac7a977e8fbd.tar.bz2
c++: non-array new alignment [PR102071]
While considering the PR102071 patch for backporting, I noticed that I was considering the alignment of the array new cookie even when there isn't one because we aren't allocating an array. PR c++/102071 gcc/cp/ChangeLog: * init.cc (build_new_1): Check array_p for alignment. gcc/testsuite/ChangeLog: * g++.dg/cpp1z/aligned-new9.C: Add single-object test.
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions