Skip to content
Snippets Groups Projects
  1. Oct 30, 2000
  2. Oct 29, 2000
    • Mark Mitchell's avatar
      * gcc_build: Save the output from CVS into the logfile as well. · d3d6410d
      Mark Mitchell authored
      From-SVN: r37136
      d3d6410d
    • Neil Booth's avatar
      * cpplib.c (skip_rest_of_line): Use _cpp_get_token. · 1641a823
      Neil Booth authored
      From-SVN: r37135
      1641a823
    • Benjamin Kosnik's avatar
      configure.in: Simplify use of AC_CACHE_SAVE. · 5e53dba6
      Benjamin Kosnik authored
      2000-10-29  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* configure.in: Simplify use of AC_CACHE_SAVE.  Put linked files
      	in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
      	with libgcj build issues and improve consistency with the source
      	directory's include directory setup.
      	* configure: Regenerate.
      	* acinclude.m4: Same here.
      	* aclocal.m4: Regenerate.
      	* mknumeric_limits (OUT_H): Also change paths here.
      	* mkcheck.in (C_DIR): And here.
      	* mkc++config (OUT_H): And here.
      	* libmath/Makefile.am (INCLUDES): And here.
      	* src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
      	* libio/Makefile.am: Ditto.
      	* libsupc++/Makefile.am (INCLUDES): Ditto.
      
      From-SVN: r37134
      5e53dba6
    • Mark Mitchell's avatar
      Fix copyright date · 37ab89b9
      Mark Mitchell authored
      From-SVN: r37133
      37ab89b9
    • Mark Harig's avatar
      Makefile.am: Change logic for include dir options. · a50372f5
      Mark Harig authored
      2000-10-29   Mark Harig <mharig@landmark.com>
      
      	* src/Makefile.am: Change logic for include dir options.
      	* src/Makefile.in: Regenerate.
      	* libsupc++/Makefile.am: Ditto.
      	* libsupc++/Makefile.in: Regenerate.
      
      From-SVN: r37132
      a50372f5
    • Mark Mitchell's avatar
      c_io_libio.cc (basic_file<char>::__basic_file): Don't pass a NULL... · 3c97056f
      Mark Mitchell authored
      c_io_libio.cc (basic_file<char>::__basic_file): Don't pass a NULL _IO_wide_data to _IO_no_init when...
      
      	* config/c_io_libio.cc (basic_file<char>::__basic_file):
      	Don't pass a NULL _IO_wide_data to _IO_no_init when
      	_GLIBCPP_USE_WCHAR_T is not defined.
      	* config/c_io_libio.h (_IO_codecvt): Don't declare when
      	_GLIBCPP_USE_WCHAR_T is not defined.
      	* config/c_io_libio_codecvt.c: Don't compile it
      	when _GLIBCPP_USE_WCHAR_T is not defined.
      	* include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
      	Don't define this specialization when _GLIBCPP_USE_WCHAR_T
      	is not defined.
      	* include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
      	include it when _GLIBCPP_USE_WCHAR_T is not defined.
      	* src/codecvt.cc (__enc_traits::_S_max_size): Don't define
      	when _GLIBCPP_USE_WCHAR_T is not defined.
      	* src/localename.cc (locale::_Impl::_M_construct_collate):
      	Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
      	not defined.
      	(locale::_Impl::_M_construct_ctype): Likewise.
      	(locale::_Impl::_M_construct_monetary): Likewise.
      	(locale::_Impl::_M_construct_numeric): Likewise.
      	(locale::_Impl::_M_construct_time): Likewise.
      	(locale::_Impl::_M_construct_messages): Likewise.
      
      	* iofopen.c (_IO_new_fopen): Don't define `_IO_wide_data wd'
      	if _GLIBCPP_USE_WCHAR_T is not defined.
      	* iofwide.c: Don't define codecvt functions when
      	_GLIBCPP_USE_WCHAR_T is not defined.
      	(_IO_fwide): Don't try to put the stream in wide mode when
      	_GLIBCPP_USE_WCHAR_T is not defined.
      	* libio.h (_IO_wide_data): Define it as an incomplete struct
      	when _GLIBCPP_USE_WCHAR_T is not defined.
      	* wfiledoalloc.c: Don't define anything when
      	_GLIBCPP_USE_WCHAR_T is not defined.
      	* wfileops.c: Likewise.
      	* wgenops.c: Likewise.
      
      From-SVN: r37131
      3c97056f
    • Mark Mitchell's avatar
      _G_config.h (_G_USING_THUNKS): Allow overrides from OS-configuration files. · f80c00cc
      Mark Mitchell authored
      	* _G_config.h (_G_USING_THUNKS): Allow overrides from
      	OS-configuration files.
      	* libioP.h: Test _G_USING_THUNKS with #if, rather than #ifdef.
      
      From-SVN: r37130
      f80c00cc
    • Mark Mitchell's avatar
      acinclue.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX. · 9ece5af6
      Mark Mitchell authored
      	* acinclue.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
      	* aclocal.m4: Regenerated.
      	* configure: Likewise.
      	* config/os/irix/bits/atomicity.h: New file.
      	* config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
      	(__off_t): Define.
      	(__off64_t): Likewise.
      	(__ssize_t): Likewise.
      	(_G_USING_THUNKS): Define to zero.
      
      From-SVN: r37129
      9ece5af6
    • Mark Mitchell's avatar
      atomicity.h: New file. · 2f974bd2
      Mark Mitchell authored
      	* config/os/irix/bits/atomicity.h: New file.
      	* config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
      	(__off_t): Define.
      	(__off64_t): Likewise.
      	(__ssize_t): Likewise.
      	(_G_USING_THUNKS): Define to zero.
      
      From-SVN: r37128
      2f974bd2
    • Joseph Myers's avatar
      toplev.c, [...]: Change comments mentioning C9X to refer to C99 instead. · 526aba28
      Joseph Myers authored
      	* toplev.c, flags.h, fold-const.c, real.c, rtl.c,
      	fixinc/inclhack.def: Change comments mentioning C9X to refer to
      	C99 instead.
      
      From-SVN: r37127
      526aba28
    • Neil Booth's avatar
      defined.c, [...]: New tests. · 9f6ef6bc
      Neil Booth authored
      	* gcc.dg/cpp/defined.c, include1.c, paste11.c, skipping.c:
      	New tests.
      	* gcc.dg/cpp/macsyntx.c: Move test to defined.c.
      	* gcc.dg/cpp/mi3.c, mi3.h: New test for over-enthusiastic
      	optimisation.
      
      From-SVN: r37126
      9f6ef6bc
    • Joseph Myers's avatar
      invoke.texi: Document that -V will only work for very similar versions of driver and compiler. · 8c7b74b9
      Joseph Myers authored
      	* invoke.texi: Document that -V will only work for very similar
      	versions of driver and compiler.
      
      From-SVN: r37125
      8c7b74b9
    • Neil Booth's avatar
      macro4.c, macro5.c: New tests. · 00c83d46
      Neil Booth authored
              * gcc.dg/cpp/macro4.c, macro5.c: New tests.
              * mi1.c, mi1c.h: Add null directives to multiple-include test.
              * mi5.c: Test multiple includes work with -C.
              * trigraphs.c: Test ^= version.
      
      From-SVN: r37124
      00c83d46
    • Neil Booth's avatar
      cppmacro.c (_cpp_create_definition): Optimize the case of a macro defined to itself. · 44ed91a1
      Neil Booth authored
      	* cppmacro.c (_cpp_create_definition): Optimize the case of
              a macro defined to itself.
      
      From-SVN: r37123
      44ed91a1
    • Neil Booth's avatar
      * cpplex.c (save_comment): Don't store new lines in C++ comments. · 3542203b
      Neil Booth authored
      From-SVN: r37122
      3542203b
    • Michael Hayes's avatar
      * integrate.c (copy_insn_list): Copy the unchanging flag for calls. · 6f268adf
      Michael Hayes authored
      From-SVN: r37121
      6f268adf
    • Jeff Law's avatar
      Daily bump. · 2bf9b928
      Jeff Law authored
      From-SVN: r37120
      2bf9b928
    • Geoff Keating's avatar
      cpphash.c (cpp_forall_identifiers): Add context variable for callback routine. · 926c5678
      Geoff Keating authored
      	* cpphash.c (cpp_forall_identifiers): Add context variable
      	for callback routine.
      	* cppmain.c (dump_macro): Update to match cpp_forall_identifiers
      	change.
      	(main): Call cpp_forall_identifiers with null context.
      	* cpplib.h (cpp_forall_identifiers): Update prototype.
      
      	* cppmain.c: Make `parse_in' and `print' static.
      
      From-SVN: r37119
      926c5678
    • Alan Modra's avatar
      * c-decl.c (finish_function): Clear c_function_name_declared_p. · 69f4cc4b
      Alan Modra authored
      From-SVN: r37118
      69f4cc4b
    • Richard Henderson's avatar
      regrename.c (scan_rtx_address): Frob action, not class, when trying to disable optimization. · ce73761f
      Richard Henderson authored
              * regrename.c (scan_rtx_address): Frob action, not class,
              when trying to disable optimization.
      
      From-SVN: r37117
      ce73761f
    • Bryce McKinlay's avatar
      AbstractCollection.java (addAll): Use size() instead of hasNext() in iterator loop. · 3a737578
      Bryce McKinlay authored
      2000-10-29  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* java/util/AbstractCollection.java (addAll): Use size() instead of
      	hasNext() in iterator loop.
      	(clear): Ditto.
      	(contains): Ditto. Simplify loop.
      	(containsAll): Ditto.
      	(remove): Ditto.
      	(removeAll): Ditto.
      	(retainAll): Ditto.
      	(toArray): Ditto.
      	(toString): Ditto. Use string concatenation operators, not
      	StringBuffer.
      	* java/util/AbstractList.java (addAll): Use size() instead of
      	hasNext() in iterator loop.
      	(equals): Ditto.
      	(hashCode): Ditto.
      	(indexOf): Ditto. Don't take null check outside of the loop.
      	(iterator): Return an AbstractListItr instead of anonymous class.
      	(lastIndexOf): Use a for loop bounded by size() instead of
      	hasPrevious() in iterator loop.
      	(listIterator): Return an AbstractListItr.
      	(removeRange): Remove bounds checking code and docs.
      	(AbstractListItr): New inner class. Code moved here from
      	listIterator().
      	(SubList.iterator): Removed. Use default implementation from
      	AbstractList instead.
      	(SubList.listIterator): As above.
      	* java/util/AbstractMap.java (clear): Use a for loop bounded by size()
      	instead of hasNext() in iterator loop.
      	(containsValue): Ditto.
      	(equals): Ditto.
      	(get): Ditto.
      	(put): Ditto.
      	(putAll): Ditto.
      	(remove): Ditto.
      	(toString): Ditto. Use string concatenation operators, not
      	StringBuffer.
      	* java/util/AbstractSequentialList.java (addAll): Use a for loop
      	bounded by size() instead of hasNext() in iterator loop.
      	* java/util/AbstractSet.java (hashCode): Don't catch exception as
      	part of normal execution flow. Do an explicit null check instead.
      	* java/util/ArrayList.java (_iSize): Rename to `size'.
      	(_arData): Rename to `data'.
      	(get): Check lower bounds also. Simplify IndexOutOfBoundsException
      	message.
      	(remove): Ditto.
      	(removeRange): Make protected. Don't check bounds.
      	(add): Check lower bounds also. Simplify IndexOutOfBoundsException
      	message.
      	(addAll (Collection)): Use a size-bounded for loop instead of hasNext()
      	check.
      	(addAll (int, Collection)): Check lower bounds. Simplify exception
      	string.
      	(clone): Clone the data array too.
      	(indexOf): Inline doesEqual().
      	(lastIndexOf): Ditto.
      	(clear): Don't set array data to null.
      	(set): Check lower bounds. Simplify exception string.
      	(toArray): Correct comment.
      	(trimToSize): Don't update modCount, this is not a structural change.
      	Add comment.
      
      	* java/util/BitSet.java: Merged with classpath, new JDK 1.2 methods
      	implemented.
      	(toString): Declare `bit' as long, not int.
      	(data): Made package-private, not private.
      
      From-SVN: r37116
      3a737578
    • Bryce McKinlay's avatar
      Re-indent in preparation for diff. · e2d79607
      Bryce McKinlay authored
      From-SVN: r37115
      e2d79607
    • Bryce McKinlay's avatar
      Re-indent in preparation for diff. · db50e427
      Bryce McKinlay authored
      From-SVN: r37114
      db50e427
    • Mark Mitchell's avatar
      New test · 7d3af72b
      Mark Mitchell authored
      From-SVN: r37113
      7d3af72b
    • Mark Mitchell's avatar
      c-semantics.c (make_rtl_for_local_static): Don't clobber DECL_ASSEMBLER_NAME. · 2c21b247
      Mark Mitchell authored
      	* c-semantics.c (make_rtl_for_local_static): Don't clobber
      	DECL_ASSEMBLER_NAME.
      
      From-SVN: r37112
      2c21b247
  3. Oct 28, 2000
Loading