1. 03 Apr, 2001 12 commits
    • crtn.asm (init, fini): Restore r15 from r14, not the other way round. · ef14c259
      * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
      other way round.
      * config/sh/crti.asm: Fix typos in comments.
      
      From-SVN: r41047
      Alexandre Oliva committed
    • instantiate1.C: Adjust to accommodate peculiarities of the SH. · 41dc4816
      * g++.old-deja/g++.ext/instantiate1.C: Adjust to accommodate
      peculiarities of the SH.
      * g++.old-deja/g++.ext/instantiate2.C: Likewise.
      
      From-SVN: r41045
      Alexandre Oliva committed
    • Move ChangeLog entry where it belongs. · 47a15d4f
      From-SVN: r41043
      Jakub Jelinek committed
    • TARGET_NO_SPACE_REGS no longer affects call sequences. · a7721dc0
      	* pa.h: Revise comments for TARGET_NO_SPACE_REGS and
      	TARGET_FAST_INDIRECT_CALLS.
      	* pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
      	-fPIC.  Don't warn.
      	(return_addr_rtx): Short circuit export stub matching when
      	TARGET_NO_SPACE_REGS.
      	(output_millicode_call): For out of range calls, make -fPIC
      	take precedence, then TARGET_PORTABLE_RUNTIME, then ble.  Don't
      	return before delay slot checks when TARGET_PORTABLE_RUNTIME.
      	* pa.md: Modify length attr calculation of all millicode insns to
      	match above.
      
      From-SVN: r41042
      Alan Modra committed
    • Daily bump. · 26ebcef1
      From-SVN: r41041
      GCC Administrator committed
    • configure.in (gcc_cv_as_leb128): Correct name of cache variable. · fbe42b1b
      	* configure.in (gcc_cv_as_leb128): Correct name of cache variable.
      	Require at least 2.11 in the version test.  Specifically check
      	for and reject GAS version 2.10.90.
      	* configure: regenerate.
      
      From-SVN: r41039
      Geoffrey Keating committed
    • Rewrite hppa profiling support. · 1c7a8112
      	* config/pa/pa.c (override_options): Remove PIC profiling warning.
      	(hp_profile_labelno): Delete.
      	(hp_profile_label_rtx): Delete.
      	(hp_profile_label_name): Delete.
      	(pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
      	(output_function_prologue): Remove profiling code and all tests on
      	profile_flag.  Move store of PIC_OFFSET_TABLE_REGNUM now that
      	merge_sp_adjust_with_store can work for PIC and profiling.
      	(hppa_expand_epilogue): Remove profile_flag test.
      	(hppa_can_use_return_insn_p): Likewise.
      	(hppa_init_pic_save): Emit before tail_recursion_reentry, and
      	cater for PROFILE_HOOK.
      	(hppa_profile_hook): New function.
      	* config/pa/pa.h (FUNCTION_PROFILER): Now does nothing.
      	(PROFILE_HOOK): Define.
      	(hppa_profile_hook): Declare.
      	(PROFILE_BEFORE_PROLOGUE): Delete.
      	(ASM_OUTPUT_REG_PUSH): Delete.
      	(ASM_OUTPUT_REG_POP): Delete.
      	* config/pa/pa.md (call_profiler): Turn it into a call insn, and
      	don't `use' r24.  Accept function name operand, and use this and a
      	locally generated label to calculate pc-rel offset to func start.
      
      From-SVN: r41038
      Alan Modra committed
    • com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch of 2001-03-04. · fe01b88e
      	* com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch
      	of 2001-03-04.
      
      From-SVN: r41037
      Toon Moene committed
    • Makefile.in ($(HOST_PREFIX_1)errors.o, [...]): Depend on $(SYSTEM_H). · 2a3e8203
      	* $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
      	ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
      	$(SYSTEM_H).
      
      From-SVN: r41035
      Kaveh R. Ghazi committed
    • dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and LO_SUM cases to where they belong. · 9ae21d2a
      	* dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
      	LO_SUM cases to where they belong.
      
      From-SVN: r41033
      Alan Modra committed
    • expr.c (pop_type_0): Save the result of the first lang_printable_name call in a scratch buffer... · 44a2150d
      	* expr.c (pop_type_0): Save the result of the first
      	lang_printable_name call in a scratch buffer, so it
      	won't be clobbered by the second call.
      
      From-SVN: r41032
      Zack Weinberg committed
    • New concept checking implementation. · 30a20a1e
      2001-04-02  Phil Edwards  <pme@sources.redhat.com>
      
      	New concept checking implementation.
      	* docs/html/19_diagnostics/howto.html:  Document.
      	* docs/html/17_intro/concept_check.diff:  New file, for reference.
      	* include/bits/boost_concept_check.h:  New file from Boost.
      	* include/bits/c++config:  Update comments.
      
      	* include/bits/concept_check.h:  New file.
      	* include/bits/concept_checks.h:  Removed.
      	* include/bits/container_concepts.h:  Removed.
      	* include/bits/sequence_concepts.h:  Removed.
      	* include/bits/stl_iterator_base.h:  Removed; split into...
      	* include/bits/stl_iterator_base_funcs.h:  ...this new file...
      	* include/bits/stl_iterator_base_types.h:  ...and this new file.
      
      	* include/bits/sbuf_iter.h:  Update to use new implementation.
      	* include/bits/std_iterator.h:  Likewise.
      	* include/bits/std_memory.h:  Likewise.
      	* include/bits/stl_algo.h:  Likewise.
      	* include/bits/stl_algobase.h:  Likewise.
      	* include/bits/stl_construct.h:  Likewise.
      	* include/bits/stl_deque.h:  Likewise.
      	* include/bits/stl_heap.h:  Likewise.
      	* include/bits/stl_list.h:  Likewise.
      	* include/bits/stl_map.h:  Likewise.
      	* include/bits/stl_multimap.h:  Likewise.
      	* include/bits/stl_multiset.h:  Likewise.
      	* include/bits/stl_numeric.h:  Likewise.
      	* include/bits/stl_queue.h:  Likewise.
      	* include/bits/stl_set.h:  Likewise.
      	* include/bits/stl_stack.h:  Likewise.
      	* include/bits/stl_uninitialized.h:  Likewise.
      	* include/bits/stl_vector.h:  Likewise.
      	* include/ext/hash_map:  Likewise.
      	* include/ext/hash_set:  Likewise.
      	* include/ext/slist:  Likewise.
      	* include/ext/stl_hashtable.h:  Likewise.
      
      	* src/Makefile.am (base_headers):  Update list of headers.
      	* Makefile.in:  Regenerated.
      	* src/Makefile.in:  Regenerated.
      	* libio/Makefile.in:  Regenerated.
      	* libmath/Makefile.in:  Regenerated.
      	* libsupc++/Makefile.in:  Regenerated.
      	* testsuite/Makefile.in:  Regenerated.
      
      	* docs/html/install.html:  Update contact information.
      	* docs/html/17_intro/howto.html:  Ditto.
      	* docs/html/18_support/howto.html:  Ditto.
      	* docs/html/20_util/howto.html:  Ditto.
      	* docs/html/21_strings/howto.html:  Ditto.
      	* docs/html/22_locale/howto.html:  Ditto.
      	* docs/html/23_containers/howto.html:  Ditto.
      	* docs/html/24_iterators/howto.html:  Ditto.
      	* docs/html/25_algorithms/howto.html:  Ditto.
      	* docs/html/26_numerics/howto.html:  Ditto.
      	* docs/html/27_io/howto.html:  Ditto.
      	* docs/html/faq/index.html:  Ditto, plus info on new checking code.
      	* docs/html/ext/howto.html:  Ditto, plus info on new checking code.
      	* docs/html/faq/index.txt:  Regenerated.
      
      From-SVN: r41031
      Phil Edwards committed
  2. 02 Apr, 2001 23 commits
  3. 01 Apr, 2001 5 commits
    • natString.cc (intern): If string's data does not point to this String, make a… · a3b63299
      natString.cc (intern): If string's data does not point to this String, make a fresh String that does.
      
      
      	* java/lang/natString.cc (intern):  If string's data does not point to
      	this String, make a fresh String that does.
      
      	* java/lang/natString.cc (unintern):  Replace by static function.
      	* java/lang/String.java (unintern):  Remove method.
      
      From-SVN: r40990
      Per Bothner committed
    • DeflaterOutputStream.java (deflate): Loop while def.needsInput. · f44b63ae
      
      	* DeflaterOutputStream.java (deflate):  Loop while def.needsInput.
      	(finish):  def.deflate needs to be called in a loop.
      	(inbuf, inbufLength):  New private fields.
      	(write(int)): Use inbuf.
      	(write(byte[],int,int):  Check if pending output in inbuf.
      	* ZipOutputStream.java:  Don't use Deflater if stored.
      	Use a Checksum object directly, not via a CheckedOutputStream.
      	(uncompressed_size):  New field,
      	(closeEntry):  Only write data_directory if needed.
      	(write):  If STORED, write directly.
      	Always update crc, and uncompressed_size.
      	(write_entry):  Fix lots of protocol erors.
      
      From-SVN: r40988
      Per Bothner committed
    • tests_flags.in: Use test a = b, not test a == b which is not portable. · aa9de837
      	* tests_flags.in: Use test a = b, not test a == b which is not
      	portable.
      
      From-SVN: r40986
      Zack Weinberg committed
    • 1.3-Compliant Implementation of java.io.File. · f4047540
      	* java/lang/natSystem.cc (init_properties): Get "file.separator",
      	"path.separator", and "java.io.tmpdir" from the File class, instead
      	of setting them explicitly.
      	* java/io/File.java: Do not canonicalize paths for security manager
      	checks. Call init_native() from static initializer. Do not pass path
      	argument to native methods. New native method declarations. Some
      	security manager checks moved to checkWrite().
      	(equals): Check file system case sensitivity and act appropriatly.
      	(hashCode): Likewise.
      	(isHidden): New method implemented.
      	(performList): Changed prototype. Now takes a class argument specifying
      	the class of the returned array: Strings or File objects. Also added
      	FileFilter argument.
      	(listFiles): New variants with "File" return type implemented.
      	(createTempFile): Use createNewFile(). Use maxPathLen.
      	(setReadOnly): New method implemented.
      	(listRoots): Likewise.
      	(compareTo): Likewise.
      	(setLastModified): Likewise.
      	(checkWrite): New method.
      	(setPath): Removed.
      	* java/io/natFile.cc: Various functions no longer take canonical path
      	argument.
      	(stat): Handle ISHIDDEN query.
      	(isAbsolute): Remove WIN32 cruft.
      	(performList): New arguments. Handle returning either File[] or
      	String[] arrays. Check with FileFilter or FilenameFilter arguments as
      	appropriate. Use an ArrayList, not a Vector, for the temporary list.
      	(performSetReadOnly): New method implemented.
      	(performListRoots): Likewise.
      	(performSetLastModified): Likewise.
      	(performCreate): Likewise.
      	(init_native): New initialization function.
      	* java/io/natFileWin32.cc: Various functions no longer take canonical
      	path argument.
      	(stat): Add FIXME about ISHIDDEN query.
      	(performList): New arguments. Handle returning either File[] or String[]
      	arrays. Check with FileFilter or FilenameFilter arguments as
      	appropriate. Use an ArrayList, not a Vector, for the temporary list.
      	(performSetReadOnly): New. Stubbed.
      	(performListRoots): Likewise.
      	(performSetLastModified): Likewise.
      	(performCreate): Likewise.
      	(init_native) New initialization function.
      	* configure.in: Check for utime() and chmod().
      	* configure: Rebuilt.
      	* include/config.h.in: Rebuilt.
      
      	Resolves PR libgcj/1759.
      
      From-SVN: r40985
      Bryce McKinlay committed
    • i386.md: remove obsoleted comments. · e74061a9
      	* i386.md: remove obsoleted comments.
      	(adddi_?): Rename to adddi_?_rex64; disable for 32bit.
      	(x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
      	fix output template.
      
      From-SVN: r40982
      Jan Hubicka committed