OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * config/sparc/sparc.md (reload_outdi+1): Handle
jakub [Fri, 23 Jun 2000 20:34:41 +0000 (20:34 +0000)]
* config/sparc/sparc.md (reload_outdi+1): Handle
HOST_BITS_PER_WIDE_INT == 64 case correctly.
(adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise.

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

23 years ago* alias.c (fixed_scalar_and_varying_struct_p): Don't examine
geoffk [Fri, 23 Jun 2000 20:05:55 +0000 (20:05 +0000)]
* alias.c (fixed_scalar_and_varying_struct_p): Don't examine
struct vs. scalar-ness when -fno-strict-aliasing.

and a test case to test it, gcc.dg/20000623-1.c.

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

23 years ago * java/lang/ieeefp.h: Handle ia64, fr30, mcore.
tromey [Fri, 23 Jun 2000 19:53:33 +0000 (19:53 +0000)]
* java/lang/ieeefp.h: Handle ia64, fr30, mcore.
* java/lang/natThrowable.cc: On IA-64, use __ia64_backtrace.

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

23 years ago2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Fri, 23 Jun 2000 17:57:04 +0000 (17:57 +0000)]
2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
            Ulrich Drepper  <drepper@cygnus.com>

* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
that all the freaky stuff like sincos will be around...

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

23 years ago * java/lang/reflect/natMethod.cc: Include <alloca.h>.
tromey [Fri, 23 Jun 2000 17:39:00 +0000 (17:39 +0000)]
* java/lang/reflect/natMethod.cc: Include <alloca.h>.
* java/lang/natDouble.cc: Always include <alloca.h>.
Fix for PR libgcj/267.

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

23 years ago2000-06-22 Branko Cibej <branko.cibej@hermes.si>
bkoz [Fri, 23 Jun 2000 16:18:53 +0000 (16:18 +0000)]
2000-06-22  Branko Cibej  <branko.cibej@hermes.si>

        * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.

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

23 years ago * cpplib.c (struct pragma_entry): New structure.
nathan [Fri, 23 Jun 2000 10:56:09 +0000 (10:56 +0000)]
* cpplib.c (struct pragma_entry): New structure.
(pragma_dispatch): Pragma dispatcher.
(top_pragmas, gcc_pragmas): New static variables.
(do_pragma): Use pragma_dispatch.
(do_pragma_gcc): New pragma handler.
* cpp.texi: Update.

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

23 years ago * calls.c (compute_argument_addresses): Force stack slots into
jakub [Fri, 23 Jun 2000 10:03:42 +0000 (10:03 +0000)]
* calls.c (compute_argument_addresses): Force stack slots into
alias set 0.
* expr.c (emit_push_insn): Force pushes into alias set 0.

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

23 years ago * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
rth [Fri, 23 Jun 2000 08:35:58 +0000 (08:35 +0000)]
    * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
        * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match.

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

23 years agoDaily bump.
law [Fri, 23 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * parse.y (template_arg): Convert TEMPLATE_DECL
jason [Fri, 23 Jun 2000 06:49:45 +0000 (06:49 +0000)]
    * parse.y (template_arg): Convert TEMPLATE_DECL
        that is a template template paramter to
        TEMPLATE_TEMPLATE_PARM here.

        * cp-tree.def (TEMPLATE_TEMPLATE_PARM): Adjust comment.
        * cp-tree.h (TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL): New macro.
        (copy_template_template_parm): Adjust prototype.
        * decl.c (grokdeclarator): Remove dead code.
        * pt.c (process_template_parm): Tidy.
        (lookup_template_class): Construct nodes in
        copy_template_template_parm.
        (tsubst): Pass TEMPLATE_DECL rather than IDENTIFIER_NODE to
        lookup_template_class.  Use TYPE_TI_TEMPLATE.
        * tree.c (copy_template_template_parm): Add NEWARGS
        parameter.
        (mapcar): Adjust call to copy_template_template_parm.
        * typeck.c (comptypes): Use TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL.
        * method.c (build_template_template_parm_names): Change error
        code to avoid compilation warning.

        * gxxint.texi: Document template template parameter
        name mangling.

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

23 years agonew
jason [Fri, 23 Jun 2000 06:45:58 +0000 (06:45 +0000)]
new

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

23 years agoin include/ChangeLog:
samuel [Fri, 23 Jun 2000 03:58:44 +0000 (03:58 +0000)]
in include/ChangeLog:

* dyn-string.h (dyn_string_init, dyn_string_new,
dyn_string_delete, dyn_string_release, dyn_string_resize,
dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
dyn_string_append_char, dyn_string_substring_dyn_string_eq):
Define as same name with __cxa_ prepended, if IN_LIBGCC2.
(dyn_string_init, dyn_string_copy, dyn_string_copy_cstr,
dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
dyn_string_append_char, dyn_string_substring): Change return type
to int.

in libiberty/ChangeLog:

* cp-demangle.c: Don't include ctype.h.
(IS_DIGIT): New macro.
(IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
instead of isdigit and isalpanum.
(demangling_def): Make name and next const pointers.
(STATUS_ALLOCATION_FAILED): New status code.
(dyn_string_append_space): Handle failure in
dyn_string_append_char.
(int_to_dyn_string): Likewise.  Change return value to status_t.
(string_list_new): Handle failure of dyn_string_init.
(result_close_template_list): Change return type to status_t.
Handle failure in dyn_string_append.
(result_push): Change return value to status_t.  Handle failure in
string_list_new.  Handle failure of result_push throughout.
(substitution_add): Change return value to status_t.  Handle
dyn_string failures.  Handle failure of substitution_add
throughout.
(template_arg_list_new): Return NULL on allocation failure.
(result_append_string): Return STATUS_ALLOCATION_FAILED on error.
Handle error result throughout.
(result_append): Likewise.
(result_append_char): Likewise.
(result_append_space): Likewise.
(demangling_new): Make argument a const pointer.  Handle
allocation failures.
(demangle_template_args): Handle failure in template_arg_list_new
and result_close_template_list.
(demangle_discriminator): Return if int_to_dyn_string fails.
(cp_demangle): Likewise.
(cp_demangle_type): New function.
(cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
memory allocation failure.
(main): Likewise.
* dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
IN_LIBGCC2.
(dyn_string_init): Change return value to int.  Handle
RETURN_ON_ALLOCATION_FAILURE case.
(dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
(dyn_string_release): Delete the dyn_string.
(dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
(dyn_string_copy): Change return type to int.
(dyn_string_copy_cstr): Likewise.
(dyn_string_prepend): Likewise.
(dyn_string_prepend_cstr): Likewise.
(dyn_string_insert): Likewise.
(dyn_string_insert_cstr): Likewise.
(dyn_string_append): Likewise.
(dyn_string_append_cstr): Likewise.
(dyn_string_append_char): Likewise.
(dyn_string_substring): Likewise.

in gcc/cp/ChangeLog:

* Make-lang.in (CXX_LIB2FUNCS): Add cp-demangle.o and dyn-string.o.
(CXX_LIB2SRCS): Add cp-demangle.c and dyn-string.c.
(cp-demangle.o): New rule.
(dyn-string.o): Likewise.
* inc/cxxabi.h (__cxa_demangle): New declaration.

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

23 years ago * cp-tree.h (BV_USE_VCALL_INDEX_P): New macro.
mmitchel [Fri, 23 Jun 2000 01:14:40 +0000 (01:14 +0000)]
* cp-tree.h (BV_USE_VCALL_INDEX_P): New macro.
(BV_GENERATE_THUNK_WITH_VTABLE_P): Likewise.
(lang_decl_flags): Add generate_with_vtable_p.  Make vcall_offset
a tree, not an int.
(THUNK_GENERATE_WITH_VTABLE_P): New macro.
(make_thunk): Change prototype.
(emit_thunk): Rename to use_thunk.
(mangle_thunk): Change prototype.
* class.c (get_derived_offset): Simplify.
(copy_virtuals): Clear BV_USE_VCALL_INDEX_P and
BV_GENERATE_THUNK_WITH_VTABLE_P.
(build_primary_vtable): Simplify.
(add_virtual_function): Use BV_FN, rather than TREE_VALUE.
(dfs_find_base): Remove.
(update_vtable_entry_for_fn): Correct bug in finding the base
where a virtual function was first declared.  Figure out whether
or not to emit a vcall-thunk with the vtables in which it appears.
Correct logic for deciding whether to use an ordinary thunk, or a
vcall thunk.
(finish_struct_1): Remove unnecssary code.
(build_vtbl_initializer): Use ssize_int for the running counter of
negative indices.
(build_vtbl_initializer): Only use vcall thunks where necessary.
Mark thunks as needing to be emitted with their vtables, or not.
(build_vbase_offset_vtbl_entries): Adjust for use of ssize_int in
indices.  Use size_binop.
(dfs_build_vcall_offset_vtbl_entries): Don't rely on
BINFO_PRIMARY_MARKED_P here.  Use BV_FN consistently.  Use
size_binop.
(build_rtti_vtbl_entries): Adjust call to build_vtable_entry.
(build_vtable_entry): Mark thunks as needing to be emitted with
their vtables, or not.
* decl.c (lang_mark_tree): Mark the vcall_offset in a thunk.
* decl2.c (mark_vtable_entries): Use use_thunk instead of
emit_thunk.
* dump.c (dequeue_and_dump): Remove dead code.  Dump new thunk
information.
* error.c (dump_expr): Use BV_FN.
* mangle.c (mangle_thunk): Adjust now that vcall_offset is a tree,
not an int.
* method.c (make_thunk): Likewise.
(emit_thunk): Rename to use_thunk.  Allow callers to decide
whether or not to actually emit the thunk.  Adjust for changes in
representation of vcall offsets.
* search.c (dfs_get_pure_virtuals): Use BV_FN.
* semantics.c (emit_associated_thunks): New function.
(expand_body): Use it.
* ir.texi: Adjust decriptions of thunks.

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

23 years ago2000-06-22 Steven King <sxking@uswest.net>
bkoz [Thu, 22 Jun 2000 23:59:04 +0000 (23:59 +0000)]
2000-06-22 Steven King <sxking@uswest.net>

        * acinclude.m4: Check for sinl, _sinl using 1 parameter.

2000-06-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
link against libm and don't use -fno-builtins...
* math/mathconf.h: Change up builtin macros to new schema.
* bits/std_cmath.h: And here. Wheee!
* shadow/bits/std_cmath.h: And here.
* acconfig.h: Change up builtin macros here.
* math/cosf.c:  Remove.
* math/fabsf.c:  Likewise.
* math/sinf.c:  Likewise.
* math/sqrtf.c:  Likewise.
* math/Makefile.am (EXTRA_DIST):  Remove those four files.
* math/Makefile.in:  Regenerate.

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

23 years ago2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Thu, 22 Jun 2000 23:17:58 +0000 (23:17 +0000)]
2000-06-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acconfig.h: Change up builtin macros here.
* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
link against libm and don't use -fno-builtins...

* math/cosf.c:  Remove.
* math/fabsf.c:  Likewise.
* math/sinf.c:  Likewise.
* math/sqrtf.c:  Likewise.
* math/Makefile.am (EXTRA_DIST):  Remove those four files.
* math/Makefile.in:  Regenerate.

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

23 years ago * toplev.c (compile_file): Always call timevar_print.
jason [Thu, 22 Jun 2000 21:01:04 +0000 (21:01 +0000)]
    * toplev.c (compile_file): Always call timevar_print.
        * Makefile.in (calls.o): Depend on TIMEVAR_H.

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

23 years ago * pt.c (tsubst_decl, case FUNCTION_DECL): Clear DECL_SAVED_TREE.
jason [Thu, 22 Jun 2000 20:54:48 +0000 (20:54 +0000)]
    * pt.c (tsubst_decl, case FUNCTION_DECL): Clear DECL_SAVED_TREE.
        (tsubst_friend_function): Copy it here.

        * decl.c (grok_op_properties): Fix typo.

        * decl2.c (delete_sanity): Clarify warning, avoid failure on
        deleting void*.

        * pt.c (check_explicit_specialization): Clarify error.

        * decl.c (pushdecl): Also pull out one of the FUNCTION_DECLs from
        an old OVERLOAD when we're declaring a non-function.
        (pushdecl, destroy_local_var): Check for error_mark_node.
        (warn_extern_redeclared_static): Also bail early if
        we're a CONST_DECL.
        (push_overloaded_decl): Ignore an old error_mark_node.

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

23 years agonew
jason [Thu, 22 Jun 2000 20:51:42 +0000 (20:51 +0000)]
new

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

23 years ago * gcc.c-torture/execute/20000622-1.c: New test.
jakub [Thu, 22 Jun 2000 20:40:52 +0000 (20:40 +0000)]
* gcc.c-torture/execute/20000622-1.c: New test.

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

23 years ago2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Thu, 22 Jun 2000 17:27:57 +0000 (17:27 +0000)]
2000-06-22  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/find.cc: Patch.

2000-06-22  Benjamin Kosnik  <bkoz@soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
an easy way to get at g++ without having to link in libstdc++.

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

23 years ago * g++.old-deja/g++.other/init15.C: New test.
nathan [Thu, 22 Jun 2000 09:42:31 +0000 (09:42 +0000)]
* g++.old-deja/g++.other/init15.C: New test.

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

23 years ago * varasm.c (constant_descriptor): Make contents unsigned char.
nathan [Thu, 22 Jun 2000 09:42:10 +0000 (09:42 +0000)]
* varasm.c (constant_descriptor): Make contents unsigned char.
(mark_const_hash_entry): Adjust.
(const_hash): Just hash the code of unknown nodes.
(compare_constant_1): Adjust for unsigned char.
Use language specific expander on unknown nodes.
(record_constant_1): Likewise.

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

23 years ago * g++.old-deja/g++.pt/vaarg2.C: New test.
nathan [Thu, 22 Jun 2000 09:29:00 +0000 (09:29 +0000)]
* g++.old-deja/g++.pt/vaarg2.C: New test.
* g++.old-deja/g++.pt/vaarg3.C: New test.

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

23 years ago * call.c (build_x_va_arg): Check if in a template decl.
nathan [Thu, 22 Jun 2000 09:27:15 +0000 (09:27 +0000)]
* call.c (build_x_va_arg): Check if in a template decl.
* pt.c (tsubst_copy, case VA_ARG_EXPR): Use build_x_va_arg.

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

23 years agoDaily bump.
law [Thu, 22 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Thu, 22 Jun 2000 06:19:44 +0000 (06:19 +0000)]
2000-06-21  Benjamin Kosnik  <bkoz@soma.redhat.com>

Fix alpha, powerpc build failures.
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
re-write. Need to check for both proper declaration when using a
c++ compiler, and "C" linkage when linking. Do both, and if both
exist, then define the HAVE_* bits in config.h.
(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_n): New, uber-macros. Does all.
(GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
program, doh.

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

23 years ago2000-06-21 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 22 Jun 2000 05:17:35 +0000 (05:17 +0000)]
2000-06-21  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* except.c (prepare_eh_table_type): Use `CATCH_ALL_TYPE'.

2000-06-20  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* check-init.c (ENABLE_JC1_CHECKING): Replaces ENABLE_CHECKING for
Java specific checks.
* expr.c (build_instanceof): CLASS_INTERFACE and CLASS_FINAL usage
screened by DECL_P.
* java-tree.def (CASE_EXPR): Marked 'e'.
(DEFAULT_EXPR): Likewise.
* jcf-parse.c (set_source_filename): CLASS_COMPLETE_P usage
screened by DECL_P.
* jcf-write.c (ENABLE_JC1_CHECKING): Replaces ENABLE_CHECKING for
Java specific checks.
(generate_bytecode_insns): Test try_block for BLOCK before using
BLOCK_EXPR_BODY.
* parse.y (build_wfl_wrap): Added `location' argument. Set
EXPR_WFL_LINECOL accordingly.
(dim_expr:): Wrap constants with WFLs.
(method_declarator): Use TREE_TYPE not TYPE_NAME on GET_CPC.
(resolve_package): Check for `stmt' not being a BLOCK before
building a debuggable statement with it.
(make_qualified_primary): Added extra parameter to build_wfl_wrap
invocation.
(resolve_field_access): Make sure `decl' is a DECL before treating
it as such.
(maybe_build_primttype_type_ref): Make sure `wfl''s node is an
IDENTIFIER_NODE before treating it as such.
(patch_new_array_init): Make sure `elt' is a TREE_LIST before
treating it as such.
(find_applicable_accessible_methods_list): CLASS_INTERFACE macro
to be applied only on non array types.

2000-06-16  Per Bothner  <per@bothner.com>

* java-tree.h (LABEL_RETURN_LABELS, LABEL_PENDING_CHAIN):  Don't
define in terms of DECL_RESULT, as that fails when --enable-checking.

2000-06-06  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.h (REGISTER_IMPORT): Use `chainon' to link new entries.
* parse.y (find_in_imports): Returned type changed to void,
leading comment fixed.
(register_package): New function.
(qualify_and_find): Likewise.
(package_declaration:): Use `register_package'.
(single_type_import_declaration:): Removed local variable
`node'. Added missing `;' for consistency.
(type_import_on_demand_declaration:): Use `chainon' to link new
entries.
(lookup_field_wrapper): Lookup local variables defined in outer
contexts first.
(java_complete_class): Don't reverse the list of imported on demand.
(do_resolve_class): Reorganized. Removed local variable
`original_name'. Call `qualify_and_find' with the current package
name, invoke `find_in_imports_on_demand' right after. Call
`qualify_and_find' with the packages we've seen so far. Fixed
operations numbering in comments.
(java_expand_class): Don't reverse `package_list'.
(find_most_specific_methods_list): New local variables `abstract'
and `candidates'. Use them to pick the right method.

(Fixes for the ENABLE_TREE_CHECKING Java run-time build problem:
 http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00551.html)

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

23 years ago * cppfiles.c (cpp_make_system_header): New function.
zack [Wed, 21 Jun 2000 23:08:17 +0000 (23:08 +0000)]
* cppfiles.c (cpp_make_system_header): New function.
* cpplib.h: Prototype it.
* cpplib.c (do_line, do_pragma_system_header): Use it.
* fix-header.c (read_scan_file): Use it.

* fix-header.c (check_macro_names): Cast second arg of
cpp_defined to const unsigned char *.
(read_scan_file): Make getchar_call const unsigned char.

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

23 years ago2000-06-21 Branko Cibej <branko.cibej@hermes.si>
law [Wed, 21 Jun 2000 22:22:41 +0000 (22:22 +0000)]
2000-06-21  Branko Cibej  <branko.cibej@hermes.si>

        * mh-sparcpic: Use single instead of double quotes.
        * mt-sparcpic: Likewise.

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

23 years ago * libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if
zack [Wed, 21 Jun 2000 20:13:23 +0000 (20:13 +0000)]
* libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if
HAVE_STDLIB_H is defined.

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

23 years ago * Make-lang.in (F77_SRCS): Remove all .j files.
zack [Wed, 21 Jun 2000 20:11:14 +0000 (20:11 +0000)]
* Make-lang.in (F77_SRCS): Remove all .j files.
* Makefile.in (ASSERT_H, CONFIG_H, CONVERT_H, FLAGS_H, GGC_H,
GLIMITS_H, HCONFIG_H, INPUT_H, OUTPUT_H, RTL_H, SYSTEM_H,
TOPLEV_H, TREE_H): Remove references to .j files.
(TCONFIG_H, TM_H): Remove entirely.
(deps-kinda): Delete rule.
Correct commentary.

* assert.j, config.j, convert.j. flags.j, ggc.j, glimits.j,
hconfig.j, input.j, output.j, rtl.j, system.j, toplev.j,
tree.j, tconfig.j, tree.j: Delete.

* ansify.c, bad.c, bit.c, com.c, com.h, intdoc.c, lex.c,
parse.c, proj.c, proj.h, ste.c, target.c, target.h, top.c,
where.c, where.h: Include parent-directory headers directly.
* lex.c: Don't include tree.h twice.

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

23 years ago * Makefile.in (SPLAY_TREE_H): New macro.
zack [Wed, 21 Jun 2000 18:41:38 +0000 (18:41 +0000)]
* Makefile.in (SPLAY_TREE_H): New macro.
(cppfiles.o, cppinit.o): Update dependencies.

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

23 years ago * cppfiles.c: Include splay-tree.h, not hashtab.h.
zack [Wed, 21 Jun 2000 18:33:51 +0000 (18:33 +0000)]
* cppfiles.c: Include splay-tree.h, not hashtab.h.
(redundant_include_p, make_IHASH, hash_IHASH, eq_IHASH): Delete.
(destroy_include_file_node): New.
(_cpp_init_include_hash): Rename _cpp_init_include_table.
Create a splay tree, not a hash table.
(open_include_file): Look up the path in the include table,
do the multiple include optimization here, etc.
(cpp_included): Walk the path.
(find_include_file): Just walk the path calling
open_include_file, or call it directly for an absolute path.
(_cpp_fake_ihash): Rename _cpp_fake_include and update for new
scheme.
(read_include_file): Update for new scheme.  Don't close the
file unless reading fails.
(_cpp_execute_include, cpp_read_file): Tweak for new scheme.

* cpphash.h (struct ihash, NEVER_REINCLUDE): Delete.
(struct include_file): New.
(NEVER_REREAD, DO_NOT_REREAD, CPP_IN_SYSTEM_HEADER): New
macros.
(CPP_PEDANTIC, CPP_WTRADITIONAL): Update.
Update prototypes.

* cppinit.c: Include splay-tree.h.
(cpp_reader_init, cpp_cleanup): Update.

* cpplib.h (struct cpp_buffer): Change ihash field to
'struct include_file *inc'.  Remove system_header_p.
(struct cpp_reader): Change all_include_files to a
struct splay_tree_s *.

* cpplex.c: Update all references to cpp_buffer->ihash and/or
cpp_buffer->system_header_p.
(cpp_pop_buffer): Close file here, only if DO_NOT_REREAD.

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

23 years ago2000-06-20 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 21 Jun 2000 18:18:11 +0000 (18:18 +0000)]
2000-06-20  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (push_lang_context): TYPE_NAME gets you to the Java
types DECLs.
* decl.c (check_goto): Computed gotos assumed OK.

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

23 years ago * invoke.texi (g++): "g++" is not a script anymore.
law [Wed, 21 Jun 2000 17:10:00 +0000 (17:10 +0000)]
    * invoke.texi (g++): "g++" is not a script anymore.

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

23 years ago * pt.c (tsubst_decl, case TYPE_DECL): Fix test for TYPE_DECLs
jason [Wed, 21 Jun 2000 16:37:06 +0000 (16:37 +0000)]
    * pt.c (tsubst_decl, case TYPE_DECL): Fix test for TYPE_DECLs
        for which we don't need to look for instantiations.

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

23 years agonew
jason [Wed, 21 Jun 2000 16:29:39 +0000 (16:29 +0000)]
new

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

23 years ago * function.c (round_down): Delete obsolete prototype.
law [Wed, 21 Jun 2000 16:19:22 +0000 (16:19 +0000)]
* function.c (round_down): Delete obsolete prototype.

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

23 years ago * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.
law [Wed, 21 Jun 2000 16:11:39 +0000 (16:11 +0000)]
    * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.

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

23 years ago * parse.y (program): Always call finish_translation_unit.
nathan [Wed, 21 Jun 2000 12:19:17 +0000 (12:19 +0000)]
* parse.y (program): Always call finish_translation_unit.
* parse.c, parse.h: Rebuilt.

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

23 years agoDaily bump.
law [Wed, 21 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-06-21 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 21 Jun 2000 03:55:35 +0000 (03:55 +0000)]
2000-06-21  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to
comply with classpath VM spec.
(add(Group)): Rename to addGroup().
* java/lang/Thread.java (Thread): Use addThread().
* java/lang/natThread.cc (finish_): Use removeThread().

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

23 years ago * configure.in: Use 'test a = b' not 'test a == b'.
zack [Wed, 21 Jun 2000 00:27:53 +0000 (00:27 +0000)]
* configure.in: Use 'test a = b' not 'test a == b'.
* configure: Regen.

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

23 years ago * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).
zack [Tue, 20 Jun 2000 23:36:33 +0000 (23:36 +0000)]
* Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).

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

23 years ago2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Tue, 20 Jun 2000 23:14:37 +0000 (23:14 +0000)]
2000-06-20  Anthony Williams  <anthony@anthonyw.cjb.net>

* bits/string.tcc: Fix find.
* testsuite/21_strings/find.cc: Patch.

2000-06-20  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/install.html: Update where to get automake, where to get
binutils.
* acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
builtins.

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

23 years ago * cpplex.c (parse_name): Don't warn about $ in identifiers if
zack [Tue, 20 Jun 2000 22:42:18 +0000 (22:42 +0000)]
* cpplex.c (parse_name): Don't warn about $ in identifiers if
skipping.

* Makefile.in: Remove all references to HOST_INTLLIBS.

* cp/method.c: Don't include hard-reg-set.h.

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

23 years ago * g++.old-deja/g++.other/dyncast6.C: New test.
nathan [Tue, 20 Jun 2000 16:14:42 +0000 (16:14 +0000)]
* g++.old-deja/g++.other/dyncast6.C: New test.

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

23 years ago * rtti.c (get_base_offset): Cope when vbase field is in a base.
nathan [Tue, 20 Jun 2000 16:13:33 +0000 (16:13 +0000)]
* rtti.c (get_base_offset): Cope when vbase field is in a base.

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

23 years ago2000-06-20 Philipp Thomas <pthomas@suse.de>
jle [Tue, 20 Jun 2000 15:55:10 +0000 (15:55 +0000)]
2000-06-20  Philipp Thomas  <pthomas@suse.de>

* config/pa/pa.h (TARGET_SWITCHES): Require binutils 2.10 or later
for PA 2.0.

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

23 years ago * call.c (build_conditional_expr): Use VOID_TYPE_P.
nathan [Tue, 20 Jun 2000 15:42:55 +0000 (15:42 +0000)]
* call.c (build_conditional_expr): Use VOID_TYPE_P.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_void): Likewise.
* error.c (dump_expr): Likewise.
* except.c (complete_ptr_ref_or_void_ptr_p): Likewise.
* init.c (build_delete): Likewise.
* method.c (emit_thunk): Likewise.
* optmize.c (declare_return_variable): Likewise.
* rtti.c (get_tinfo_decl_dynamic): Likewise.
(get_typeid): Likewise.
(build_dynamic_cast_1): Likewise.
* typeck.c (composite_pointer_type): Likewise.
(common_type): Likewise.
(build_indirect_ref): Likewise.
(build_binary_op): Likewise.
(build_x_compound_expr): Likewise.
(check_return_expr): Likewise.
* typeck2.c (add_exception_specifier): Likewise.

* mangle.c (write_method_parms): Use direct comparison for end
of parmlist.

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

23 years agoDaily bump.
law [Tue, 20 Jun 2000 15:07:54 +0000 (15:07 +0000)]
Daily bump.

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

23 years ago2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Tue, 20 Jun 2000 13:30:14 +0000 (13:30 +0000)]
2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/ThreadGroup.java: Merged with classpath.
* prims.cc (_Jv_RunMain): Don't use \rain_group'.
* gnu/gcj/runtime/FirstThread.java: Remove ThreadGroup constructor
argument.
* java/lang/Thread.java (Thread): Bootstrap initial thread from
ThreadGroup.root if Thread.currentThread is null. Honour the
ThreadGroup's max priority setting.

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

23 years ago2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Tue, 20 Jun 2000 06:50:59 +0000 (06:50 +0000)]
2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

* acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
Add -Werror-implicit-function-declaration instead.

Regenerate with fixed maintainer-tools.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* libio/Makefile.in: Regenerate.

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

23 years ago2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Tue, 20 Jun 2000 01:31:46 +0000 (01:31 +0000)]
2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

Regenerate with fixed maintainer-tools.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* libio/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.

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

23 years ago2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
bkoz [Tue, 20 Jun 2000 01:24:46 +0000 (01:24 +0000)]
2000-06-19  Russell Davidson  <russell@ehess.cnrs-mrs.fr>

* testsuite/27_io/istream_extractor_arith.cc: Patch.
* bits/locale_factets.tcc: Tweak.

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

23 years ago2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Tue, 20 Jun 2000 01:04:58 +0000 (01:04 +0000)]
2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>

Imported version 5.1.
* acinclude.m4: Push version to 5.1.

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

23 years ago2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
bkoz [Mon, 19 Jun 2000 23:43:19 +0000 (23:43 +0000)]
2000-06-19  Raja R Harinath  <harinath@cs.umn.edu>

* src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
be overridden on the command line for individual files.

2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
AC_LANG_CPLUSPLUS as this tries to link in libstdc++, Which we are
building. Use -x c++ instead, which does not attempt to link
libstdc++.

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

23 years agoThis commit was generated by cvs2svn to compensate for changes in r34605,
bryce [Mon, 19 Jun 2000 23:42:00 +0000 (23:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34605,
which included commits to RCS files with non-trunk default branches.

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

23 years ago * Take REG_INC notes into account.
amylaar [Mon, 19 Jun 2000 22:31:47 +0000 (22:31 +0000)]
* Take REG_INC notes into account.

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

23 years ago * c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
zack [Mon, 19 Jun 2000 22:28:28 +0000 (22:28 +0000)]
* c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
(primary: IDENTIFIER): Just call build_external_ref.
* c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
Regenerate.
* c-lex.c (lastiddecl): Remove.
(yylex): Replace all instances of lastiddecl with local
variables.

* c-typeck.c (build_external_ref): New function.  Treat decls
with C_DECL_ANTICIPATED mostly the same as nonexistent decls.
Look up the decl from the id here.  Call lookup_objc_ivar.
* c-lang.c (lookup_objc_ivar): Stub.
* objc/objc-act.c (lookup_objc_ivar): New function.

* c-tree.h: Prototype lookup_objc_ivar and build_external_ref.
* c-lex.h: Don't declare lastiddecl.

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

23 years ago2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Mon, 19 Jun 2000 22:20:15 +0000 (22:20 +0000)]
2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

* docs/17_intro/contribute.html: Add bits about getting to the LWG
issues pages.
* docs/documentation.html: Rename link to make more accurate and scary.
* docs/gccrebuild.html: Edit for clarity as these are no longer
separate projects.
* docs/install.html: Add bits about binutils for
-ffunction-sections, -fdata-sections, -Wl,--gc-sections

* configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
* math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
USE_COMPLEX_LONG_DOUBLE.
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
Works around irregularies in powerpc "C" compiler, but a good idea
anyway.

* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
New. Merge both old compiler bug checks for complex into this.

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

23 years ago2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Mon, 19 Jun 2000 20:05:48 +0000 (20:05 +0000)]
2000-06-19  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/find.cc: Empty strings can be found at all
positions. Modified.

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

23 years ago2000-06-19 Branko Cibej <branko.cibej@hermes.si>
bkoz [Mon, 19 Jun 2000 19:58:53 +0000 (19:58 +0000)]
2000-06-19  Branko Cibej  <branko.cibej@hermes.si>

        * testsuite/20_utilities: New directory.
        * testsuite/20_utilities/auto_ptr.cc: New file.

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

23 years ago2000-06-19 Andrew Haley <aph@cygnus.com>
aph [Mon, 19 Jun 2000 18:46:45 +0000 (18:46 +0000)]
2000-06-19  Andrew Haley  <aph@cygnus.com>

        * os_dep.c (read): Pass two dummy args to syscall().

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

23 years ago * c-common.h (IF_COND): Added documentation.
chelf [Mon, 19 Jun 2000 18:40:24 +0000 (18:40 +0000)]
* c-common.h (IF_COND): Added documentation.
(THEN_CLAUSE): Likewise.
(ELSE_CLAUSE): Likewise.
(WHILE_COND): Likewise.
(WHILE_BODY): Likewise.
(DO_COND): Likewise.
(DO_BODY): Likewise.
(RETURN_EXPR): Likewise.
(EXPR_STMT_EXPR): Likewise.
(FOR_INIT_STMT): Likewise.
(FOR_COND): Likewise.
(FOR_EXPR): Likewise.
(FOR_BODY): Likewise.
(SWITCH_COND): Likewise.
(SWITCH_BODY): Likewise.
(CASE_LOW): Likewise.
(CASE_HIGH): Likewise.
(GOTO_DESTINATION): Likewise.
(COMPOUND_BODY): Likewise.
(ASM_CV_QUAL): Likewise.
(ASM_STRING): Likewise.
(ASM_OUTPUTS): Likewise.
(ASM_INPUTS): Likewise.
(ASM_CLOBBERS): Likewise.
(DECL_STMT_DECL): Likewise.
(STMT_EXPR_STMT): Likewise.
(LABEL_STMT_LABEL): Likewise.

* c-common.def: Added documenetion for SRCLOC, EXPR_STMT,
COMPOUND_STMT, DECL_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT,
RETURN_STMT, BREAK_STMT, CONTINUE_STMT, SWITCH_STMT, GOTO_STMT,
LABEL_STMT, ASM_STMT, SCOPE_STMT, CASE_LABEL, STMT_EXPR.

* cp/cp-tree.h (genrtl_try_block): Declare function.
(genrtl_handler): Likewise.
(genrtl_catch_block): Likewise.
(genrtl_ctor_stmt): Likewise.
(genrtl_subobject): Likewise.
(genrtl_decl_cleanup): Likewise.
(genrtl_do_poplevel): Likewise.
(genrtl_do_pushlevel): Likewise.
(genrtl_clear_out_block): Likewise.
(genrtl_goto_stmt): Likewise.
(genrtl_expr_stmt): Likewise.
(genrtl_decl_stmt): Likewise.
(genrtl_if_stmt): Likewise.
(genrtl_while_stmt): Likewise.
(genrtl_do_stmt): Likewise.
(genrtl_return_stmt): Likewise.
(genrtl_for_stmt): Likewise.
(genrtl_break_stmt): Likewise.
(genrtl_continue_stmt): Likewise.
(genrtl_scope_stmt): Likewise.
(genrtl_switch_stmt): Likewise.
(genrtl_case_label): Likewise.
(genrtl_begin_compound_stmt): Likewise.
(genrtl_finish_compound_stmt): Likewise.
(genrtl_compound_stmt): Likewise.
(genrtl_asm_stmt): Likewise.
(genrtl_named_return_value): Likewise.
(genrtl_begin_stmt_expr): Likewise.
(genrtl_finish_stmt_expr): Likewise.
(finish_for_stmt): Removed first argument.
(finish_switch_stmt): Likewise.

* cp/semantics.c (genrtl_try_block): Define function.
(genrtl_handler): Likewise.
(genrtl_catch_block): Likewise.
(genrtl_ctor_stmt): Likewise.
(genrtl_subobject): Likewise.
(genrtl_decl_cleanup): Likewise.
(genrtl_do_poplevel): Likewise.
(genrtl_do_pushlevel): Likewise.
(genrtl_clear_out_block): Likewise.
(genrtl_goto_stmt): Likewise.
(genrtl_expr_stmt): Likewise.
(genrtl_decl_stmt): Likewise.
(genrtl_if_stmt): Likewise.
(genrtl_while_stmt): Likewise.
(genrtl_do_stmt): Likewise.
(genrtl_return_stmt): Likewise.
(genrtl_for_stmt): Likewise.
(genrtl_break_stmt): Likewise.
(genrtl_continue_stmt): Likewise.
(genrtl_scope_stmt): Likewise.
(genrtl_switch_stmt): Likewise.
(genrtl_case_label): Likewise.
(genrtl_begin_compound_stmt): Likewise.
(genrtl_finish_compound_stmt): Likewise.
(genrtl_compound_stmt): Likewise.
(genrtl_asm_stmt): Likewise.
(genrtl_named_return_value): Likewise.
(genrtl_begin_stmt_expr): Likewise.
(genrtl_finish_stmt_expr): Likewise.
(finish_for_stmt): Removed first argument and generate rtl
specific code.
(finish_switch_stmt): Likewise.
(do_poplevel): Removed generate rtl specific code.
(do_pushlevel): Likewise.
(add_tree): Likewise.
(finish_goto_stmt): Likewise.
(finish_expr_stmt): Likewise.
(begin_if_stmt): Likewise.
(finish_if_stmt_cond): Likewise.
(finish_then_clause): Likewise.
(begin_else_clause): Likewise.
(finish_else_clause): Likewise.
(finish_if_stmt): Likewise.
(clear_out_block): Likewise.
(begin_while_stmt): Likewise.
(finish_while_stmt_cond): Likewise.
(finish_while_stmt): Likewise.
(begin_do_stmt): Likewise.
(finish_do_body): Likewise.
(finish_do_stmt): Likewise.
(finish_return_stmt): Likewise.
(begin_for_stmt): Likewise.
(finish_for_init_stmt): Likewise.
(finish_for_cond): Likewise.
(finish_for_expr): Likewise.
(finish_break_stmt): Likewise.
(finish_continue_stmt): Likewise.
(begin_switch_stmt): Likewise.
(finish_switch_cond): Likewise.
(finish_case_label): Likewise.
(begin_try_block): Likewise.
(begin_function_try_block): Likewise.
(finish_try_block): Likewise.
(finish_cleanup_try_block): Likewise.
(finish_cleanup): Likewise.
(finish_function_try_block): Likewise.
(finish_handler_sequence): Likewise.
(finish_function_handler_sequence): Likewise.
(begin_handler): Likewise.
(finish_handler_parms): Likewise.
(begin_catch_block): Likewise.
(finish_handler): Likewise.
(begin_compound_stmt): Likewise.
(finish_compound_stmt): Likewise.
(finish_asm_stmt): Likewise.
(finish_label_stmt): Likewise.
(finish_label_decl): Likewise.
(finish_subobject): Likewise.
(finish_decl_cleanup): Likewise.
(finish_named_return_value): Likewise.
(begin_stmt_expr): Likewise.
(finish_stmt_expr): Likewise.

* cp/decl.c (initialize_local_var): Changed call to finish_expr_stmt
to call genrtl_expr_stmt when appropriate.

* cp/init.c (begin_init_stmts): Changed calls to begin_stmt_expr and
begin_compound_expr to call genrtl_begin_stmt_expr and
genrtl_begin_compound_expr when appropriate.
(finish_init_stmts): Changed calls to finish_compound_expr and
finish_stmt_expr to call genrtl_finish_compound_expr and
genrtl_finish_stmt_expr when appropriate.
(expand_default_init): Changed call to finish_expr_stmt to call
genrtl_expr_stmt when appropriate.
(build_vec_init): Likewise.

* cp/parse.y (simple_stmt): Removed first argument from call to
finish_for_stmt. Removed first argument from call to
finish_switch_stmt.

* cp/parse.c: Regenerated.

* cp/pt.c (tsubst_expr): Removed first argument from call to
finish_for_stmt. Removed first argument from call to
finish_switch_stmt.

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

23 years ago * configure.in (--enable-checking): Update --help doc to reflect
ghazi [Mon, 19 Jun 2000 17:23:54 +0000 (17:23 +0000)]
* configure.in (--enable-checking): Update --help doc to reflect
new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.

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

24 years agogcc/po:
pthomas [Mon, 19 Jun 2000 07:59:20 +0000 (07:59 +0000)]
gcc/po:

2000-06-19  Philipp Thomas  <pthomas@suse.de>

* POTFILES.in: change entries for dyn-string.[ch]

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

24 years agoDaily bump.
law [Mon, 19 Jun 2000 07:45:12 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 19 Jun 2000 03:14:40 +0000 (03:14 +0000)]
2000-06-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

       * src/Makefile.am (string_sources): Simplify, assuming that with
-ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
hacking is not necessary.
        (wstring_sources): Same.
        (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
-Wl,--gc-sections.
* src/string-inst.cc: Remove macro blocks.
* mkcheck.in (CXX_FLAG): Add bits here.

* src/string-inst.cc: Remove iostream-related string instantiations.
* src/misc-inst.cc: Add here.

* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
to WFMT_FLAGS.
* aclocal.m4: Regenerate.
* configure.in: Change up.
* configure: Regenerate.

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

24 years ago * gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
kenner [Mon, 19 Jun 2000 01:40:32 +0000 (01:40 +0000)]
* gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.

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

24 years ago * function.c (put_var_into_stack): Don't reference DECL_ fields
kenner [Mon, 19 Jun 2000 01:33:32 +0000 (01:33 +0000)]
* function.c (put_var_into_stack): Don't reference DECL_ fields
if input is a SAVE_EXPR.
Use set_mem_attributes in COMPLEX case.

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

24 years ago * java/lang/natClass.cc (forName): Removed dead code. Initialize
tromey [Sun, 18 Jun 2000 22:14:06 +0000 (22:14 +0000)]
* java/lang/natClass.cc (forName): Removed dead code.  Initialize
returned class.  For PR gcj/260.

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

24 years ago * config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
rth [Sun, 18 Jun 2000 18:54:43 +0000 (18:54 +0000)]
* config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
(ia64_file_start): Declare.
* config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
(GR_REGNO_P): Likewise.
* config/ia64/ia64.c: Many prototypes.
(ia64_reg_numbers): Constify.
(ia64_input_reg_names, ia64_local_reg_names): Likewise.
(ia64_section_threshold): Make unsigned.
(ia64_print_operand): Constify.
(fix_range): Constify.
(ia64_init_builtins): Don't compare signed vs unsigned.
(ia64_expand_builtin): Likewise.

* config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
(CONSTRAINT_OK_FOR_Q): New.
* config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
(movsf_internal, movdf_internal): Likewise.
(cmovdi_internal): Rewrite so that constraints and predicates match;
simplify splitters.
(cmovsi_internal): Likewise.

* config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
(ASM_FILE_START): New.
* config/ia64/ia64.c (ia64_file_start): New.
(rtx_needs_barrier): Handle pred.rel.mutex.
(emit_predicate_relation_info): New.
* config/ia64/ia64.md (pred_rel_mutex): New.
* config/ia64/linux.h (ASM_SPEC): Define.
* config/ia64/sysv4.h (ASM_FILE_START): Define.

* config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
filtering global register variables.

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

24 years ago * c-common.c (add_c_tree_codes): Fix definition for traditional C.
ghazi [Sun, 18 Jun 2000 13:09:26 +0000 (13:09 +0000)]
* c-common.c (add_c_tree_codes): Fix definition for traditional C.

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

24 years agoDaily bump.
law [Sun, 18 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

24 years agoFix spec %v3
meissner [Sun, 18 Jun 2000 02:37:02 +0000 (02:37 +0000)]
Fix spec %v3

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

24 years agomodified make check test output
korbb [Sat, 17 Jun 2000 19:54:04 +0000 (19:54 +0000)]
modified make check test output

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

24 years agoobsolete test result file
korbb [Sat, 17 Jun 2000 19:48:41 +0000 (19:48 +0000)]
obsolete test result file

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

24 years agonew test result files
korbb [Sat, 17 Jun 2000 19:48:12 +0000 (19:48 +0000)]
new test result files

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

24 years agoreorder some files= entries
korbb [Sat, 17 Jun 2000 19:43:21 +0000 (19:43 +0000)]
reorder some files= entries

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

24 years agofinish the implementation of multiple tests per fix
korbb [Sat, 17 Jun 2000 17:50:12 +0000 (17:50 +0000)]
finish the implementation of multiple tests per fix

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

24 years ago * gcc.texi: Remove reference to stupid.c.
kenner [Sat, 17 Jun 2000 14:26:30 +0000 (14:26 +0000)]
* gcc.texi: Remove reference to stupid.c.

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

24 years ago2000-05-17 H.J. Lu (hjl@gnu.org)
toon [Sat, 17 Jun 2000 13:53:59 +0000 (13:53 +0000)]
2000-05-17  H.J. Lu  (hjl@gnu.org)

* Make-lang.in: Use a unique stamp for each target to support
parallel make.

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

24 years agoDaily bump.
law [Sat, 17 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * c-common.c (c_tree_code_type): New array.
chelf [Sat, 17 Jun 2000 02:37:23 +0000 (02:37 +0000)]
* c-common.c (c_tree_code_type): New array.
        (c_tree_code_length): Likewise.
(c_tree_code_name): Likewise.
(add_c_tree_codes): New function.

        * c-common.h (add_c_tree_codes): Declare.
        (enum c_tree_code): New enum.

* c-lex.c (init_parse): Added call to add_c_tree_codes.

        * cp/cp-tree.h (enum cplus_tree_code): Changed __DUMMY to
CP_DUMMY_TREE_CODE. Remove #include "c-common.def".

* cp/lex.c (cplus_tree_code_type[]): Removed #include "c-common.def".
        (cplus_tree_code_length[]): Likewise.
        (cplus_tree_code_name[]): Likewise.
(init_parse): Added call to add_c_tree_codes. Changed
LAST_AND_UNUSED_TREE_CODE to LAST_C_TREE_CODE.

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

24 years ago * fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
ghazi [Fri, 16 Jun 2000 20:38:42 +0000 (20:38 +0000)]
* fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
select pattern to also match macro defs with only one argument.

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

24 years ago Fix for PR libgcj/261:
tromey [Fri, 16 Jun 2000 15:52:24 +0000 (15:52 +0000)]
Fix for PR libgcj/261:
* include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument.
* include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument.  (This is a patch from long ago that somehow went
missing.)

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

24 years ago * cp-tree.h (finish_mem_initializers): Declare.
mmitchel [Fri, 16 Jun 2000 15:35:10 +0000 (15:35 +0000)]
* cp-tree.h (finish_mem_initializers): Declare.
(count_trees): Likewise.
* parse.y (base_init): Use finish_mem_initializers.
* semantics.c (finish_mem_initializers): New function.

* tree.c (count_trees_r): Prototype.  Use DATA parameter to store
the number of trees.
(n_trees): Remove.
(count_trees): Don't use it.

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

24 years ago * gcc.c-torture/execute/loop-6.c: New test.
jakub [Fri, 16 Jun 2000 11:14:56 +0000 (11:14 +0000)]
* gcc.c-torture/execute/loop-6.c: New test.

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

24 years agoDaily bump.
law [Fri, 16 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * cp-tree.h (struct language_function): Remove x_base_init_list
mmitchel [Fri, 16 Jun 2000 07:34:51 +0000 (07:34 +0000)]
* cp-tree.h (struct language_function): Remove x_base_init_list
and x_member_init_list.
(current_base_init_list): Remove.
(current_member_init_list): Likewise.
(setup_vtbl_ptr): Change prototype.
(emit_base_init): Likewise.
(expand_member_init): Likewise.
(reinit_parse_for_function): Remove.
* decl.c (save_function_data): Don't clear x_base_init_list and
x_member_init_list.
(mark_language_function): Don't mark them.
* init.c (perform_member_init): Tweak comment.
(sort_member_init): Take the list of initializers as an argument.
(sort_base_init): Likewise.
(emit_base_init): Likewise.
(expand_member_init): Return the initializer.  Don't use global
variables.
* lex.c (reinit_parse_for_function): Remove.
* method.c (build_template_parm_names): Correct substitution.
(do_build_copy_constructor): Don't use current_member_init_list
and current_base_init_list.
(synthesize_method): Likewise.
* parse.y (base_init): Split mem-initializers into
base-initializers and field-initializers.
(member_init_list): Build up the list here.
(member_init): Return the initializer.
(fn.depfn): Don't use reinit_parse_for_function.
* parse.c: Regenerated.
* pt.c (convert_nontype_argument): Don't make an ADDR_EXPR of the
ERROR_MARK.
(tsubst_expr): Don't use current_member_init_list
and current_base_init_list.
(tsubst_expr_values): Rename to ...
(tsubst_initializer_list): ... this.  Use convert_from_reference.
* semantics.c (setup_vtbl_ptr): Don't use current_member_init_list
and current_base_init_list.
(begin_function_definition): Don't call reinit_parse_for_function.

* dump.c (dequeue_and_dump): Use TREE_VEC_LENGTH with vectors.

* error.c (dump_expr): Handle ADDR_EXPRs with REFERENCE_TYPE
correctly.

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

24 years ago * gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.
tromey [Fri, 16 Jun 2000 01:11:12 +0000 (01:11 +0000)]
* gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.
(read): Use it.
(write): Likewise.

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

24 years ago * i386.md: Create new [right,left] rotate and right shift
law [Fri, 16 Jun 2000 00:59:02 +0000 (00:59 +0000)]
* i386.md: Create new [right,left] rotate and right shift
patterns to optimize shift by 1 bit for certain ia32 processors.
Update patterns which perform left shifts to optimize shift by
1 bit for certain ia32 processors.
* i386.c (const_int_1_operand): New predicate.
* i386.h (PREDICATE_CODES): Handle const_int_1_operand.
* i386-protos.h (const_int_1_operand): Prototype.

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

24 years ago * tree.c (count_trees): New debugging function.
jason [Thu, 15 Jun 2000 21:24:39 +0000 (21:24 +0000)]
    * tree.c (count_trees): New debugging function.

        * typeck.c (build_x_function_call): Use DECL_FUNCTION_TEMPLATE_P.
        * init.c (build_member_call): Pull out the name of a DECL.

        * Makefile.in (semantics.o, pt.o): Depend on TIMEVAR_H.
        * semantics.c (expand_body): Push to TV_INTEGRATION here.
        * optimize.c (optimize_function): Not here.
        * pt.c (instantiate_decl): Push to TV_PARSE.

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

24 years ago * cp-tree.h (DECL_PENDING_INLINE_P): Relax checking.
mmitchel [Thu, 15 Jun 2000 18:24:04 +0000 (18:24 +0000)]
* cp-tree.h (DECL_PENDING_INLINE_P): Relax checking.

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

24 years ago * jcf-write.c (CHECK_PUT): Add static prototype. Make pointer
ghazi [Thu, 15 Jun 2000 18:08:44 +0000 (18:08 +0000)]
    * jcf-write.c (CHECK_PUT): Add static prototype.  Make pointer
        types the same in comparison.
        (CHECK_OP): Add static prototype.

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

24 years ago * ste.c (gbe_block): Constify.
ghazi [Thu, 15 Jun 2000 18:05:03 +0000 (18:05 +0000)]
    * ste.c (gbe_block): Constify.

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

24 years ago * gcc.dg/20000614-1.c: New test.
jakub [Thu, 15 Jun 2000 15:25:52 +0000 (15:25 +0000)]
* gcc.dg/20000614-1.c: New test.
* gcc.dg/20000614-2.c: New test.

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

24 years ago2000-06-15 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Thu, 15 Jun 2000 12:04:50 +0000 (12:04 +0000)]
2000-06-15  Bryce McKinlay  <bryce@albatross.co.nz>

Fix for PR java.lang/258:
* prims.cc (_Jv_PrimClass): Set state of primitive class to
JV_STATE_DONE, to prevent accidental initialization.
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
_Jv_InterfaceAssignableFrom if target is an interface and source is
an interface or an abstract class. Remove redundant initializeClass
calls. Remove duplicate if_idt test.
(_Jv_InterfaceAssignableFrom): New function.
* java/lang/Class.h (_Jv_InterfaceAssignableFrom): Prototype.

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