Testsuite: vla-optimized-out.exp is too pessimistic
authorAlan Hayward <alan.hayward@arm.com>
Thu, 18 Oct 2018 10:43:40 +0000 (11:43 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 19 Oct 2018 10:21:12 +0000 (11:21 +0100)
commit2c6ac8d7ce6e018168c17b11d978b25dba721554
tree96f5e4d3773ba6557943675b05dc90f61f2c30b4
parent2bc69f2588c0beef39a56f057f61f6a063ed4405
Testsuite: vla-optimized-out.exp is too pessimistic

On aarch64 (and possibly other ports), for O3 the sizeof "a" can still be shown.

2018-10-19  Alan Hayward  <alan.hayward@arm.com>

* gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/vla-optimized-out.exp