The following "invalid" (well valid if we say that VLA is a GCC extension) ICE in fold_convert: template<typename T> void foo(T t) { int f[t]; } Also we don't reject this with -pedantic in 2.95.3-3.4.0 either so that is not a regression. There might be missing a processing_template somewhere.
Note this worked with 3.5.0 20040909.
And it fails with 20050113. Those are the two closest compilers I have.
This seems to work with the latest version I have, which is from 20050130. I don't know what's going on... W.
It also seems to be working with a snapshot from yesterday that I had on another machine. Andrew, can you double-check with something newer? W.
It passes with 20041124. Oh, it does pass with 20050225 so closing as fixed then.