OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago* configure.in (target_subdir): Use target_alias, not target.
aoliva [Tue, 3 Apr 2001 08:56:59 +0000 (08:56 +0000)]
* configure.in (target_subdir): Use target_alias, not target.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41051 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * include/backward/fstream.h: Define filebuf and wfilebuf.
schwab [Tue, 3 Apr 2001 08:49:38 +0000 (08:49 +0000)]
* include/backward/fstream.h: Define filebuf and wfilebuf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41048 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
aoliva [Tue, 3 Apr 2001 08:45:38 +0000 (08:45 +0000)]
* config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
other way round.
* config/sh/crti.asm: Fix typos in comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41047 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* g++.old-deja/g++.ext/instantiate1.C: Adjust to accommodate
aoliva [Tue, 3 Apr 2001 08:38:45 +0000 (08:38 +0000)]
* g++.old-deja/g++.ext/instantiate1.C: Adjust to accommodate
peculiarities of the SH.
* g++.old-deja/g++.ext/instantiate2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41045 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoMove ChangeLog entry where it belongs.
jakub [Tue, 3 Apr 2001 08:29:03 +0000 (08:29 +0000)]
Move ChangeLog entry where it belongs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41043 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoTARGET_NO_SPACE_REGS no longer affects call sequences.
amodra [Tue, 3 Apr 2001 07:43:27 +0000 (07:43 +0000)]
TARGET_NO_SPACE_REGS no longer affects call sequences.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41042 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Tue, 3 Apr 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41041 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
geoffk [Tue, 3 Apr 2001 07:02:31 +0000 (07:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41039 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRewrite hppa profiling support.
amodra [Tue, 3 Apr 2001 06:57:31 +0000 (06:57 +0000)]
Rewrite hppa profiling support.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41038 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch
mmitchel [Tue, 3 Apr 2001 05:37:13 +0000 (05:37 +0000)]
* com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch
of 2001-03-04.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41037 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
ghazi [Tue, 3 Apr 2001 02:05:54 +0000 (02:05 +0000)]
* $(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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41035 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
amodra [Tue, 3 Apr 2001 01:12:09 +0000 (01:12 +0000)]
* dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
LO_SUM cases to where they belong.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41033 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.c (pop_type_0): Save the result of the first
zack [Tue, 3 Apr 2001 01:01:41 +0000 (01:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41032 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-02 Phil Edwards <pme@sources.redhat.com>
pme [Tue, 3 Apr 2001 00:26:58 +0000 (00:26 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41031 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * testsuite/lib/libstdc++.exp (dg-test): Annotate result
zack [Mon, 2 Apr 2001 23:40:01 +0000 (23:40 +0000)]
* testsuite/lib/libstdc++.exp (dg-test): Annotate result
messages with $which_library as well as $tool_flags and
${dg-extra-tool-flags}.  Factor out annotation text into
a single variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41029 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * testsuite/lib/libjava.exp: Correct typo: 'output from source
zack [Mon, 2 Apr 2001 23:36:26 +0000 (23:36 +0000)]
* testsuite/lib/libjava.exp: Correct typo: 'output from source
compiled test', not 'execution from source compiled test'.
Use UNTESTED, not XFAIL, for tests which are not run because
they depend on a previous test which failed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41026 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in (GCC_UNWIND_INCLUDE): Assume we're built within
rth [Mon, 2 Apr 2001 23:26:50 +0000 (23:26 +0000)]
    * configure.in (GCC_UNWIND_INCLUDE): Assume we're built within
        the same tree as gcc.
        * configure: Rebuilt.

        * exception.cc (_Jv_Throw): Clarify commentary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41025 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * except.h (lang_eh_type_covers): Mark extern.
rth [Mon, 2 Apr 2001 23:23:34 +0000 (23:23 +0000)]
    * except.h (lang_eh_type_covers): Mark extern.
        (lang_eh_runtime_type): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41024 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
rth [Mon, 2 Apr 2001 23:05:14 +0000 (23:05 +0000)]
2001-04-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * gcc.c-torture/execute/ieee/fp-cmp-1.c: Renamed nan to dnan.
        * gcc.c-torture/execute/ieee/fp-cmp-3.c: Likewise.
        * gcc.c-torture/execute/ieee/fp-cmp-2.c: Renamed nan to fnan.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41022 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-02 Marcus G. Daniels <mgd@swarm.org>
tromey [Mon, 2 Apr 2001 22:52:40 +0000 (22:52 +0000)]
2001-04-02  Marcus G. Daniels  <mgd@swarm.org>

* jni.cc (wrap_value<jclass>): New specialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41021 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
bkoz [Mon, 2 Apr 2001 22:51:25 +0000 (22:51 +0000)]
2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>

* include/c_std/bits/std_cstring.h: Fix for const-correctness.
* include/c_std/bits/std_cwchar.h: Same.
* testsuite/21_strings/c_strings.cc: Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41019 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
bkoz [Mon, 2 Apr 2001 22:01:52 +0000 (22:01 +0000)]
2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>

* include/c_std/bits/std_cstring.h: Fix for const-correctness.
* include/c_std/bits/std_cwchar.h: Same.
* testsuite/21_strings/c_strings.cc: Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41018 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * lex.c (ffelex_hash_): Avoid eating one whole line after
jakub [Mon, 2 Apr 2001 21:23:28 +0000 (21:23 +0000)]
* lex.c (ffelex_hash_): Avoid eating one whole line after
#line.

* g77.f-torture/compile/20010321-1.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41015 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/io/PrintStream.java (out): Removed field. Fixes PR
tromey [Mon, 2 Apr 2001 21:16:38 +0000 (21:16 +0000)]
* java/io/PrintStream.java (out): Removed field.  Fixes PR
java/2449.
(write): Call flush, not out.flush, per spec.
(close): Flush output stream, per spec.  Handle
InterruptedIOException.
(checkError): Likewise.
(flush, print, write): Handle InterruptedIOException per spec.
(PrintStream): Don't create BufferedOutputStream.
(work_bytes): New field.
(writeChars): Use work_bytes.  Don't assume `out' is a
BufferedOutputStream.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41014 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-02 Torsten Rueger <torsten.rueger@firsthop.com>
tromey [Mon, 2 Apr 2001 19:55:56 +0000 (19:55 +0000)]
2001-04-02  Torsten Rueger  <torsten.rueger@firsthop.com>

* java/text/MessageFormat.java (setLocale): Added missing `else'.
For PR libgcj/2429.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41012 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jni.cc (add_char): Correctly encode non-ascii characters.
tromey [Mon, 2 Apr 2001 19:52:39 +0000 (19:52 +0000)]
* jni.cc (add_char): Correctly encode non-ascii characters.
(add_char): Define even when INTERPRETER not defined.
(mangled_name): Likewise.
(_Jv_GetJNIEnvNewFrame): Likewise.
(_Jv_LookupJNIMethod): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41010 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.host: Enable interpreter for PPC.
tromey [Mon, 2 Apr 2001 19:51:40 +0000 (19:51 +0000)]
* configure.host: Enable interpreter for PPC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41009 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
bkoz [Mon, 2 Apr 2001 19:00:13 +0000 (19:00 +0000)]
2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>

* docs/html/configopts.html: Add --enable-sjlj-exceptions docs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41007 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
zack [Mon, 2 Apr 2001 16:29:32 +0000 (16:29 +0000)]
* genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
gengenrtl.c:  Wrap generated header in multiple-include guard.
Improve error checking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41006 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Don't check for putenv.
ghazi [Mon, 2 Apr 2001 15:20:53 +0000 (15:20 +0000)]
* configure.in: Don't check for putenv.
* configure: Regenerate.
* gcc.c (putenv): Don't define.
* vax/xm-vms.h: Handle putenv.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41005 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ifcvt.c (noce_emit_move_insn): New.
jakub [Mon, 2 Apr 2001 08:17:15 +0000 (08:17 +0000)]
* ifcvt.c (noce_emit_move_insn): New.
(noce_try_store_flag, noce_try_store_flag_constants,
noce_try_store_flag_inc, noce_try_store_flag_mask,
noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
noce_try_abs): Use it.
(noce_process_if_block): Likewise.
For STRICT_LOW_PART, take mode from its SUBREG.

* gcc.c-torture/compile/20010329-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41001 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fold-const.c (fold): Before optimizing unsigned comparison with
jakub [Mon, 2 Apr 2001 08:08:22 +0000 (08:08 +0000)]
* fold-const.c (fold): Before optimizing unsigned comparison with
0x7fffffffU, make sure arg0 is integral type.

* gcc.c-torture/execute/20010329-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41000 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-tree.texi: Document representation of wide strings.
jsm28 [Mon, 2 Apr 2001 07:39:39 +0000 (07:39 +0000)]
* c-tree.texi: Document representation of wide strings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40998 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Mon, 2 Apr 2001 07:16:38 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40997 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * except.h (expand_builtin_dwarf_fp_regnum): Declare.
rth [Mon, 2 Apr 2001 06:36:33 +0000 (06:36 +0000)]
    * except.h (expand_builtin_dwarf_fp_regnum): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40995 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/lang/natSystem.cc (init_properties): Revert yesterday's changes
bryce [Mon, 2 Apr 2001 05:23:10 +0000 (05:23 +0000)]
* java/lang/natSystem.cc (init_properties): Revert yesterday's changes
to "file.separator", "path.separator", and "java.io.tmpdir" property
initialization.
* java/io/File.java: Likewise.
* java/io/natFile.cc (init_native): Likewise.
* java/io/natFileWin32.cc (init_native): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40994 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
aoliva [Mon, 2 Apr 2001 01:26:14 +0000 (01:26 +0000)]
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
New macros.
(bootstrap, cross): Use RECURSE_FLAGS.
* configure.in: Subst CXX_FOR_TARGET_FOR_RECURSIVE_MAKE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40991 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/lang/natString.cc (intern): If string's data does not point to
bothner [Sun, 1 Apr 2001 21:54:10 +0000 (21:54 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40990 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * DeflaterOutputStream.java (deflate): Loop while def.needsInput.
bothner [Sun, 1 Apr 2001 21:28:45 +0000 (21:28 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40988 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tests_flags.in: Use test a = b, not test a == b which is not
zack [Sun, 1 Apr 2001 19:19:57 +0000 (19:19 +0000)]
* tests_flags.in: Use test a = b, not test a == b which is not
portable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40986 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago 1.3-Compliant Implementation of java.io.File.
bryce [Sun, 1 Apr 2001 11:16:40 +0000 (11:16 +0000)]
1.3-Compliant Implementation of java.io.File.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40985 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md: remove obsoleted comments.
hubicka [Sun, 1 Apr 2001 09:50:06 +0000 (09:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40982 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Sun, 1 Apr 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40980 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 31 Mar 2001 20:15:43 +0000 (20:15 +0000)]
2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>

* configure.target: Remove duplicate aix entry.

2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stl_bvector.h: Move to...
* include/bits/stl_vector.h: ...here.
* include/ext/bvector: Move to...
* include/backward/bvector.h: ...here.
* include/bits/std_vector.h: Change stl_bvector include.
* include/bits/std_queue.h: Remove bvector include.
* include/ext/tree: Insert using rb_tree, move to...
* include/backward/tree.h: ...here.
* include/backward/hash_map.h: Include ext/hash_map.
* include/backward/hash_set.h: Include ext/hash_set.
* include/backward/queue.h: New file.
* include/backward/stack.h: Edit.
* include/backward/algo.h: Same.
* include/backward/algobase.h: Same.
* include/backward/alloc.h: Same.
* include/backward/function.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/istream.h: Same.
* include/backward/iterator.h: Same.
* include/backward/list.h: Same.
* include/backward/map.h: Same.
* include/backward/multimap.h: Same.
* include/backward/multiset.h: Same.
* include/backward/ostream.h: Same.
* include/backward/pair.h: Same
* include/backward/rope.h: Same.
* include/backward/set.h: Same.
* include/backward/stream.h: Same.
* include/backward/strstream.h: Same.
* include/backward/tempbuf.h: Same.
* src/Makefile.am (ext_headers): Edit.
* src/Makefile.in: Regenerate.
* testsuite/ext/headers.cc (main): Fix.
* mkcheck.in: Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40979 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libiberty.h (alloca): Handle setting C_ALLOCA.
ghazi [Sat, 31 Mar 2001 18:59:56 +0000 (18:59 +0000)]
* libiberty.h (alloca): Handle setting C_ALLOCA.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40978 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/avr/libgcc.S (__mulhi3): Optimize previous change.
marekm [Sat, 31 Mar 2001 16:24:16 +0000 (16:24 +0000)]
* config/avr/libgcc.S (__mulhi3): Optimize previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40976 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Sat, 31 Mar 2001 08:16:18 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40974 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-30 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 30 Mar 2001 21:59:12 +0000 (21:59 +0000)]
2001-03-30  Phil Edwards  <pme@sources.redhat.com>

* tests_flags.in (LIBS):  Pass correct path for installed testing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40973 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 30 Mar 2001 17:41:33 +0000 (17:41 +0000)]
 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (LIBTOOL): Don't construct -B argument here...
* tests_flags.in (CXX): Construct here.
(static_fail): Don't remove compile.out. Format with spaces.
(INCLUDES): Deal with xcompiling.
* configure.in (xcompiling): Substitute.
* testsuite/Makefile.am: Snake libjava configury.
* testsuite/Makefile.in: Regenerate.
* testsuite/23_containers/map_operators.cc: Tweaks.
* testsuite/23_containers/set_operators.cc: Tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40972 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoPrevent hoisting code from generating uninitialized accesses.
bernds [Fri, 30 Mar 2001 17:18:14 +0000 (17:18 +0000)]
Prevent hoisting code from generating uninitialized accesses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40971 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.c (ix86_split_long_move): Use change address to compensate
hubicka [Fri, 30 Mar 2001 15:43:44 +0000 (15:43 +0000)]
* i386.c (ix86_split_long_move): Use change address to compensate
stack pointer change in push instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40968 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Fri, 30 Mar 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40961 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 30 Mar 2001 08:14:15 +0000 (08:14 +0000)]
2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (LIBTOOL): Don't construct -B argument here...
* tests_flags.in (CXX): Construct here.
(static_fail): Don't remove compile.out. Format with spaces.
(INCLUDES): Deal with xcompiling.
* configure.in (xcompiling): Substitute.
* testsuite/Makefile.am: Snake libjava configury.
* testsuite/Makefile.in: Regenerate.
* testsuite/23_containers/map_operators.cc: Tweaks.
* testsuite/23_containers/set_operators.cc: Tweaks.

2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

Enable dejagnu testing framework.
* configure.in: Generate testsuite/Makefile.
* configure: Regenerate.
* Makefile.am (check-install): Change rule from this...
(check-script-install): ...to this.
(check): Change rule from this...
(check-script):...to this.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40960 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
hubicka [Thu, 29 Mar 2001 22:32:53 +0000 (22:32 +0000)]
* i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
instead of rtx_equal_p; fix the output template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40959 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.c (ix86_expand_setcc): Support 64bit.
hubicka [Thu, 29 Mar 2001 22:25:16 +0000 (22:25 +0000)]
* i386.c (ix86_expand_setcc): Support 64bit.
(ix86_expand_int_movcc): Likewise.
* i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
New patterns.

* i386.md (allocate_stack_worker): Turn to expander.
(allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.

* i386.c (print_reg): Do not print x86_64 style regs on IA-32

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40958 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
rth [Thu, 29 Mar 2001 21:11:23 +0000 (21:11 +0000)]
    * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40957 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-28 Matthew Hiller <hiller@redhat.com>
hiller [Thu, 29 Mar 2001 02:32:46 +0000 (02:32 +0000)]
2001-03-28  Matthew Hiller  <hiller@redhat.com>

* config/mn10300/mn10300.md (cmpsi): Fix first alternative's
output template.

* MAINTAINERS: Added self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40956 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Use different syntax for subdirectory creation.
bryce [Thu, 29 Mar 2001 00:03:27 +0000 (00:03 +0000)]
   * configure.in: Use different syntax for subdirectory creation.
       * configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40955 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
rth [Wed, 28 Mar 2001 22:20:31 +0000 (22:20 +0000)]
    * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
        Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40952 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix abort when passing 1.0L as unnamed argument.
wilson [Wed, 28 Mar 2001 21:55:09 +0000 (21:55 +0000)]
Fix abort when passing 1.0L as unnamed argument.
* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
operand_subword.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40951 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
aoliva [Wed, 28 Mar 2001 21:18:21 +0000 (21:18 +0000)]
* libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
--tag CXX.
(LIBTOOL): Let automake take care of its definition.
* libsupc++/Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40947 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* g++.old-deja/g++.other/eh4.C: Fix typo.
ljrittle [Wed, 28 Mar 2001 21:15:55 +0000 (21:15 +0000)]
* g++.old-deja/g++.other/eh4.C: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40946 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.
ljrittle [Wed, 28 Mar 2001 21:10:51 +0000 (21:10 +0000)]
* g++.dg/special/ecos.exp (conpr-1.C): Do not write in $srcdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40943 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.c (pop_type_0): Call `concat' rather than building the
ghazi [Wed, 28 Mar 2001 19:31:43 +0000 (19:31 +0000)]
* expr.c (pop_type_0): Call `concat' rather than building the
string manually.
(pop_type): Add format specifier in call to `error'.

* parse.y (patch_method_invocation): Avoid casting away
const-ness.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40940 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
ghazi [Wed, 28 Mar 2001 19:24:11 +0000 (19:24 +0000)]
* toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.

* tradcif.y (yyerror): Likewise.  Add format specifier in call to
`error'.

* tradcpp.c (macroexpand): Likewise for call to `error_with_line'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40939 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-21 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Wed, 28 Mar 2001 19:22:05 +0000 (19:22 +0000)]
2001-03-21  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (qualify_ambiguous_name): Broaden `length'
recognition. Help MODIFY_EXPR be resolved as expression names.
Fixes PR java/2066. Fixes PR java/2400.

(http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01935.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40938 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-28 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Wed, 28 Mar 2001 18:16:14 +0000 (18:16 +0000)]
2001-03-28  Jeffrey Oldham  <oldham@codesourcery.com>

* jvgenmain.c (do_mangle_classname): End string constant with '\0'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40936 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRevert cflags patch.
dj [Wed, 28 Mar 2001 17:50:11 +0000 (17:50 +0000)]
Revert cflags patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40935 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-28 Philip Blundell <philb@gnu.org>
pb [Wed, 28 Mar 2001 17:46:52 +0000 (17:46 +0000)]
2001-03-28  Philip Blundell  <philb@gnu.org>

* gcc.c-torture/compile/20010328-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40934 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
marekm [Wed, 28 Mar 2001 17:11:28 +0000 (17:11 +0000)]
* config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
when multiplier or multiplicand is zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40933 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix missing barrier problem
bernds [Wed, 28 Mar 2001 14:25:37 +0000 (14:25 +0000)]
Fix missing barrier problem

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40932 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoMake hash values more random
bernds [Wed, 28 Mar 2001 14:21:18 +0000 (14:21 +0000)]
Make hash values more random

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40931 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
rth [Wed, 28 Mar 2001 12:22:48 +0000 (12:22 +0000)]
    * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
        not TARGET_TOC for special toc restore handling.
        * config/rs6000/rs6000.md (eh_return): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40930 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (make-temp-file.o): Depend on config.h.
rth [Wed, 28 Mar 2001 11:32:54 +0000 (11:32 +0000)]
    * Makefile.in (make-temp-file.o): Depend on config.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40929 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
rth [Wed, 28 Mar 2001 11:23:52 +0000 (11:23 +0000)]
    * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
        current_function_calls_eh_return.
        (output_function_epilogue): Handle eh_return.
        * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
        (EH_RETURN_DATA_REGNO): New.
        (EH_RETURN_STACKADJ_RTX): New.
        (EH_RETURN_HANDLER_RTX): New.
        * config/sparc/sparc.md (call/short branch peepholes): Check
        can_throw_internal instead of in_same_eh_region.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40928 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
rth [Wed, 28 Mar 2001 11:19:20 +0000 (11:19 +0000)]
    * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
        for eh_return data registers.
        (rs6000_emit_prologue): Save eh_return data registers.
        (rs6000_emit_epilogue): Force inline restores if eh_return.
        Restore eh_return data registers.  Mind EH_RETURN_STACKADJ_RTX.
        * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
        (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
        (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
        the target uses one.
        * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
        (return_eh_si, return_eh_di): Remove.
        (eh_return): New, from corpse of eh_epilogue.
        (eh_set_lr_si, eh_set_lr_di): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40927 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
rth [Wed, 28 Mar 2001 11:14:40 +0000 (11:14 +0000)]
    * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
        (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
        True for pic register if current_function_calls_eh_return.
        (ix86_expand_epilogue): Change "emit_return" argument into "style".
        Handle eh_return requirements.
        * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
        (EH_RETURN_STACKADJ_RTX): New.
        * config/i386/i386.md (exception_receiver): Remove.
        (eh_return, eh_return_1): New.
        * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40926 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
rth [Wed, 28 Mar 2001 11:09:20 +0000 (11:09 +0000)]
    * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
        (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
        (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
        * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
        (EH_RETURN_DATA_REGNO): New.
        (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
        * config/alpha/alpha.md (eh_epilogue): Remove.
        (exception_receiver): Use $26 for ldgp input.
        * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40925 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoIA-64 ABI Exception Handling.
rth [Wed, 28 Mar 2001 11:04:51 +0000 (11:04 +0000)]
IA-64 ABI Exception Handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40924 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java-tree.h (throw_node): Define as a single member of
rth [Wed, 28 Mar 2001 08:59:30 +0000 (08:59 +0000)]
    * java-tree.h (throw_node): Define as a single member of
        java_global_trees instead of a separate array.
        (JTI_THROW_NODE): New.
        * decl.c (throw_node): Don't declare.
        (init_decl_processing): Init a scalar throw_node.
        Don't register it for gc.
        * check-init.c (check_init): Reference scalar throw_node.
        * expr.c (build_java_athrow): Likewise.
        * jcf-write.c (generate_bytecode_insns): Likewise.
        * parse.h (BUILD_THROW): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40922 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl.c (end_java_method): Do not save and restore
rth [Wed, 28 Mar 2001 08:38:22 +0000 (08:38 +0000)]
    * decl.c (end_java_method): Do not save and restore
        flag_non_call_exceptions.
        * parse.y (source_end_java_method): Likewise.
        * lang.c (flag_exceptions): Don't declare.
        (java_init_options): Set flag_non_call_exceptions.  Set
        flag_exceptions here ...
        (java_init): ... not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40921 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl.c (struct named_label_list): Rename eh_region to
rth [Wed, 28 Mar 2001 08:25:45 +0000 (08:25 +0000)]
    * decl.c (struct named_label_list): Rename eh_region to
        in_try_scope, add in_catch_scope.
        (struct binding_level): Rename eh_region to is_try_scope,
        add is_catch_scope.
        (note_level_for_try): Rename from note_level_for_eh.
        (note_level_for_catch): New.
        (poplevel): Copy both is_try_scope and is_catch_scope to
        the named_label_list struct.
        (check_previous_goto_1): Don't check for catch block via
        DECL_ARTIFICIAL; use in_try_scope instead.
        (check_goto): Likewise.
        * cp-tree.h (note_level_for_try, note_level_for_catch): Declare.
        * except.c (expand_start_catch_block): Call note_level_for_catch.
        * semantics.c (begin_compound_stmt): Update for note_level_for_try.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40920 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Wed, 28 Mar 2001 08:16:40 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40919 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
rth [Wed, 28 Mar 2001 08:08:43 +0000 (08:08 +0000)]
    * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
        reduce false positives.
        (regmove_optimize): Disable if flag_non_call_exceptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40917 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * stmt.c (expand_return): Remove always true predicate.
rth [Wed, 28 Mar 2001 07:49:20 +0000 (07:49 +0000)]
    * stmt.c (expand_return): Remove always true predicate.
        (expand_decl_cleanup_no_eh): Remove dead code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40916 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * sched-deps.c (sched_analyze_insn): Consolidate scheduling
rth [Wed, 28 Mar 2001 07:42:04 +0000 (07:42 +0000)]
    * sched-deps.c (sched_analyze_insn): Consolidate scheduling
        barrier code.  Add a scheduling barrier if a non-call insn
        can throw internally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40915 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
rth [Wed, 28 Mar 2001 07:34:51 +0000 (07:34 +0000)]
    * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
        Auto-inc addresses trap only if their base register does.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40914 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * except.c (can_throw_internal): Rename from can_throw.
rth [Wed, 28 Mar 2001 07:29:21 +0000 (07:29 +0000)]
    * except.c (can_throw_internal): Rename from can_throw.
        * except.h, resource.c: Update references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40913 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * integrate.c (copy_insn_list): Use returnjump_p.
rth [Wed, 28 Mar 2001 07:20:43 +0000 (07:20 +0000)]
    * integrate.c (copy_insn_list): Use returnjump_p.
        (copy_insn_notes): Recurse for CALL_PLACEHOLDER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40912 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.h (struct function): Move all boolean valued fields
rth [Wed, 28 Mar 2001 07:08:57 +0000 (07:08 +0000)]
    * function.h (struct function): Move all boolean valued fields
        to single bit fields at the end of the struct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40911 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * flow.c (cleanup_cfg): Take no argument.
rth [Wed, 28 Mar 2001 06:53:49 +0000 (06:53 +0000)]
    * flow.c (cleanup_cfg): Take no argument.
        * output.h, sibcall.c, toplev.c: Update all calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40910 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * flow.c (tidy_fallthru_edges): Don't combine complex edges.
rth [Wed, 28 Mar 2001 06:22:23 +0000 (06:22 +0000)]
    * flow.c (tidy_fallthru_edges): Don't combine complex edges.
        (calculate_global_regs_live): Kill call-clobbered registers
        across exception edges.
        * reg-stack.c (convert_regs_1): Kill the entire target stack
        across non-call exception edges.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40909 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRemove flag_new_exceptions.
rth [Wed, 28 Mar 2001 06:11:49 +0000 (06:11 +0000)]
Remove flag_new_exceptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40908 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
rth [Wed, 28 Mar 2001 05:40:43 +0000 (05:40 +0000)]
    * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
        exceptions, put the note on the trapping instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40907 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * except.h (flag_non_call_exceptions): Move ...
rth [Wed, 28 Mar 2001 05:38:40 +0000 (05:38 +0000)]
    * except.h (flag_non_call_exceptions): Move ...
        * flags.h: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40906 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoMake -fsjlj-exceptions a configure option.
rth [Wed, 28 Mar 2001 05:24:24 +0000 (05:24 +0000)]
Make -fsjlj-exceptions a configure option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40905 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * parse.y (source_end_java_method): Likewise.
rth [Wed, 28 Mar 2001 05:04:20 +0000 (05:04 +0000)]
    * parse.y (source_end_java_method): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40904 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gthr-single.h (UNUSED): New. Distinguish between how C
rth [Wed, 28 Mar 2001 04:37:36 +0000 (04:37 +0000)]
    * gthr-single.h (UNUSED): New.  Distinguish between how C
        and C++ mark unused function arguments.  Use throughout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40903 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
rth [Wed, 28 Mar 2001 04:18:13 +0000 (04:18 +0000)]
    * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
        jump.c, toplev.c:
        Rename asynchronous_exceptions to flag_non_call_exceptions.

        * java/decl.c (end_java_method): Rename asynchronous_exceptions to
        flag_non_call_exceptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40902 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * memchr.c (memchr): Adjust condition to avoid infinite loop.
ghazi [Wed, 28 Mar 2001 04:10:24 +0000 (04:10 +0000)]
* memchr.c (memchr): Adjust condition to avoid infinite loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40899 138bc75d-0d04-0410-961f-82ee72b054a4