! { dg-do run }! { dg-options "-std=legacy" }!! PR38772 r143102 reveals missed error checking on floating point reads.! Test case contributed by Jack Howarth.program badreadimplicit nonedouble precision rcharacter*20templogical oktemp=' end'r=3.14159d0ok=.true.read(temp,'(f20.0)',err=8888)rcall abort8888 continueend