------- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-12-01 16:32 ------- > So the read statement by itself is invalid. ???
I was testing with and without the open statement in the test case and saw that we were not catching that error either. Regardless, the problem is that I was using dt->rec instead of dt->pos and our runtime just defaulted to using the dt-rec for stream I/O. This fix is that we have to use dt->pos in the matchers and actually test conditions for pos= instead of rec= . I will post the patch tonight. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38291