character(1) c
read(*,*) c
! latest 4.6 doesn't like the following unless broken into separate
lines
if (c=='y') stop; if (c=='Y') stop
end
Al Greynolds
www.ruda-cardinal.com
Can you define latest?
It works for me with gfortran 4.6.0 20100510.
--
steve
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44371
This appears to be regression introduced when STOP
and ALL_STOP were updated to F2008 features. I've
posted a suggested fix in the PR.
--
steve
Regards,
Jerry