aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2021-02-23 01:43:50 +0100
committerHans-Peter Nilsson <hp@axis.com>2021-02-23 01:47:09 +0100
commit222abf8be5a33b0a3da1d34c91ed3492b5efe129 (patch)
tree3dedca7671c432c39bb6e0968afbc5c0914473dd /gcc/fold-const.c
parent2f5765cf25115fc8306806a913d90bed6edb420b (diff)
downloadgcc-222abf8be5a33b0a3da1d34c91ed3492b5efe129.zip
gcc-222abf8be5a33b0a3da1d34c91ed3492b5efe129.tar.gz
gcc-222abf8be5a33b0a3da1d34c91ed3492b5efe129.tar.bz2
g++.dg/warn/Wplacement-new-size-1.C, -2, -6: Fix for default_packed targets
Looking at commit de05c19d5fd6, that adjustment to these tests apparently assumed that the testsuite is run (only) on targets where structure memory layout has padding as per "natural alignment". For cris-elf, a target with no padding in structure memory layout, these tests have been failing since that commit. Tested cris-elf and x86_64-linux, committed as obvious. gcc/testsuite: * g++.dg/warn/Wplacement-new-size-1.C, g++.dg/warn/Wplacement-new-size-2.C, g++.dg/warn/Wplacement-new-size-6.C: Adjust for default_packed targets.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions