This is the mail archive of the
mailing list for the GCC project.
4.7.0 regression? gcc.c-torture/execute/vla-dealloc-1.c failure.
- From: "Mailaripillai, Kannan Jeganathan" <kannanmj at hp dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 3 May 2012 11:18:21 +0000
- Subject: 4.7.0 regression? gcc.c-torture/execute/vla-dealloc-1.c failure.
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?
#if (__SIZEOF_INT__ <= 2)
#define LIMIT 10000
#define LIMIT 1000000
void *volatile p;
int n = 0;
int x[n % 1000 + 1];
x = 1;
x[n % 1000] = 2;
p = x;
if (n < LIMIT)