This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,libgfortran] PR28335 flush() / write() statement on closed units


Jerry DeLisle wrote:
FX Coudert wrote:
2006-07-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>

    PR libgfortran/258335
    * close.c (st_close): Add error when UNIT does not exist.
    * file_pos.c (st_flush): Add error when UNIT does not exist.

Looks OK to me.


Now that we have a dg-shoudfail directive, what about testcases for these two runtime error messages?

FX

Will do!

Thanks,

Jerry

I see dg-shouldfail is not committed to 4.1 branch. I will commit the patch and query Janis on status.

ERROR: gfortran.dg/no_unit_error_2.f90 -Os : unknown dg option: dg-shouldfail 2 {UNIT is not open before FLUSH} for " dg-shouldfail 2 "UNIT is not open before FLUSH" "

Test cases will follow when able.

Regards,

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]