------- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-31 10:59 ------- Yes this was casued by that patch. Anyways we do: 1627 /* ??? The middle-end will error on us for building a VLA outside a 1628 function context. Methinks that's not it's purvey. So we'll do 1629 our own VLA layout later. */ 1630 vla_p = true; (gdb) l 1631 full_type = build_cplus_array_type (type, NULL_TREE); 1632 index = convert (sizetype, nelts); 1633 index = size_binop (MINUS_EXPR, index, size_one_node); 1634 TYPE_DOMAIN (full_type) = build_index_type (index);
Which is the problem. I will look into this further either this long weekend or later today. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |27184 nThis| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906