------- Comment #4 from tkoenig at gcc dot gnu dot org 2006-03-23 18:36 ------- There is a problem with the current solution on trunk.
When we do allocate (a(10)) allocate (a(20),stat=i) the size information is changed, but the size of the array is not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25031