* gcc.dg/guality/vla-1.c (main): Use result of f1 to avoid
optimizing it away if promoted to const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171050
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
+
+2011-03-16 Richard Guenther <rguenther@suse.de>
+
PR tree-optimization/48149
* gcc.dg/fold-complex-1.c: New testcase.
int
main ()
{
+ volatile int j;
int i = 5;
asm volatile ("" : "=r" (i) : "0" (i));
- f1 (i);
+ j = f1 (i);
f2 (i);
return 0;
}