+2009-12-06 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
+
+ * gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count
+ for 16bit int targets.
+
2009-12-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/41478
/* VLAs should be deallocated on a jump to before their definition,
including a jump to a label in an inner scope. PR 19771. */
+#if (__SIZEOF_INT__ <= 2)
+#define LIMIT 10000
+#else
+#define LIMIT 1000000
+#endif
+
void *volatile p;
int
x[n % 1000] = 2;
p = x;
n++;
- if (n < 1000000)
+ if (n < LIMIT)
goto lab;
return 0;
}