1. 23 Nov, 2000 13 commits
    • Make deprecated strstream header consistent with new and new.h. · 4ce69c7f
      
      2000-11-22  Benjamin Kosnik  <bkoz@redhat.com>
      
      	Make deprecated strstream header consistent with new and new.h.
      	* include/backward/strstream.h: Add. Use using declarations to
      	scope strstreambuf, istrstream, ostrstream, strstream to global
      	scope.
      	* include/backward/strstream: Remove using declarations.
      	* src/Makefile.am (base_headers): Add strstream.
      	* src/Makefile.in: Regenerate.
      
      	* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
      	to be consistent with other headers.
      
      From-SVN: r37692
      Benjamin Kosnik committed
    • final.c (output_addr_const): Simplify. · 422be3c3
      * final.c (output_addr_const) [LABEL_REF]: Simplify.
      [MINUS]: Enclose non-CONST_INTs in parentheses.
      [default]: Try OUTPUT_ADDR_CONST_EXTRA.
      * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
      * varasm.c (decode_rtx_const) [CONST]: If it's not something
      PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
      instead of abort()ing.
      * sh.c (output_pic_addr_const): Removed.  Fixed all callers.
      * sh.h (OUTPUT_ADDR_CONST_EXTRA): New.  Handle the UNSPECs
      formerly handled in output_pic_addr_const.
      * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
      operands of MINUS in CONSTs so that decode_rtx_const() will
      accept them.
      
      From-SVN: r37691
      Alexandre Oliva committed
    • sh.md (mova_const): New pattern. · 43c05634
      * config/sh/sh.md (mova_const): New pattern.
      (GOTaddr2picreg): Use it.
      * config/sh/sh.c (broken_move): Match it.
      (mova_p): Don't match it.
      (machine_dependent_reorg): Adjust it.
      
      From-SVN: r37690
      Alexandre Oliva committed
    • parse.y (build_outer_field_access): New local `decl_ctx', use it. · 5e18f6d6
      2000-11-22  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* parse.y (build_outer_field_access): New local `decl_ctx', use
      	it. Check for field's context and current class immediate outer
      	context inheritance.
      	(outer_field_access_p): Consider fields inherited from the last
      	enclosing context.
      	(build_access_to_thisn): Stop at the last enclosing context if
      	necessary.
      	Fixes gcj/367.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01335.html)
      
      From-SVN: r37689
      Alexandre Petit-Bianco committed
    • * porting.texi: Expand libtool information. · 54214152
      From-SVN: r37688
      David Edelsohn committed
    • name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting lookup. · abb32cf5
      2000-11-23  Mark Wielaard  <mark@klomp.org>
      
      	* name-finder.cc (lookup): Check for a NULL _Jv_argv before
      	attempting lookup.
      
      From-SVN: r37687
      Mark Wielaard committed
    • Formatting and coment changes · e11cddec
      From-SVN: r37686
      Alexandre Oliva committed
    • Vector.java: Improve exception messages. · ebb66eb5
      2000-11-23  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* java/util/Vector.java: Improve exception messages.
      	(Vector): Check initialCapacity for IllegalArgumentException.
      	(tromToSize): Don't check for elementCount == elementData.length
      	case.
      	(toArray): Don't try to set null marker if target array is the same
      	length as the vector.
      
      From-SVN: r37685
      Bryce McKinlay committed
    • ios_base.h (ios_base::failure::~failure, [...]): Move defintion to ... · 23a5b444
      	* include/bits/ios_base.h (ios_base::failure::~failure,
      	ios_base::failure::what): Move defintion to ...
      
      	* src/ios.cc (ios_base::failure::~failure): ... here.
      	src/ios.cc (ios::failure::what): Likewise.
      
      From-SVN: r37684
      Gabriel Dos Reis committed
    • sh.h (FIRST_GENERAL_REG, [...]): New. · 4773afa4
      * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
      Moved most register-number #defines...
      * config/sh/sh.md (define_constants): ... here.  Use macros to
      refer to registers and unspecs.
      * config/sh/sh.c: Likewise.
      
      From-SVN: r37683
      Alexandre Oliva committed
    • Make deprecated strstream header consistent with new and new.h. · 27ddcd48
      
      2000-11-22  Benjamin Kosnik  <bkoz@redhat.com>
      
      	Make deprecated strstream header consistent with new and new.h.
      	* include/backward/strstream.h: Add. Use using declarations to
      	scope strstreambuf, istrstream, ostrstream, strstream to global
      	scope.
      	* include/backward/strstream: Remove using declarations.
      	* src/Makefile.am (base_headers): Add strstream.
      	* src/Makefile.in: Regenerate.
      
      	* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
      	to be consistent with other headers.
      
      From-SVN: r37682
      Benjamin Kosnik committed
    • ctype_inline.h (is): Fix order of expressions. · ea88c0f7
      
      2000-11-22  Richard Henderson  <rth@redhat.com>
      
      	* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
      
      From-SVN: r37681
      Richard Henderson committed
    • gcc toplevel: · 9196ece5
      	* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
      	(rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
      	(alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
      	(splay-tree.o, hash.o): Likewise.
      	GCONFIG_H: New.
      	(rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
      	(bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
      	(hashtab.o): Likewise.
      	(gcov.o): Depend on $(CONFIG_H).
      	* configure.in: #include insn-codes.h in tm.h.
      
      	f:
      
      	* Make-lang.in (g77spec.o): Depend on $(CONFIG_H).
      
      	java:
      
      	* Make-lang.in (jvspec.o): Depend on $(CONFIG_H).
      
      	cp:
      
      	* Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H).
      
      From-SVN: r37680
      J"orn Rennecke committed
  2. 22 Nov, 2000 27 commits