------- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-07 15:22 ------- VLA in C++ is an extension, if you use -pedantic, you will get an error.
Also VLA uses the value at the time at definition and no other value after wards. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35125