------- Comment #17 from burnus at gcc dot gnu dot org 2010-04-16 08:17 ------- Another case where the "if NULL" check is not needed before the "free" are automatic arrays: subroutine sub(n) integer :: a(n) a(1) = 0 end Additionally, the dump looks overly complicated and a least two variables are set and not used.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42958