------- Comment #3 from langton at gcc dot gnu dot org 2010-05-12 15:57 ------- I don't think this is a dupe of either of those bugs. In this case, the dimension attribute isn't properly applied to 'tab' on line 5. The problem appears to be in variable_decl() (decl.c), where I kept an extra gfc_array_spec (cp_as) that isn't merged with current_as. I'm trying to recall why cp_as was necessary, and whether it's still necessary.
-- langton at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |langton2 at llnl dot gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37039