Hi Steve,
For the mangled code in the new testcase, gfortran issues a somewhat obtuse error message. The problem is the matcher for a complex entity runs prior to the matcher for an implied do-loop. Errors are queued in that order so an error messagei for a mangled complex constant is emitted.Regression tested on x86_64-*-freebsd.
OK for trunk. Thanks for the patch! Regards Thomas