vla-1.c (main): Use result of f1 to avoid optimizing it away if promoted to const.
authorRichard Guenther <rguenther@suse.de>
Wed, 16 Mar 2011 16:51:35 +0000 (16:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 16 Mar 2011 16:51:35 +0000 (16:51 +0000)
commit51cdce9ab62efedcb0ea13ccce356b982be68d2a
treebc90956392302791949012820a07a897ca5bbf94
parent4db6d7d79d8dc7c63ec730e7ecdcfa9f8f313299
vla-1.c (main): Use result of f1 to avoid optimizing it away if promoted to const.

2011-03-16  Richard Guenther  <rguenther@suse.de>

* gcc.dg/guality/vla-1.c (main): Use result of f1 to avoid
optimizing it away if promoted to const.

From-SVN: r171050
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/vla-1.c