aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2022-06-19 10:21:28 +0100
committerIain Sandoe <iain@sandoe.co.uk>2022-06-20 16:21:03 +0100
commit125bf21299ea6ddad03bcace5982a998d1432c54 (patch)
tree0b4537eb249c9d84025f607956f63a1e1c572b76 /gcc/expr.cc
parent2eb3adb43eadead0d8666bc9f4dd4feab4bf7875 (diff)
downloadgcc-125bf21299ea6ddad03bcace5982a998d1432c54.zip
gcc-125bf21299ea6ddad03bcace5982a998d1432c54.tar.gz
gcc-125bf21299ea6ddad03bcace5982a998d1432c54.tar.bz2
testsuite, Darwin: Allow for two CTOR bodies in array61 test.
For targets without alias support, we emit two essentially identical function bodies into the gimple (complete and base CTORs). So this test needs to allow for that when the target does not support aliases. The target support alias test does not seem to be usable in the context of a single scan-tree-dump so the fix here uses the target designation. Note that the array has 10 elements, so that if the test were failing (because we were emitting 10 inits instead of a loop) the count would be expected to exceed 2, on Darwin and 1 where there's alias support. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/testsuite/ChangeLog: * g++.dg/init/array61.C: Allow for two CTOR bodies on Darwin, where aliases are not currently supported.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions