Commit 4f566bd6 by Andy Hutchinson

* gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count for 16bit int targets.

From-SVN: r155029
parent 849c1a90
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
......@@ -16,7 +22,7 @@ main (void)
x[n % 1000] = 2;
p = x;
n++;
if (n < 1000000)
if (n < LIMIT)
goto lab;
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment