http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50547
--- Comment #5 from janus at gcc dot gnu.org 2011-09-29 12:14:03 UTC --- Comment #0 is fixed with r179345. I noticed that in 'resolve_formal_arglist' there are two separate checks for procedure dummies in elemental procedures (for functions/subroutines). Those clearly could be unified.