summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gfortran.dg/f2003_io_1.f03
Commit message (Collapse)AuthorAgeFilesLines
* PR libfortran/37839jakub2008-11-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trans-io.c (gfc_build_io_library_fndecls): Decrease pad size back to 16 pointers plus 32 integers. Don't use max integer kind alignment, only gfc_intio_kind's alignment. (gfc_trans_inquire): Only set flags2 if mask2 is non-zero. * ioparm.def: Fix order, bitmasks and types of inquire round, sign and pending fields. Move u in dt before id. * io.c (gfc_free_inquire): Free decimal and size exprs. (match_inquire_element): Match size instead of matching blank twice. (gfc_resolve_inquire): Resolve size. * gfortran.dg/f2003_inquire_1.f03: New test. * gfortran.dg/f2003_io_1.f03: Remove xfail. * gfortran.dg/f2003_io_4.f03: Likewise. * gfortran.dg/f2003_io_5.f03: Likewise. * gfortran.dg/f2003_io_6.f03: Likewise. * gfortran.dg/f2003_io_7.f03: Likewise. * io/io.h (IOPARM_INQUIRE_HAS_ROUND, IOPARM_INQUIRE_HAS_SIGN, IOPARM_INQUIRE_HAS_PENDING): Adjust values. (st_parameter_inquire): Reorder and fix types of round, sign and pending fields. (st_parameter_43, st_parameter_44): Removed. (st_parameter_dt): Put back struct definition directly to u.p declaration. Change type of u.p.size_used from gfc_offset to GFC_IO_INT. Decrease back size of u.pad to 16 pointers and 32 ints. Put id, pos, asynchronous, blank, decimal, delim, pad, round and sign fields after the union. * io/inquire.c (inquire_via_unit, inquire_via_filename): Only read flags2 if it is defined. * io/transfer.c (read_sf, read_block_form, write_block): Cast additions to size_used to GFC_IO_INT instead of gfc_offset. (data_transfer_init): Clear whole u.p struct. Adjust for moving id, pos, asynchronous, blank, decimal, delim, pad, round and sign fields from u.p directly into st_parameter_dt. (finalize_transfer): Don't cast size_used to GFC_IO_INT. * io/file_pos.c (st_endfile): Clear whole u.p struct. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142111 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.dg/f2003_io_1.f03: XFAIL for all SPARC targets.ebotcazou2008-11-191-1/+1
| | | | | | | | | | * gfortran.dg/f2003_io_4.f03: Ditto. * gfortran.dg/f2003_io_5.f03: Ditto. * gfortran.dg/f2003_io_6.f03: Ditto. * gfortran.dg/f2003_io_7.f03: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141996 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.dg/f2003_io_1.f03: XFAIL until PR37839 is fixed.sje2008-11-031-0/+1
| | | | | | | | | | * gfortran.dg/f2003_io_4.f03: Ditto. * gfortran.dg/f2003_io_5.f03: Ditto. * gfortran.dg/f2003_io_6.f03: Ditto. * gfortran.dg/f2003_io_7.f03: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141566 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.dg/f2003_io_4.f03, gfortran.dg/f2003_io_5.f03,hp2008-05-161-1/+1
| | | | | | | | | | | gfortran.dg/f2003_io_7.f03, gfortran.dg/namelist_45.f90, gfortran.dg/namelist_46.f90, gfortran.dg/namelist_47.f90, gfortran.dg/f2003_io_1.f03: Gate test on effective_target fd_truncate. * gfortran.dg/fmt_t_7.f: Ditto. Apply dos2unix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135423 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-06 Tobias Burnus <burnus@net-b.de>burnus2008-04-061-1/+1
| | | | | | | | | | | | | | * io.c (check_io_constraints): Add constrains. ID= requires asynchronous= and asynchronous= must be init expression. 2008-04-06 Tobias Burnus <burnus@net-b.de> * gfortran.dg/f2003_io_1.f03: Make standard conform. * gfortran.dg/f2003_io_8.f03: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133962 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2008-04-051-0/+37
PR fortran/25829 28655 * gfortran.dg/f2003_io_1.f03: New test. * gfortran.dg/f2003_io_2.f03: New test. * gfortran.dg/f2003_io_3.f03: New test. * gfortran.dg/f2003_io_4.f03: New test. * gfortran.dg/f2003_io_5.f03: New test. * gfortran.dg/f2003_io_6.f03: New test. * gfortran.dg/f2003_io_7.f03: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133945 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud