1. 18 Aug, 2006 2 commits
  2. 17 Aug, 2006 22 commits
  3. 16 Aug, 2006 8 commits
  4. 15 Aug, 2006 8 commits
    • re PR fortran/25828 ([f2003] ACCESS='STREAM' io support) · e524a276
      2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/25828
      	* gfortran.dg/streamio_1.f90: New test.
      	* gfortran.dg/streamio_2.f90: New test.
      	* gfortran.dg/streamio_3.f90: New test.
      	* gfortran.dg/streamio_4.f90: New test.
      	* gfortran.dg/streamio_5.f90: New test.
      	* gfortran.dg/streamio_6.f90: New test.
      	* gfortran.dg/streamio_7.f90: New test.
      	* gfortran.dg/streamio_8.f90: New test.
      
      From-SVN: r116173
      Jerry DeLisle committed
    • re PR fortran/25828 ([f2003] ACCESS='STREAM' io support) · 91b30ee5
      2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/25828
      	* libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT.
      	* io/file_pos.c (st_backspace): Ignore if access=STREAM.
      	(st_rewind): Handle case of access=STREAM.
      	* io/open.c (access_opt): Add STREAM_ACCESS.
      	(edit_modes): Set current_record to zero only if not STREAM.
      	(new_unit): Initialize maxrec, recl, and last_record for STREAM.
      	* io/read.c (read_x): Advance file position for STREAM.
      	* io/io.h (enum unit_access): Align IOPARM flags with frontend.
      	Add ACCESS_STREAM. Add prototype for is_stream_io () function.
      	Use GFC_IO_INT.
      	* io/inquire.c (inquire_via_unit): Add text for access = "STREAM".
      	* io/unit.c (is_stream_io): New function to return true if access =
      	STREAM.
      	* io/transfer.c (file_mode): Add modes for unformatted stream and
      	formatted stream. (current_mode): Return appropriate file mode based
      	on access flags.
      	(read_block): Handle formatted stream reads.
      	(read_block_direct): Handle unformatted stream reads.
      	(write_block): Handle formatted stream writes.
      	(write_buf): Handle unformatted stream writes.
      	(unformatted_read): Fix up, use temporary for size.
      	(pre_position): Position file for STREAM access.
      	(data_transfer_init): Initialize for stream access, skip irrelevent
      	error checks.
      	(next_record_r),(next_record_w), and (next_record): Do nothing for
      	stream I/O.
      	(finalize_transfer): Flush when all done if stream I/O.
      
      From-SVN: r116172
      Jerry DeLisle committed
    • re PR fortran/25828 ([f2003] ACCESS='STREAM' io support) · 014ec6ee
      2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/25828
      	* gfortran.h: Add new pointer for stream position to st_inquire.
      	Rename gfc_large_io_int_kind to gfc_intio_kind.
      	* trans-types.c (gfc_init_kinds): use gfc_intio_kind.
      	* io.c: Add new IO tag for file position going in and another for out.
      	(match_dt_element): Match new tag_spos.
      	(gfc_resolve_dt): Resolve new tag_spos.
      	(gfc_free_inquire): Free inquire->strm_pos.
      	(match_inquire_element): Match new tag_strm_out.
      	(gfc_resolve_inquire): Resolve new tag_strm_out.
      	* trans-io.c: Rename IOPARM_type_large_io_int to IOPARM_type_intio.
      	(gfc_build_st_parameter): Same.
      	(gfc_build_io_library_fndecls) Same. and add build pointer type pintio.
      	(gfc_trans_inquire): Translate strm_pos for inquire.
      	* ioparm.def: Reorder flags to accomodate addition of new inquire
      	flag for strm_pos_out and add it in.
      
      From-SVN: r116171
      Jerry DeLisle committed
    • re PR c/28287 (ICE with misplaced attribute weak) · 55af93a8
      gcc
      	PR c/28287
      	* c-common.c (handle_weak_attribute): Ignore and warn if
      	not a FUNCTION_ or VAR_DECL
      
      testsuite
      
      	* gcc.dg/attr-invalid.c: Add tests for invalid weak attribute.
      
      From-SVN: r116170
      Danny Smith committed
    • Incorrect date in changelog · c1782c0e
      From-SVN: r116169
      Kyle Galloway committed
    • Forgot to commit changelog with last patch. · 3d7b0460
      2006-08-15  Kyle Galloway  <kgallowa@redhat.com>
      
        * ChangeLog: Added entry for previous patch
      
      From-SVN: r116168
      Kyle Galloway committed
    • java-interp.h (_Jv_InterpMethod::run_debug): New method. · 50ac2500
      2006-08-15  Kyle Galloway  <kgallowa@redhat.com>
      
        * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
        * interpret.cc: Added placeholder for debug variable type info to STORE*
        macros.
        (_Jv_InterpMethod::run_debug): New method.
        (_Jv_InterpMethod::run_sync_object_debug): New method.
        (_Jv_InterpMethod::run_sync_class_debug): New method.
        (_Jv_InterpMethod::run_normal_debug): New method.
        (_Jv_InterpMethod::run_class_debug): New method.
        (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
        versions of these functions.
        * interpret-run.cc: New file, holds contents of old 	
        _Jv_InterpMethod::run method.
        * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
        appropriate function for debug or normal mode.
      
      From-SVN: r116167
      Kyle Galloway committed
    • re PR c/28280 (bogus "statement with no effect" warning with VLA and typeof) · 4adb785d
      	PR c/28280
      	* c-parser.c (c_parser_typeof_specifier): Don't use
      	c_finish_expr_stmt, open code desired semantics instead.
      
      From-SVN: r116163
      Mike Stump committed