! { dg-do compile }! { dg-options "-Wunused-label" }! PR 26277! We used to give an incorect warning about label 99 not being referencedopen(unit=12,err=99)99print*,"could not open file ..."98continue! { dg-warning "Label 98 .* defined but not used" }close(unit=12,status="delete")end