]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite/guality] Prevent optimization of local in vla-1.c
authorTom de Vries <tdevries@suse.de>
Sun, 1 Jul 2018 15:54:48 +0000 (15:54 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 1 Jul 2018 15:54:48 +0000 (15:54 +0000)
commit81d3b8f7029f8790211628e308a766783193a8ef
tree9c3fda942443135729921b3b6139e44070f5af96
parentc2e755187e40754b4e90b5791a62826633e31f05
[testsuite/guality] Prevent optimization of local in vla-1.c

2018-07-01  Tom de Vries  <tdevries@suse.de>

* gcc.dg/guality/prevent-optimization.h (VOLATILE): Define.
* gcc.dg/guality/vla-1.c (f1): Mark local vla a as VOLATILE.

From-SVN: r262287
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/prevent-optimization.h
gcc/testsuite/gcc.dg/guality/vla-1.c