Hi,
This is regarding gcc.c-torture/execute/vla-dealloc-1.c failure.
4.7.0 ia64-hp-hpux: program timed out (time out 300 seconds).
4.7.0 ia64-redhat-linux: program timed out (time out 300 seconds).
4.7.0 x86_64-suse-linux: execution completes successfully.
Inserting a printf statement in the loop path makes the executable to
complete executing without any issues.
4.6.3 ia64-hp-hpux: execution completes successfully.
So it looks like a regression in 4.7.0. Any suggestion, which fix (check in)
between 4.6.3 and 4.7.0 could have caused this failure?
==== gcc.c-torture/execute/vla-dealloc-1.c
#if (__SIZEOF_INT__ <= 2)
#define LIMIT 10000
#else
#define LIMIT 1000000
#endif
void *volatile p;
int
main (void)
{
int n = 0;
if (0)
{
lab:;
}
int x[n % 1000 + 1];
x[0] = 1;
x[n % 1000] = 2;
p = x;
n++;
if (n < LIMIT)
goto lab;
return 0;
}
Regards,
Kannan