Thomas Munro <thomas.munro@gmail.com> writes:
> Full GCC support including stack objects actually began in 4.6, it
> seems.
Hmm. The oldest gcc versions remaining in the buildfarm seem to be
curculio | configure: using compiler=gcc (GCC) 4.2.1 20070719
frogfish | configure: using compiler=gcc (Debian 4.6.3-14) 4.6.3
lapwing | configure: using compiler=gcc (Debian 4.7.2-5) 4.7.2
skate | configure: using compiler=gcc-4.7 (Debian 4.7.2-5) 4.7.2
snapper | configure: using compiler=gcc-4.7 (Debian 4.7.2-5) 4.7.2
buri | configure: using compiler=gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
chub | configure: using compiler=gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
dhole | configure: using compiler=gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
mantid | configure: using compiler=gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
prion | configure: using compiler=gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
rhinoceros | configure: using compiler=gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
siskin | configure: using compiler=gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
shelduck | configure: using compiler=gcc (SUSE Linux) 4.8.5
topminnow | configure: using compiler=gcc (Debian 4.9.2-10+deb8u1) 4.9.2
so curculio should be the only one that's at risk here.
Maybe just upgrading it is the right answer.
regards, tom lane