1. 18 Aug, 2006 4 commits
    • random (class binomial_distribution<>): Add. · 42031254
      2006-08-18  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/random (class binomial_distribution<>): Add.
      	* include/tr1/random.tcc (binomial_distribution<>::operator(),
      	operator<<(std::basic_ostream<>&, const binomial_distribution<>&),
      	operator>>(std::basic_istream<>&, binomial_distribution<>&,
      	binomial_distribution<>::_M_waiting(), binomial_distribution<>::
      	_M_initialize()): Define.
      	* testsuite/tr1/5_numerical_facilities/random/binomial_distribution/
      	requirements/typedefs.cc: New.
      
      	* include/tr1/random (geometric_distribution<>::
      	geometric_distribution(const _RealType&)): Fix DEBUG_ASSERT
      	limits.
      
      	* include/tr1/random (poisson_distribution): Add normal_distribution
      	member, adjust consistently; minor tweaks and rearrangements of the
      	arithmetic.
      	(operator>>(std::basic_istream<>&, poisson_distribution<>&)): Move
      	out of line.
      	* include/tr1/random.tcc: Adjust.
      
      	* include/tr1/random.tcc (normal_distribution<>::operator()): Minor
      	tweaks.
      
      From-SVN: r116245
      Paolo Carlini committed
    • re PR libstdc++/28765 (__gnu_cxx::__vstring::clear() is slow) · 7867a3f7
      2006-08-18  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/28765
      	* include/ext/rc_string_base.h (_M_clear): New.
      	* include/ext/sso_string_base.h (_M_clear): Likewise.
      	* include/ext/vstring.h (clear): Use it.
      
      From-SVN: r116240
      Paolo Carlini committed
    • tree.c (is_attribute_with_length_p): Remove a duplicated assert. · 0a565147
      2006-08-18  Christophe Jaillet  <christophe.jaillet@wanadoo.fr>
      
      	* tree.c (is_attribute_with_length_p): Remove a duplicated assert.
      
      From-SVN: r116237
      Christophe Jaillet committed
    • Daily bump. · dab65c75
      From-SVN: r116235
      GCC Administrator committed
  2. 17 Aug, 2006 22 commits
  3. 16 Aug, 2006 8 commits
  4. 15 Aug, 2006 6 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