OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * objc/objc-act.c (objc_init): Use dump_base_name.
shebs [Wed, 28 Mar 2001 02:49:19 +0000 (02:49 +0000)]
* objc/objc-act.c (objc_init): Use dump_base_name.
        (gen_declaration): Clear the buffer arg.
        (gen_declaration_1): New function, body of gen_declaration.
        (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
        (gen_method_decl): Ditto, plus always clear buffer arg.
        (error_with_ivar): Simplify.
        (warn_with_method): Ditto.
        (build_message_expr): Don't clear buffers.
        (dump_interface): Ditto.
        (objc_debug): Ditto.
        (build_keyword_selector): Clear the buffer by only zeroing
        the first element.
        (objc_implementation_context): Declare.
        (start_class): Warn about missing @end.
        (finish_objc): Ditto.

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

23 years ago* libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
aoliva [Wed, 28 Mar 2001 01:19:42 +0000 (01:19 +0000)]
* libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
CXX tag explicitly.
* src/Makefile.am (CXXLINK): Likewise.
* libsupc++/Makefile.in, src/Makefile.in: Rebuilt.

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

23 years ago* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
aoliva [Wed, 28 Mar 2001 01:18:00 +0000 (01:18 +0000)]
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.

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

23 years ago2001-03-27 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 28 Mar 2001 00:44:39 +0000 (00:44 +0000)]
2001-03-27  Phil Edwards  <pme@sources.redhat.com>

* pt.c (check_default_tmpl_args):  Make error messages clearer.

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

23 years ago2001-03-27 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
bryce [Wed, 28 Mar 2001 00:32:02 +0000 (00:32 +0000)]
2001-03-27  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>

* javax/naming/InitialContext.java (init): Fix typo.
(composeName): Remove unnecessary semicolon.
(addToEnvironment): Remove unnecessary semicolon.
(addToEnvironment): Use put() instead of add().

* javax/naming/InitialContext.java (InitialContext):
Make public.
(destroySubcontext): Method doesn't return a result.
* javax/naming/Context.java: Import java.util.Hashtable.
* javax/naming/Name.java: Import java.util.Enumeration.

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

23 years ago * reload1.c (eliminate_regs): Don't abort on MEM USEs.
amodra [Wed, 28 Mar 2001 00:25:25 +0000 (00:25 +0000)]
* reload1.c (eliminate_regs): Don't abort on MEM USEs.

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

23 years agoFix ia64-linux kernel miscompile, bad unwind info when reorder epilogue block.
wilson [Tue, 27 Mar 2001 23:15:04 +0000 (23:15 +0000)]
Fix ia64-linux kernel miscompile, bad unwind info when reorder epilogue block.
* final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
IA64_UNWIND_EMIT.
* config/ia64/ia64.c (block_num, need_copy_state): New static vars.
(process_epilogue): New static function.
(process_set): Call process_epilogue instead of emitting .restore
directly.
(process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.

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

23 years ago * Makefile.in (SYSTEM_H): Define.
ghazi [Tue, 27 Mar 2001 22:57:35 +0000 (22:57 +0000)]
* Makefile.in (SYSTEM_H): Define.
Depend on $(SYSTEM_H), not system.h.

* objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.

cp:
* Make-lang.in: Depend on $(SYSTEM_H), not system.h.

f:
* Make-lang.in: Depend on $(SYSTEM_H), not system.h.

java:
* Make-lang.in: Depend on $(SYSTEM_H), not system.h.

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

23 years agoFix ia64-linux ICE on bash.
wilson [Tue, 27 Mar 2001 22:48:03 +0000 (22:48 +0000)]
Fix ia64-linux ICE on bash.
* flow.c (struct reg_cond_life_info): New fields orig_condition
and stores.
(init_propagate_block_info): Set new fields.
(mark_regno_cond_dead): Set and use new fields.
(flush_reg_cond_reg_1): Likewise.
(and_reg_cond, case AND): Check for redundant AND conditions.
(mark_used_reg): Delete unnecessary clears before freeing splay trees.
Set new fields.

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

23 years ago * cppmacro.c (stringify_arg): Null terminate strings.
neil [Tue, 27 Mar 2001 21:04:55 +0000 (21:04 +0000)]
* cppmacro.c (stringify_arg): Null terminate strings.

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

23 years ago * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
zack [Tue, 27 Mar 2001 20:09:27 +0000 (20:09 +0000)]
* config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
inclusion style.  xm-m68hc11.h no longer exists.
* config/m68hc11/xm-m68hc11.h: Delete file.
* config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.

* config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
Don't define GCC_VERSION, N_, or PARAMS; don't include
gansidecl.h or stdio.h.  Define inhibit_libc here.
Make code conditioned on #if GCC_VERSION > 2095 unconditional.
Delete code conditioned on #if GCC_VERSION == 2095.

* config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
Make code conditioned on #if GCC_VERSION > 2095 unconditional.
Delete code conditioned on #if GCC_VERSION == 2095.

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

23 years ago2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Mar 2001 19:40:46 +0000 (19:40 +0000)]
2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.

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

23 years agok
bkoz [Tue, 27 Mar 2001 19:17:16 +0000 (19:17 +0000)]
k

2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * libstdc++-v3/tests_flags.in: Change the order of libstdc++
          and libc

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

23 years ago * system.h: Include symcat.h.
ghazi [Tue, 27 Mar 2001 15:31:46 +0000 (15:31 +0000)]
* system.h: Include symcat.h.
(STRINGIFY): Don't define.

* configure.in: Adjust comment.

* builtins.c: Use STRINGX, not STRINGIFY.
* gencheck.c: Likewise.
* gengenrtl.c: Likewise.
* protoize.c: Likewise.

* cpplex.c: Don't include symcat.h.
* cpplib.c: Likewise.

* gansidecl.h (HAVE_STRINGIZE): Don't define.

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

23 years agoDaily bump.
gccadmin [Tue, 27 Mar 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago * c-typeck.c (digest_init): Fold init expression.
amodra [Tue, 27 Mar 2001 06:03:40 +0000 (06:03 +0000)]
* c-typeck.c (digest_init): Fold init expression.

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

23 years ago * dump.c (dump_access): New function.
mmitchel [Tue, 27 Mar 2001 04:52:21 +0000 (04:52 +0000)]
* dump.c (dump_access): New function.
(cp_dump_tree): Use it.  Dump basetype information for class
types.

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

23 years ago2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Mar 2001 03:48:17 +0000 (03:48 +0000)]
2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_file.h (get_fileno): Remove.
(_M_fileno): Remove.
(_M_cfile_created): Add.
(basic_file::basic_file(__c_file_type*, openmode): Add.
(basic_file::basic_file(int, const char*, openmode): Remove.
* include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
const char*, ios_base::openmode): Don't allocate
internal buffers. Turn off internal buffers.
(basic_filebuf::overflow): Remove test for null buffer.
(basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
* include/bits/streambuf.cc: Tweak.
* include/bits/std_ostream.h: Tweak.
* config/basic_file_libio.h: Same.
* config/basic_file_stdio.h: Same.
* src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
* testsuite/27_io/filebuf_members.cc: Tweaks.
* testsuite/27_io/ios_base_members_static.cc: Tweaks.

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

23 years ago * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
ghazi [Tue, 27 Mar 2001 03:37:03 +0000 (03:37 +0000)]
* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.

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

23 years ago* except.c (eh_regs): Save results of build_pointer_type to a temp
amodra [Tue, 27 Mar 2001 03:00:07 +0000 (03:00 +0000)]
* except.c (eh_regs): Save results of build_pointer_type to a temp
as FUNCTION_VALUE macro may evaluate its args multiple times.

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

23 years ago2001-03-27 Jon Beniston <jon@beniston.com>
bryce [Tue, 27 Mar 2001 02:39:16 +0000 (02:39 +0000)]
2001-03-27  Jon Beniston  <jon@beniston.com>

* configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
* configure: Rebuilt.
* Makefile.am: Added X86_WIN32 target support.
* Makefile.in: Rebuilt.

* include/ffi.h.in: Added X86_WIN32 target support.

* src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
* src/types.c: Added X86_WIN32 target support.

* src/x86/win32.S: New file. Based on sysv.S, but with EH
stuff removed and made to work with CygWin's gas.

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

23 years ago * c-common.h (DECL_NUM_STMTS): New macro.
mmitchel [Tue, 27 Mar 2001 02:17:48 +0000 (02:17 +0000)]
* c-common.h (DECL_NUM_STMTS): New macro.
* c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
DECL_FRAME_SIZE.
(pushdecl): Likewise.
* c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
* integrate.c (expand_inline_function): Don't check
DECL_FRAME_SIZE.
* print-tree.c (print_node): Don't print it.
* toplev.c (rest_of_compilation): Don't try to inline when
flag_no_inline is on.
* tree.h (DECL_FRAME_SIZE): Remove.
(tree_decl): Adjust accordingly.

* Makefile.in (optimize.o): Depend on params.h.
(duplicate_decls): Copy DECL_NUM_STMTS, not DECL_FRAME_SIZE.
(init_decl_processing): Set flag_no_inline when doing
inlining-on-trees.
* optimize.c: Include params.h.
(struct inline_data): Improve documentation of FNS.  Add
FIRST_INLINED_FN, INLINED_STMTS, and CLONING_P.
(INSNS_PER_STMT): New macro.
(remap_block): Use CLONING_P.
(inlinable_function_p): Don't inline big functions.
(expand_call_inline): Keep track of how much inlining we've done.
(optimize_function): Set FIRST_INLINED_FN.
(maybe_clone_body): Set CLONING_P.
* semantics.c (simplify_aggr_init_exprs_r): Fix typing problems in
tree nodes.
(genrtl_finish_function): Clear DECL_DEFER_OUTPUT before calling
rest_of_compilation.  Clear DECL_RTL for local variables
afterwards.
(clear_decl_rtl): New function.

* com.c (duplicate_decls): Don't copy DECL_FRAME_SIZE.

* parse.h (DECL_END_SOURCE_LINE): Don't rely on DECL_FRAME_SIZE.

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

23 years ago * Makefile.am (libffi_files): Use 'find' to pick up libffi libtool
bryce [Tue, 27 Mar 2001 00:18:30 +0000 (00:18 +0000)]
* Makefile.am (libffi_files): Use 'find' to pick up libffi libtool
objects in subdirectories.
* Makefile.in: Rebuilt.

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

23 years ago2001-03-26 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 26 Mar 2001 23:41:23 +0000 (23:41 +0000)]
2001-03-26  Phil Edwards  <pme@sources.redhat.com>

* error.c:  Also undefine 'A' macro used for cp_printers definition.

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

23 years ago * configure.in: Make target subdirectory in build dir.
bryce [Mon, 26 Mar 2001 22:52:36 +0000 (22:52 +0000)]
* configure.in: Make target subdirectory in build dir.
* Makefile.am: Override suffix based rules to specify correct output
subdirectory.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

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

23 years ago2001-03-26 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Mon, 26 Mar 2001 22:12:16 +0000 (22:12 +0000)]
2001-03-26  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (find_as_inner_class): Follow current package
indications not to mistakingly load an unrelated class.

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

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

23 years ago * combine.c (try_combine): Use memcpy, not bcopy.
ghazi [Mon, 26 Mar 2001 16:59:23 +0000 (16:59 +0000)]
* combine.c (try_combine): Use memcpy, not bcopy.

* genattrtab.c (expand_units): Likewise.

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

23 years ago * i386.md (push mem DI peep2): New.
hubicka [Mon, 26 Mar 2001 13:56:34 +0000 (13:56 +0000)]
* i386.md (push mem DI peep2): New.
(mov 0, mov -1 peep2): Handle 64bit.
(lea to arithmetics peep2): Handle 64bit leas.
(rsp arithmetics to push/pop peep2s): New.

* i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.

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

23 years ago * i386.c (struct machine_function): Add save_varrargs_registers.
hubicka [Mon, 26 Mar 2001 12:36:35 +0000 (12:36 +0000)]
* i386.c (struct machine_function): Add save_varrargs_registers.
(ix86_save_varrargs_registers): New macro.
(ix86_frame_layout): Support 64bit; support red zones and varrargs area.
(ix86_expand_prologue): Likewise.
(ix86_emit_epilogue_esp_adjustement): Likewise.
(ix86_expand_epilogue): Likewise.
* i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
(pro_epilogue_adjust_stack_1): New insn.
(pro_epilogue_adjust_stack_rex64): Likewise.
* i386.h (MASK_NO_RED_ZONE): New constant.
(TARGET_RED_ZONE): New macro.
(TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
(RED_ZONE_SIZE): New constant.
(RED_ZONE_RESERVE): New constant.

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

23 years agocp:
nathan [Mon, 26 Mar 2001 08:37:27 +0000 (08:37 +0000)]
cp:
Implement DR 209
* cp-tree.h (skip_type_access_control,
reset_type_access_control): Prototype.
* decl.c (grokdeclarator): Access of friends is not checked.
* parse.y (component_decl_list): Reset type access control.
* semantics.c (decl_type_access_control): Clear
current_type_lookups.
(save_type_access_control): Don't save if not deferring.
(skip_type_access_control, reset_type_access_control): New
functions.
(begin_class_definition): Do type access control for basetypes.
Start deferred access control.
(finish_class_definition): Resume immediate access control if
this is a local class.
testsuite:
* g++.old-deja/g++.other/friend12.C: New test.
* g++.old-deja/g++.other/friend9.C: Expect no errors.
* g++.old-deja/g++.robertl/eb56.C: Make typedef public.

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

23 years agoDaily bump.
gccadmin [Mon, 26 Mar 2001 08:16:38 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago * exception.cc (java_eh_info): Make value type jthrowable.
rth [Mon, 26 Mar 2001 07:05:32 +0000 (07:05 +0000)]
* exception.cc (java_eh_info): Make value type jthrowable.
(_Jv_type_matcher): Remove now unneeded cast.
(_Jv_Throw): Make argument type jthrowable.  Munge name
for SJLJ_EXCEPTIONS here ...
* gcj/cni.h: ... not here.
(JvThrow): Remove.
* gcj/javaprims.h (_Jv_Throw, _Jv_Sjlj_Throw): Update declarations.

* defineclass.cc, interpret.cc, jni.cc, posix-threads.cc,
prims.cc, resolve.cc, gnu/gcj/runtime/natFirstThread.cc,
gnu/gcj/xlib/natDrawable.cc, gnu/gcj/xlib/natFont.cc,
gnu/gcj/xlib/natWMSizeHints.cc, gnu/gcj/xlib/natWindowAttributes.cc,
gnu/gcj/xlib/natXImage.cc, java/io/natFile.cc,
java/io/natFileDescriptorEcos.cc, java/io/natFileDescriptorPosix.cc,
java/io/natFileDescriptorWin32.cc, java/io/natFileWin32.cc,
java/lang/natClass.cc, java/lang/natClassLoader.cc,
java/lang/natDouble.cc, java/lang/natObject.cc,
java/lang/natPosixProcess.cc, java/lang/natRuntime.cc,
java/lang/natString.cc, java/lang/natSystem.cc,
java/lang/natThread.cc, java/lang/reflect/natArray.cc,
java/lang/reflect/natConstructor.cc, java/lang/reflect/natField.cc,
java/lang/reflect/natMethod.cc, java/util/zip/natDeflater.cc,
java/util/zip/natInflater.cc:
Use throw, not JvThrow or _Jv_Throw.

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

23 years ago * toplev.c (set_float_handler): Use memcpy, not bcopy.
ghazi [Mon, 26 Mar 2001 02:36:39 +0000 (02:36 +0000)]
* toplev.c (set_float_handler): Use memcpy, not bcopy.

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

23 years ago * constants.c (PUTN): Use memcpy, not bcopy.
ghazi [Mon, 26 Mar 2001 02:26:09 +0000 (02:26 +0000)]
* constants.c (PUTN): Use memcpy, not bcopy.

* lex.c (java_read_char): Use memmove, not bcopy.

* parse.y (java_parser_context_resume): Use memcpy, not bcopy.

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

23 years ago * class.c (add_method): Use memcpy/memmove, not bcopy.
ghazi [Mon, 26 Mar 2001 01:48:51 +0000 (01:48 +0000)]
* class.c (add_method): Use memcpy/memmove, not bcopy.

* decl.c (duplicate_decls): Likewise.

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

23 years ago * gcc.c-torture/execute/20010325-1.c: New test.
jsm28 [Sun, 25 Mar 2001 19:27:29 +0000 (19:27 +0000)]
* gcc.c-torture/execute/20010325-1.c: New test.

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

23 years ago2001-03-25 Kazu Hirata <kazu@hxi.com>
kazu [Sun, 25 Mar 2001 15:15:42 +0000 (15:15 +0000)]
2001-03-25  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.md (umodqi3): Output a tab instead of a
space.
(modqi3): Likewise.
(umodhi3): Likewise.
(modhi3): Likewise.

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

23 years ago * mkconfig.sh (DEFINES): Handle entries with '='.
ghazi [Sun, 25 Mar 2001 13:23:30 +0000 (13:23 +0000)]
* mkconfig.sh (DEFINES): Handle entries with '='.

* config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
Set xm_defines to MACRO=value instead.

* i370/xm-mvs.h: Delete.

* ns32k/xm-pc532-min.h: Likewise.

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

23 years ago * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
hubicka [Sun, 25 Mar 2001 13:03:31 +0000 (13:03 +0000)]
* i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
shiftdi_operand;
use ix86_expand_binary_operator
(?sh??i_?): Disable for 64bit.
* i386.h (PREDICATE_CODES): Add shiftdi_operand.
* i386.c (shiftdi_operand): New predicate.

* (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
(rotldi3, rotrdi3): New expanders.

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

23 years ago * i386.md (movstrsi): Move offline.
hubicka [Sun, 25 Mar 2001 12:26:42 +0000 (12:26 +0000)]
* i386.md (movstrsi): Move offline.
(movstrdi): New.
(strmovdi_rex64): New.
(strmov?i): Accept 64bit.
(strmov?i_rex64): New.
(strmov?i_rex_1): New.
(strmov?i_1): Disable for 64bit.
(rep_mov?i_rex64): New.
(rep_mov?i): Disable for 64bit.
(clrstrsi): Move offline.
(strset?i_rex64): New.
(strset?i: Accept 64bit.
(rep_stos?i): Disable for 64bit.
(rep_stos?i_rex64): New.
(strset?i_rex_1): New.
(strset?i_1): Disable for 64bit.
(cmpstrsi): Accept 64bit.
(cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
(cmpstrqi_nz_rex_1): New.
(cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
(strlensi): Move offline.
(strlendi): New.
(strlenqi_1): Disable for 64bit; fix constraints.
(strlenqi_rex_1): New.
* i386.c (ix86_adjust_counter): New static function.
(ix86_zero_extend_to_Pmode): Likewise.
(ix86_expand_aligntest): Likweise.
(ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
(ix86_expand_movstr): New global function.
(ix86_expand_clrstr): New global function.
(ix86_expand_strlen): New global function.
* i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
ix86_expand_strlen): Declare.
(ix86_expand_strlensi_unroll_1): Delete.

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

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

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

23 years ago2001-03-24 Phil Edwards <pme@sources.redhat.com>
pme [Sun, 25 Mar 2001 02:28:07 +0000 (02:28 +0000)]
2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* Makefile.am:  New targets, doxygen and doxygen-maint.
* Makefile.in:  Regenerated.
* docs/doxygen/run_doxygen:  Finally implemented.
* docs/doxygen/maint.cfg.in:  New file.
* docs/doxygen/user.cfg.in:  New file.

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

23 years ago2001-03-24 Phil Edwards <pme@sources.redhat.com>
pme [Sun, 25 Mar 2001 00:16:58 +0000 (00:16 +0000)]
2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
* src/Makefile.am:  Replace leading spaces with tabs on continuation
lines.
* aclocal.m4:  Regenerated.
* configure:  Ditto.
* Makefile.in:  Ditto.
* src/Makefile.in:  Ditto.
* libio/Makefile.in:  Ditto.
* libmath/Makefile.in:  Ditto.
* libsupc++/Makefile.in:  Ditto.

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

23 years ago2001-03-24 Phil Edwards <pme@sources.redhat.com>
pme [Sun, 25 Mar 2001 00:01:57 +0000 (00:01 +0000)]
2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
concept-checking code and current status of same.
* docs/html/ext/howto.html:  Ditto.
* docs/html/faq/index.html:  Ditto.
* docs/html/faq/index.txt:  Regenerated.

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

23 years ago2001-03-24 Phil Edwards <pme@sources.redhat.com>
pme [Sat, 24 Mar 2001 23:46:38 +0000 (23:46 +0000)]
2001-03-24  Phil Edwards  <pme@sources.redhat.com>

* include/bits/std_bitset.h:  Include ostream and istream headers
instead of iostream.

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

23 years ago * i386.md (cmpdi): Fix operand predicates.
hubicka [Sat, 24 Mar 2001 22:18:11 +0000 (22:18 +0000)]
* i386.md (cmpdi): Fix operand predicates.
(cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
 cmpdi_1_insn_rex64): New patterns.
(adddi3): Turn to expander.
(adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
(addsi3_carry_zext): New pattern.
(adddi_?_rex64): New patterns and splitters.
(addsi_?_zext): New patterns.
(subsi3_carry_zext): New pattern.
(subdi_?_rex64): New patterns and splitters.
(iorsi_?_zext): New patterns.
(iordi_?_rex64): New patterns and splitters.
(iorsi_?_zext): New patterns.
(iorsi_?_zext_imm): New patterns.
(xorsi_?_zext): New patterns.
(xordi_?_rex64): New patterns and splitters.
(xorsi_?_zext): New patterns.
(negdi*): New patterns.
(one_cmpldi*): Likewise.
(one_cmplsi*_zext, negsi*_zext): Likewise.
(testqi_ext_3_rex64): New pattern.

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

23 years ago * i386-protos.h (ix86_split_long_move): Return void.
hubicka [Sat, 24 Mar 2001 20:15:09 +0000 (20:15 +0000)]
* i386-protos.h (ix86_split_long_move): Return void.
* i386.c (ix86_split_to_parts): Handle 64bit target.
(ix86_split_long_move): Likewise.
* i386.md (all calls to ix86_split_long_move): Update.

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

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

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

23 years ago2001-03-24 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Sat, 24 Mar 2001 08:05:29 +0000 (08:05 +0000)]
2001-03-24  Bryce McKinlay  <bryce@albatross.co.nz>

* java/util/HashMap.java (HashMap): If 0 is given for initialCapacity
paramater, bump it to 1.
* java/util/Hashtable.java (Hashtable): Likewise.

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

23 years agoLeft out while checking in java/lang/natDouble.cc (parseDouble) change.
bothner [Sat, 24 Mar 2001 04:00:30 +0000 (04:00 +0000)]
Left out while checking in java/lang/natDouble.cc (parseDouble) change.

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

23 years agoFixed ChangeLog header
tromey [Sat, 24 Mar 2001 03:36:08 +0000 (03:36 +0000)]
Fixed ChangeLog header

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

23 years ago * src/powerpc/ppc_closure.S: New file.
tromey [Sat, 24 Mar 2001 03:26:28 +0000 (03:26 +0000)]
* src/powerpc/ppc_closure.S: New file.
* src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
involving long long and register pairs.
(ffi_prep_closure): New function.
(flush_icache): Likewise.
(ffi_closure_helper_SYSV): Likewise.
* include/ffi.h.in (FFI_CLOSURES): Define on PPC.
(FFI_TRAMPOLINE_SIZE): Likewise.
(FFI_NATIVE_RAW_API): Likewise.
* Makefile.in: Rebuilt.
* Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S.
(TARGET_SRC_POWERPC): Likewise.

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

23 years ago * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
rth [Sat, 24 Mar 2001 01:20:50 +0000 (01:20 +0000)]
    * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
        to avoid shadowing arguments.

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

23 years agoe
bothner [Sat, 24 Mar 2001 01:13:30 +0000 (01:13 +0000)]
e
* verify.c (verify_jvm_instructions):  Replace 3 pop_type by POP_TYPE
macro for better error pin-pointing.
* java-tree.h:  Fix typo in comment.

* jcf-write.c (generate_bytecode_insns):  Changes to TRY_FINALLY_EXPR.
Don't include jsr/goto in exception range.
Check if start and end of exception range are the same (also TRY_EXPR).
Don't emit jsr after try_block if CAN_COMPLETE_NORMALLY is false.
However, do emit the following goto even if try_block is empty.
Defer freeing exception_decl until after the finalizer, to make
sure the local isn't reused in the finalizer.  Fixes PR java/1208.

* parse.y (java_complete_lhs):  If the try-clause is empty, just
return the finally-clause and vice versa.

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

23 years ago * java/lang/natDouble.cc (parseDouble): Cannot use errno to
bothner [Sat, 24 Mar 2001 00:59:57 +0000 (00:59 +0000)]
* java/lang/natDouble.cc (parseDouble):  Cannot use errno to
check for errors, since we don't want to throw exception on
overflow/underflow.  Instead, trim whitespace, and then check that
_strtod_r uses up all the rest of the string.

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

23 years ago * java/lang/natClass.cc (_Jv_IsAssignableFrom): Checking the
bothner [Sat, 24 Mar 2001 00:21:24 +0000 (00:21 +0000)]
* java/lang/natClass.cc (_Jv_IsAssignableFrom):  Checking the
ancestors array is invalid for interfaces, so do that *after*
check that the target type is not an interface.

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

23 years ago* Makefile.in (DO_X): Do not backslash single-quotes in
dj [Fri, 23 Mar 2001 23:59:17 +0000 (23:59 +0000)]
* Makefile.in (DO_X): Do not backslash single-quotes in
backquotes (two places).

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

23 years ago * mangle.c (write_discriminator): Use `_0' for discriminator 1,
jakub [Fri, 23 Mar 2001 22:12:55 +0000 (22:12 +0000)]
* mangle.c (write_discriminator): Use `_0' for discriminator 1,
not `_'.

* cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
`_' not followed by a digit is invalid.

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

23 years ago * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
jakub [Fri, 23 Mar 2001 22:00:40 +0000 (22:00 +0000)]
* varasm.c (make_decl_rtl): Don't append var_labelno discriminator
to variable names where DECL_NAME is different from
DECL_ASSEMBLER_NAME.

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

23 years ago2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
bkoz [Fri, 23 Mar 2001 20:29:14 +0000 (20:29 +0000)]
2001-03-22  Greg Bumgardner <bumgard@roguewave.com>

* include/bits/ostream.tcc: Use __builtin_alloca.

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

23 years ago2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 23 Mar 2001 20:02:03 +0000 (20:02 +0000)]
2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>

* src/misc-inst.cc (__sink_unused_warning): Move to...
* src/locale-inst.cc (__sink_unused_warning): Move to...
* src/stl-inst.cc: Here.
* include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
commented it out.

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

23 years agoRe-add missing debug info for weak aliases.
wilson [Fri, 23 Mar 2001 19:47:57 +0000 (19:47 +0000)]
Re-add missing debug info for weak aliases.
* varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
(assemble_alias): Call make_decl_rtl.

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

23 years ago2001-03-22 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Fri, 23 Mar 2001 19:42:25 +0000 (19:42 +0000)]
2001-03-22  Alexandre Petit-Bianco  <apbianco@redhat.com>

* gcj.texi (Input Options): documented the check for attribute
`gnu.gcc.gccj-compiled' and the `-fforce-classes-archive-check' flag.
* java-tree.h (flag_force_classes_archive_check): Declared extern.
* jcf-parse.c (HANDLE_GCJCOMPILED_ATTRIBUTE): New macro.
(jcf_parse): Check for the right classes archive if necessary.
* jcf-reader.c (get_attribute): Define `MATCH_ATTRIBUTE' and use it.
(jcf_parse_fields): Fixed indentation.
* jcf-write.c (append_gcj_attribute): New function.
(generate_classfile): Compute the attribute count, invoke
`append_gcj_attribute'.
* jcf.h (typedef struct JCF): `seen_in_zip' and `java_source'
turned into bit fields. New bit field `right_zip.'
(JCF_ZERO): Set `right_zip' to zero.
* lang-options.h (-fforce-classes-archive-check): Added flag.
* lang.c (flag_force_classes_archive_check): New flag.
(lang_f_options): New entry `force-classes-archive-check.'
Fixes PR java/1213.

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

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

23 years ago2000-03-23 Jeff Sturm <jsturm@one-point.com>
tromey [Fri, 23 Mar 2001 19:17:22 +0000 (19:17 +0000)]
2000-03-23  Jeff Sturm  <jsturm@one-point.com>

* prims.cc (_Jv_FindClassFromSignature): Check return of
recursive call.  Do not abort on invalid signature; return NULL
instead.

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

23 years ago * jni.cc (_Jv_JNI_GetAnyFieldID): Handle unresolved fields.
tromey [Fri, 23 Mar 2001 19:15:44 +0000 (19:15 +0000)]
* jni.cc (_Jv_JNI_GetAnyFieldID): Handle unresolved fields.
* java/lang/reflect/natField.cc (getType): Use _Jv_ResolveField
unconditionally.
* include/jvm.h (_Jv_ResolveField): Declare.
* include/java-interp.h (_Jv_ResolveField): Don't declare.
* resolve.cc (_Jv_ResolveField): No longer conditional on
INTERPRETER.

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

23 years ago* Makefile.in (DO_X): Do not backslash single-quotes in backquotes.
dj [Fri, 23 Mar 2001 18:21:28 +0000 (18:21 +0000)]
* Makefile.in (DO_X): Do not backslash single-quotes in backquotes.

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

23 years ago2001-02-07 Andrew Haley <aph@redhat.com>
aph [Fri, 23 Mar 2001 17:31:42 +0000 (17:31 +0000)]
2001-02-07  Andrew Haley  <aph@redhat.com>

* gcj.texi (Configure-time Options): Add -fcheck-references.
* expr.c (build_java_indirect_ref): New function.
(java_check_reference): New function.
(build_java_array_length_access): Use build_java_indirect_ref to
check for null references.
(build_java_arrayaccess): Likewise.
(build_get_class): Likewise.
(build_field_ref): Likewise.
(invoke_build_dtable): Likewise.
(build_invokeinterface): Likewise.
* lang.c (lang_f_options): Add flag_check_references.
* jvspec.c (jvgenmain_spec): Add flag_check_references.
* java-tree.h (flag_check_references): New variable.
* lang.c (flag_check_references): Likewise.
* parse.y (patch_invoke): Use java_check_reference.
(patch_assignment): Allow for extra nesting in
_Jv_CheckArrayStore.

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

23 years ago * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
amylaar [Fri, 23 Mar 2001 16:59:56 +0000 (16:59 +0000)]
* stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.

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

23 years ago2001-02-07 Andrew Haley <aph@redhat.com>
aph [Fri, 23 Mar 2001 14:16:33 +0000 (14:16 +0000)]
2001-02-07  Andrew Haley  <aph@redhat.com>

        * gcj.texi (Configure-time Options): Add -fcheck-references.
        * expr.c (build_java_indirect_ref): New function.
        (build_java_array_length_access): Use build_java_indirect_ref to
        check for null references.
        (build_java_arrayaccess): Likewise.
        (build_get_class): Likewise.
        (build_field_ref): Likewise.
        (invoke_build_dtable): Likewise.
        (build_invokeinterface): Likewise.
        * lang.c (lang_f_options): Add flag_check_references.
        * jvspec.c (jvgenmain_spec): Add flag_check_references.
        * java-tree.h (flag_check_references): New variable.
        * lang.c (flag_check_references): Likewise.

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

23 years ago * decl.c (local_names): Define.
jakub [Fri, 23 Mar 2001 12:04:11 +0000 (12:04 +0000)]
* decl.c (local_names): Define.
(push_local_name): New.
(grok_reference_init): Return init if initializing static reference
variable with non-constant instead of emitting it.
Move expand_static_init call to cp_finish_decl.
(layout_var_decl): Call push_local_name.
(maybe_commonize_var): Allow inlining functions even if they have
static local variables, use comdat_linkage for them if flag_weak.
(check_initializer): Call obscure_complex_init if
grok_reference_init returned non-zero.
(save_function_data): Clear x_local_names.
(pop_cp_function_context): Free x_local_names.
(mark_inlined_fns): Remove.
(mark_lang_function): Mark x_local_names.
(lang_mark_tree): Don't mark DECL_ACCESS for DECL_DISCRIMINATOR_P.
Mark inlined_fns as tree, remove call to mark_inlined_fns.
* class.c (alter_access): Ensure DECL_ACCESS is never set if
DECL_DISCRIMINATOR_P.
* cp-tree.h (cp_language_function): Add x_local_names.
(lang_decl_flags): Add discriminator into u2.
(lang_decl_inlined_fns): Remove.
(lang_decl): inlined_fns is now a TREE_VEC.
(DECL_DISCRIMINATOR_P, DECL_DISCRIMINATOR): Define.
* optimize.c (inlinable_function_p): DECL_INLINED_FNS is now a
TREE_VEC, not a custom structure.
(optimize_function): Likewise.
* mangle.c (discriminator_for_local_entity): Discriminate among
VAR_DECL local entities.
* search.c (dfs_access_in_type): If DECL_DISCRIMINATOR_P, DECL_ACCESS
is not valid.

* g++.old-deja/g++.other/mangle3.C: New test.

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

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

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

23 years ago * libjava.jni/field.out: New file.
tromey [Fri, 23 Mar 2001 05:57:00 +0000 (05:57 +0000)]
* libjava.jni/field.out: New file.
* libjava.jni/field.c: New file.
* libjava.jni/field.java: New file.

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

23 years ago Fix for PR libgcj/1736. Thanks to Robert Boehne and Alexandre Oliva
bryce [Fri, 23 Mar 2001 05:18:16 +0000 (05:18 +0000)]
Fix for PR libgcj/1736. Thanks to Robert Boehne and Alexandre Oliva
for libtool hacking.
* Makefile.am (libgcj.la): New explicit rule. Echo the list of objects
to a temporary file, then invoke libtool with the -objectlist
paramater.
(libgcjx.la): Likewise.
* Makefile.in: Rebuilt.

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

23 years ago * gjavah.c (cxx_keywords): Update from the definitive list in cp/lex.c.
bryce [Fri, 23 Mar 2001 05:16:13 +0000 (05:16 +0000)]
* gjavah.c (cxx_keywords): Update from the definitive list in cp/lex.c.
* lex.c (cxx_keywords): Likewise.

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

23 years ago2001-03-22 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
bryce [Fri, 23 Mar 2001 02:35:39 +0000 (02:35 +0000)]
2001-03-22  Joerg Brunsmann <joerg_brunsmann@yahoo.de>

* javax/naming/Context.java (SECURITY_CREDENTIALS): Fix typo.

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

23 years ago2001-03-23 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Fri, 23 Mar 2001 01:49:11 +0000 (01:49 +0000)]
2001-03-23  Bryce McKinlay  <bryce@albatross.co.nz>

* extend.texi: Document the "java_interface" attribute.

java/:
2001-03-21  Bryce McKinlay  <bryce@albatross.co.nz>

* gjavah.c (process_file): Mark interface definitions with
"__attribute__ ((java_interface))".

cp/:
2001-03-22  Bryce McKinlay  <bryce@albatross.co.nz>

Add support for Java interface method calls.
* cp-tree.h (struct lang_type): Add java_interface flag.
(TYPE_JAVA_INTERFACE): New macro.
* tree.c (cp_valid_lang_attribute): Handle "java_interface" attribute
by setting TYPE_JAVA_INTERFACE.
* call.c (java_iface_lookup_fn): New static.
(build_over_call): If calling a method declared in a
TYPE_JAVA_INTERFACE, call build_java_interface_fn_ref to generate the
expression which resolves the function address.
(build_java_interface_fn_ref): New function.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Fri, 23 Mar 2001 01:26:33 +0000 (01:26 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (ffitest_LDFLAGS): New macro.

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

23 years ago * mkconfig.sh: Use a subshell with redirected stdout,
zack [Fri, 23 Mar 2001 01:16:22 +0000 (01:16 +0000)]
* mkconfig.sh: Use a subshell with redirected stdout,
instead of closing stdout and confusing commands that run
afterward.  Throw away output of cmp.

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

23 years ago* Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
dj [Thu, 22 Mar 2001 21:48:15 +0000 (21:48 +0000)]
* Makefile.in (stage1_build): Pass CFLAGS to stage1_build.

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

23 years ago * i386.md (zero_extendsidi2_32): Break out from ...
hubicka [Thu, 22 Mar 2001 21:17:42 +0000 (21:17 +0000)]
* i386.md (zero_extendsidi2_32): Break out from ...
(zero_extendsidi2): ... here ; turn to expander.
(zero_extendsidi2_rex64): New.
(extendsidi2_32): Break out from ...
(extendsidi2): ... here ; turn to expander.
(extendsidi2_rex64): New.
(zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
(trunc?f?f splitters): Add 64bit versions.

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

23 years ago * i386.md (pushsi, pushsi2_prologue): Disable.
hubicka [Thu, 22 Mar 2001 20:43:26 +0000 (20:43 +0000)]
* i386.md (pushsi, pushsi2_prologue): Disable.
(pushsi2_rex64): New.
(movabs?i_1_rex64, movabs?i_2_rex64): New.
(movqi_ext_1): Disable for 64bit.
(movqi_ext_1_rex64): New.
(pushdi2_rex64): New pattern, peep2s and splitter.
(pushdi2_prologue_rex64): New pattern.
(popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
Likewise.
(movdi splitters): Disable for 64bit.
(movdi_1_rex64): New pattern, peep2s and splitters.
(swapdi): New pattern.
(pushsf): Disable for 64bit.
(pushsf_rex64): New pattern and splitter.
(pushdf_nointeger): Disable for 64bit.
(pushdf_integer): Handle the 64bit case.
(pushtf): Likewise; update splitters.

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

23 years ago * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
tromey [Thu, 22 Mar 2001 19:03:01 +0000 (19:03 +0000)]
* Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.

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

23 years ago * mkconfig.sh: Include insn-flags.h.
rth [Thu, 22 Mar 2001 18:48:52 +0000 (18:48 +0000)]
* mkconfig.sh: Include insn-flags.h.
* Makefile.in (CONFIG_H): Include insn-flags.h.
(lots of objects): Remove insn-codes.h and insn-flags.h.

* alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
v850/v850.c, vax/vax.c:
Don't include insn-flags.h.

* diagnostic.c, expr.h, reload.c, toplev.c:
Don't include insn-codes.h.

* builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
c4x/c4x.c, i960/i960.c, mips/mips.c:
Don't include insn-codes.h or insn-flags.h.

* genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
or insn-flags.h in the generated code.
* genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
(main): Forward declare struct rtx_def.

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

23 years ago * Make-lang.in (cp/except.o): Don't depend on insn-flags.h.
rth [Thu, 22 Mar 2001 18:47:21 +0000 (18:47 +0000)]
    * Make-lang.in (cp/except.o): Don't depend on insn-flags.h.
        * except.c: Don't include it.

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

23 years ago * parse.y (bad_decl, template_arg_list_ignore, arg_list_ignore):
gerald [Thu, 22 Mar 2001 18:44:21 +0000 (18:44 +0000)]
* parse.y (bad_decl, template_arg_list_ignore, arg_list_ignore):
New nonterminals.
(data_def, component_decl): Add reductions to bad_decl.

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

23 years agoRe-installed:
aoliva [Thu, 22 Mar 2001 18:13:39 +0000 (18:13 +0000)]
Re-installed:
2001-01-02  Laurynas Biveinis  <lauras@softhome.net>
* ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP.  Do not add
'-DPIC' to ac_cv_prog_cc_pic for DJGPP.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

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

23 years ago2001-03-22 Marcus G. Daniels <mgd@swarm.org>
tromey [Thu, 22 Mar 2001 17:47:15 +0000 (17:47 +0000)]
2001-03-22  Marcus G. Daniels  <mgd@swarm.org>

* jni.cc (add_char): Handle `.' like `/'.

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

23 years ago * method.c (do_build_assign_ref): Don't use build_modify_expr for
jakub [Thu, 22 Mar 2001 17:00:28 +0000 (17:00 +0000)]
* method.c (do_build_assign_ref): Don't use build_modify_expr for
anonymous aggregates, since they don't have assignment operator
method.
* decl.c (fixup_anonymous_aggr): Disallow ctors, dtors and copy
assignment operators for anonymous structure fields.

* g++.old-deja/g++.other/anon8.C: New test.

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

23 years ago* cp-demangle.c (string_list_delete): Don't forget to free the
jimb [Thu, 22 Mar 2001 15:15:18 +0000 (15:15 +0000)]
* cp-demangle.c (string_list_delete): Don't forget to free the
actual contents of the string.

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

23 years ago * MAINTAINERS: Add myself as "documentation co-maintainer".
gerald [Thu, 22 Mar 2001 14:27:11 +0000 (14:27 +0000)]
* MAINTAINERS: Add myself as "documentation co-maintainer".

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

23 years ago * invoke.texi (-ffast-math): Remove duplicate line about
jsm28 [Thu, 22 Mar 2001 12:01:34 +0000 (12:01 +0000)]
* invoke.texi (-ffast-math): Remove duplicate line about
__FAST_MATH__.

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

23 years ago * gcc.texi: Remove more obsolete documentation of bugs and
jsm28 [Thu, 22 Mar 2001 11:54:08 +0000 (11:54 +0000)]
* gcc.texi: Remove more obsolete documentation of bugs and
installation problems.

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

23 years agonew
jason [Thu, 22 Mar 2001 09:30:16 +0000 (09:30 +0000)]
new

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

23 years agoDaily bump.
gccadmin [Thu, 22 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
aoliva [Thu, 22 Mar 2001 06:48:32 +0000 (06:48 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.198.

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

23 years ago * java/lang/reflect/Method.java (getExceptionTypes): Call getType() to
bryce [Thu, 22 Mar 2001 06:37:16 +0000 (06:37 +0000)]
* java/lang/reflect/Method.java (getExceptionTypes): Call getType() to
initialize if exception_types is null.
* java/lang/reflect/Constructor.java: Likewise.
* java/lang/reflect/natConstructor.cc (getType): Initialize
exception_types to an empty Object array.

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

23 years ago2001-03-21 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 22 Mar 2001 03:03:26 +0000 (03:03 +0000)]
2001-03-21  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
into two parts.

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

23 years ago * pt.c (instantiate_decl): Abort if we see a member constant
jason [Thu, 22 Mar 2001 00:55:13 +0000 (00:55 +0000)]
    * pt.c (instantiate_decl): Abort if we see a member constant
        instantiation that doesn't already have its initializer.
        Downgrade explicit instantiation without definition to pedwarn.

        * cp-tree.h (DECL_TINFO_FN_P, SET_DECL_TINFO_FN_P): Remove.
        * class.c (build_vtable_entry): Don't check DECL_TINFO_FN_P.
        (import_export_decl): Check tinfo_decl_p, not DECL_TINFO_FN_P.

        * cp-tree.h (CLASSTYPE_VTABLE_NEEDS_WRITING): Remove.
        (pending_vtables): Remove.
        * decl2.c (pending_vtables): Remove.
        (import_export_vtable): Use CLASSTYPE_INTERFACE_ONLY, not
        CLASSTYPE_VTABLE_NEEDS_WRITING.
        (import_export_class): Likewise.
        (init_decl2): Don't mark pending_vtables.
        * lex.c (handle_pragma_vtable): Just sorry.
        * pt.c (instantiate_class_template): Don't mess with
        CLASSTYPE_VTABLE_NEEDS_WRITING.
        (mark_class_instantiated): Likewise.
        * ptree.c (print_lang_type): Don't print it.
        * semantics.c (begin_class_definition): Don't set it.

        * pt.c (template_tail): Replace with last_pending_template.
        (maybe_templates, maybe_template_tail): Remove.
        (add_pending_template): Adjust.
        (instantiate_pending_templates): Adjust.

        * cp-tree.h (struct saved_scope): Remove lang_stack field.
        (current_lang_stack): Remove.
        * decl.c (maybe_push_to_top_level): Don't initialize it.
        (duplicate_decls): Use current_lang_depth.
        (xref_basetypes): Likewise.
        * class.c (current_lang_depth): New fn.
        (push_lang_context): Use more varray functionality.
        (pop_lang_context): Likewise.

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

23 years ago * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
jason [Thu, 22 Mar 2001 00:53:50 +0000 (00:53 +0000)]
    * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
        not '.' or '$'.
        * tree.c (FILE_FUNCTION_FORMAT): Likewise.
        * varasm.c (CHKR_PREFIX): Likewise.

        * error.c (GLOBAL_THING): Always use '__'.

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

23 years ago * gcse.c (hash_scan_set): An expression is not anticipatible if it
kenner [Thu, 22 Mar 2001 00:21:16 +0000 (00:21 +0000)]
* gcse.c (hash_scan_set): An expression is not anticipatible if it
is part of a multi-SET insn.

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