platform/upstream/linaro-gcc.git
24 years ago * jni.cc (_Jv_JNI_GetField): Specialize for jobject.
tromey [Tue, 1 Feb 2000 16:32:21 +0000 (16:32 +0000)]
* jni.cc (_Jv_JNI_GetField): Specialize for jobject.
(_Jv_JNI_GetStaticField): Likewise.

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

24 years ago(SUBTARGET_ASM_SPEC) : Default ISA based on ABI.
gavin [Tue, 1 Feb 2000 15:53:52 +0000 (15:53 +0000)]
(SUBTARGET_ASM_SPEC) : Default ISA based on ABI.

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

24 years ago * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
hp [Tue, 1 Feb 2000 11:00:43 +0000 (11:00 +0000)]
* dwarfout.c (SHORT_TYPE_SIZE): Correct default.

* tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.

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

24 years ago * config.sub: Add mmix-knuth-mmixware.
hp [Tue, 1 Feb 2000 10:45:12 +0000 (10:45 +0000)]
* config.sub: Add mmix-knuth-mmixware.

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

24 years agoDaily bump.
law [Tue, 1 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * prims.cc (_Jv_MallocUnchecked): New function.
tromey [Tue, 1 Feb 2000 06:14:26 +0000 (06:14 +0000)]
* prims.cc (_Jv_MallocUnchecked): New function.
(main_init): Call _Jv_JNI_Init.
* include/jvm.h (_Jv_MallocUnchecked): Declare.
(_Jv_JNI_Init): Declare.
* jni.cc: Include Hashtable.h, OutOfMemoryError.h, Integer.h,
<string.h>.
(_Jv_JNI_NewGlobalRef): New function.
(_Jv_JNI_DeleteGlobalRef): New function.
(_Jv_JNI_DeleteLocalRef): New function.
(_Jv_JNI_conversion_call): Initialize and clear local reference
frame.
(_Jv_JNI_NewLocalRef): New function.
(struct _Jv_JNI_LocalFrame): New structure.
(_Jv_JNI_PushLocalFrame): New function.
(_Jv_JNI_EnsureLocalCapacity): New function.
(FRAME_SIZE): New define.
(_Jv_JNI_GetStringChars): Mark string, not characters.
(_Jv_JNI_ReleaseStringChars): Unmark string, not characters.
(_Jv_JNI_GetPrimitiveArrayElements): Mark array, not elements.
(_Jv_JNI_ReleasePrimitiveArrayElements): Unmark array, not
elements.
(_Jv_JNI_DefineClass): Make return value a local ref.
(_Jv_JNI_FindClass): Likewise.
(_Jv_JNI_GetSuperclass): Likewise.
(_Jv_JNI_ExceptionOccurred): Likewise.
(_Jv_JNI_AllocObject): Likewise.
(_Jv_JNI_GetObjectClass): Likewise.
(_Jv_JNI_CallAnyMethodV): Likewise.
(_Jv_JNI_NewString): Likewise.
(_Jv_JNI_NewStringUTF): Likewise.
(_Jv_JNI_NewObjectArray): Likewise.
(_Jv_JNI_GetObjectArrayElement): Likewise.
(_Jv_JNI_ToReflectedField): Likewise.
(_Jv_JNI_ToReflectedMethod): Likewise.
(_Jv_JNIFunctions): Updated table for new functions.
(_Jv_JNI_Init): New function.
(mark_for_gc): Wrote.
(unmark_for_gc): Wrote.
* include/jni.h (struct JNINativeInterface): Removed name from
PopLocalFrame parameter.
(class _Jv_JNIEnv): Added `locals' field.

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

24 years agoFix gdb testsuite regressions.
wilson [Tue, 1 Feb 2000 02:17:06 +0000 (02:17 +0000)]
Fix gdb testsuite regressions.
* class.c (build_vtbl_or_vbase_field): New parameter fcontext.
Store it in DECL_FCONTEXT.
(build_vbase_pointer_fields, create_vtable_ptr): Fix callers.

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

24 years ago * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
cchavva [Mon, 31 Jan 2000 22:23:43 +0000 (22:23 +0000)]
* combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
case 3->2 combining (combining with splitting) in which 2 is CC0
setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
checked at the begining of the function with the aid of calling
function 'can_combine_p'.

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

24 years ago2000-01-31 Dave Brolley <brolley@redhat.com>
brolley [Mon, 31 Jan 2000 21:58:10 +0000 (21:58 +0000)]
2000-01-31  Dave Brolley  <brolley@redhat.com>

* cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.

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

24 years ago * tinfo.h (old abi): #include "tconfig.h".
jason [Mon, 31 Jan 2000 21:27:42 +0000 (21:27 +0000)]
    * tinfo.h (old abi): #include "tconfig.h".
        * tinfo.cc (convert_to_base): Move into old abi section.

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

24 years ago * cp-tree.h (BINFO_VIRTUALS): Tweak documentation.
mmitchel [Mon, 31 Jan 2000 21:00:01 +0000 (21:00 +0000)]
* cp-tree.h (BINFO_VIRTUALS): Tweak documentation.
(CLASSTYPE_PRIMARY_BINFO): Use BINFO_PRIMARY_BINFO.
(BINFO_PRIMARY_BINFO): New macro.
(BF_DELTA): Rename to ...
(BV_DELTA): ... this.
(BF_VCALL_INDEX): Rename to ...
(BV_VCALL_INDEX): ... this.
(BF_FN): Rename to ...
(BV_FN): ... this.
* class.c (build_vbase_path): Adjust for changes to reverse_path.
(set_rtti_entry): Rename BF_ macros to BV_ variants.
(modify_vtable_entry): Simplify.
(add_virtual_function): Rename BF_ macros to BV_ variants.
(build_vtable_initializer): Likewise.
(get_class_offset_1): Remove.
(dfs_get_class_offset): Likewise.
(get_class_offset): Likewise.
(dfs_find_final_overrider): New function.
(find_final_overrider): Likewise.
(modify_one_vtable): Remove.
(dfs_find_base): New function.
(dfs_modify_vtables): Fold modify_one_vtable in here.  Use
find_final_overrider.
(modify_all_vtables): Adjust.  Set BV_VCALL_INDEX on new
virtuals.
(dfs_fixup_vtable_deltas): Remove.
(override_one_vtable): Remove.
(merge_overrides): Likewise.
(layout_virtual_bases): Make sure BINFO_OFFSET is set right for
unreal chilren of virtual bases.
(finish_struct_1): Don't use merge_overrides.  Don't use
dfs_fixup_vtable_deltas.
* tree.c (reverse_path): Return a TREE_LIST, not a chain of
BINFOs.

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

24 years ago * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
jason [Mon, 31 Jan 2000 18:52:34 +0000 (18:52 +0000)]
    * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
        new label.

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

24 years ago * tinfo.h: Rename USItype to myint32, depend on BITS_PER_UNIT.
jason [Mon, 31 Jan 2000 17:20:39 +0000 (17:20 +0000)]
* tinfo.h: Rename USItype to myint32, depend on BITS_PER_UNIT.

* exception.cc (__throw_bad_typeid): Add missing std::.

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

24 years ago * cp-tree.h (make_thunk): PROTO -> PARAMS.
ghazi [Mon, 31 Jan 2000 16:44:46 +0000 (16:44 +0000)]
   * cp-tree.h (make_thunk): PROTO -> PARAMS.

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

24 years ago * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
ghazi [Mon, 31 Jan 2000 16:39:49 +0000 (16:39 +0000)]
    * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.

        * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
        PROTO -> PARAMS.

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

24 years ago * MAINTAINERS: Pair cccp with cpplib maintainership.
ghazi [Mon, 31 Jan 2000 16:13:45 +0000 (16:13 +0000)]
* MAINTAINERS: Pair cccp with cpplib maintainership.

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

24 years ago * cp-tree.h (new_abi_rtti_p): Use flag_new_abi.
nathan [Mon, 31 Jan 2000 10:21:47 +0000 (10:21 +0000)]
* cp-tree.h (new_abi_rtti_p): Use flag_new_abi.

Runtime support for new-abi rtti.
* inc/typeinfo (type_info::operator!=): Define in class.
(type_info::before, type_info::name, type_info::operator==,
type_info::operator!=): Define new ABI implementations.
(type_info::is_pointer_p, type_info::is_function_p): Declare
new virtual functions.
(type_info::do_catch, type_info::do_upcast): Likewise.

* tinfo.h (__base_class_info): Define new class.
(__class_type_info): Likewise.
(__si_class_type_info): Likewise.
(__vmi_class_type_info): Likewise.
(__dynamic_cast): Prototype.

* tinfo.cc: Conditionalize old and new rtti mechanisms.
(type_info::is_pointer_p): Define new function.
(type_info::is_function_p): Likewise.
(type_info::do_catch): Likewise.
(type_info::do_upcast): Likewise.
(vtable_prefix): New structure for vtable access.
(adjust_pointer): Define new template function.
(contained_p, public_p, virtual_p, contained_public_p,
contained_nonpublic_p, contained_nonvirtual_p): Define new
functions.
(nonvirtual_base_type): New local variable.
(__class_type_info::~__class_type_info): Define.
(__si_class_type_info::~__si_class_type_info): Likewise.
(__vmi_class_type_info::~__vmi_class_type_info): Likewise.
(__class_type_info::do_catch): Define new function.
(__class_type_info::do_upcast): Likewise.
(__class_type_info::find_public_src): Likewise.
(__class_type_info::do_find_public_src): Likewise.
(__si_class_type_info::do_find_public_src): Likewise.
(__vmi_class_type_info::do_find_public_src): Likewise.
(__class_type_info::do_dyncast): Likewise.
(__si_class_type_info::do_dyncast): Likewise.
(__vmi_class_type_info::do_dyncast): Likewise.
(__class_type_info::do_upcast): Likewise.
(__si_class_type_info::do_upcast): Likewise.
(__vmi_class_type_info::do_upcast): Likewise.
(__dynamic_cast): Likewise.

* tinfo2.cc (__fundamental_type_info): Define new class.
(__pointer_type_info): Likewise.
(__reference_type_info): Likewise.
(__array_type_info): Likewise.
(__function_type_info): Likewise.
(__enum_type_info): Likewise.
(__ptr_to_member_type_info): Likewise.
(__fundamental_type_info::~__fundamental_type_info): Define.
(__pointer_type_info::~__pointer_type_info): Likewise.
(__reference_type_info::~__reference_type_info): Likewise.
(__array_type_info::~__array_type_info): Likewise.
(__function_type_info::~__function_type_info): Likewise.
(__enum_type_info::~__enum_type_info): Likewise.
(__ptr_to_member_type_info::~__ptr_to_member_type_info): Likewise.
(__pointer_type_info::do_catch): Define new function.
(__ptr_to_member_type_info::do_catch): Define new function.

(__throw_type_match_rtti_2): Use new ABI interface, if enabled.
(__is_pointer): Likewise.

* exception.cc (__cplus_type_matcher): Deal with new-abi rtti.

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

24 years ago * gnu/gcj/convert/natIconv.cc (read): Minor fixes.
green [Mon, 31 Jan 2000 08:56:09 +0000 (08:56 +0000)]
* gnu/gcj/convert/natIconv.cc (read): Minor fixes.
    (write): Ditto.

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

24 years agoDaily bump.
law [Mon, 31 Jan 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
zack [Mon, 31 Jan 2000 07:28:05 +0000 (07:28 +0000)]
* i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
i386/vxi386.h, i386/win-nt.h, i386/win32.h:
Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.

* i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
Add %(cpp_cpu) to CPP_SPEC.

* i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
Add %(cc1_cpu) to CC1_SPEC.

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

24 years ago * jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to
green [Mon, 31 Jan 2000 05:36:56 +0000 (05:36 +0000)]
* jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to
        determine how many stack slots to pop.

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

24 years ago * include/config.h.in: Rebuilt.
tromey [Mon, 31 Jan 2000 04:53:47 +0000 (04:53 +0000)]
* include/config.h.in: Rebuilt.
* acconfig.h (HAVE_ICONV): Define.
* configure: Rebuilt.
* configure.in: Check for `iconv' function.
* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try iconv if
no specific encoder exists.
* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try iconv if
no specific encoder exists.
* Makefile.in: Rebuilt.
* Makefile.am (convert_source_files): Mention Input_iconv.java and
Output_iconv.java.
(nat_source_files): Added natIconv.cc.
* gnu/gcj/convert/natIconv.cc: New file.
* gnu/gcj/convert/Input_iconv.java: New file.
* gnu/gcj/convert/Output_iconv.java: New file.

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

24 years ago * cp/class.c (build_vtable): Rename to build_primary_vtable.
mmitchel [Mon, 31 Jan 2000 04:03:01 +0000 (04:03 +0000)]
* cp/class.c (build_vtable): Rename to build_primary_vtable.
(prepare_fresh_vtable): Rename to build_secondary_vtable.
(make_new_vtable): New function.
(modify_vtable_entry): Handle generation of new vtables correctly.
(modify_one_vtable): Remove unused parameter.
(dfs_fixup_vtable_deltas): Likewise.
(override_one_vtable): Use build_secondary_vtable.
(finish_struct_1): Use build_primary_vtable and
build_secondary_vtable.

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

24 years ago * c-decl.c (c_decode_option): Accept optional numeric argument to
drepper [Mon, 31 Jan 2000 03:31:26 +0000 (03:31 +0000)]
    * c-decl.c (c_decode_option): Accept optional numeric argument to
        -Wformat and set warn_format.
        * c-common.c: Don't emit warning about non-constant printf format
        string unless warn_format > 1.

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

24 years ago * alpha.md (return_internal): Allow after reload only.
rth [Mon, 31 Jan 2000 01:16:21 +0000 (01:16 +0000)]
    * alpha.md (return_internal): Allow after reload only.

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

24 years ago * libjava.lang/final_inner.java: New file.
tromey [Sun, 30 Jan 2000 22:08:32 +0000 (22:08 +0000)]
* libjava.lang/final_inner.java: New file.
* libjava.lang/final_inner.out: Likewise.

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

24 years ago * i386.c (ix86_compute_frame_size): Omit padding1 if the
rth [Sun, 30 Jan 2000 21:27:22 +0000 (21:27 +0000)]
    * i386.c (ix86_compute_frame_size): Omit padding1 if the
        local frame size is zero.

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

24 years ago * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
rth [Sun, 30 Jan 2000 20:27:57 +0000 (20:27 +0000)]
    * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
        * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
        * alpha.md (return): Turn into an expander.
        (return_internal): Don't use $26.
        (epilogue): Emit the return insn.

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

24 years ago * alpha.md (negtf2, abstf2): Fix word order thinko.
rth [Sun, 30 Jan 2000 20:14:40 +0000 (20:14 +0000)]
    * alpha.md (negtf2, abstf2): Fix word order thinko.
        (extendsftf2): New.
        (trunctfsf2): Avoid intermediate rounding errors.

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

24 years ago * cppfiles.c (find_position): Drop 'colp' argument, return the
zack [Sun, 30 Jan 2000 18:09:07 +0000 (18:09 +0000)]
* cppfiles.c (find_position): Drop 'colp' argument, return the
new line base.
(read_and_prescan): Adjust to match.  Don't ever manipulate
line or line_base except via find_position.

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

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

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

24 years ago * c-parse.in: Apply Ulrich's changes from c-parse.y.
zack [Sun, 30 Jan 2000 03:44:04 +0000 (03:44 +0000)]
* c-parse.in: Apply Ulrich's changes from c-parse.y.
* c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
Regenerate.

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

24 years ago * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
zack [Sun, 30 Jan 2000 03:31:59 +0000 (03:31 +0000)]
* cpperror.c (cpp_file_line_for_message): If 'line' is zero,
just print "<command line>".  If 'filename' is null or an
empty string, print "<stdin>" for the filename.
* cpplib.c (do_define): Don't print the 'location of the
previous definition' message if we're still parsing the
command line.
(cpp_pedwarn_with_file_and_line): Always call
cpp_file_line_for_message.

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

24 years ago * flow.c (mark_regs_live_at_end): Fix typo.
mmitchel [Sat, 29 Jan 2000 23:52:33 +0000 (23:52 +0000)]
* flow.c (mark_regs_live_at_end): Fix typo.

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

24 years ago2000-01-29 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Sat, 29 Jan 2000 22:40:07 +0000 (22:40 +0000)]
2000-01-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (formal_parameter:): Set `$$' to NULL_TREE for better
error handling/recovery.
* java-tree.h (SYNCHRONIZED_EXPR): Fixed typo in comment.

Wed Jan 12 20:20:11 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* jcf-write.c (generate_bytecode_insns): binop: Change the type of
the shift value to int. Fixed typo in comment.

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

24 years agoRegenerated.
drepper [Sat, 29 Jan 2000 19:18:00 +0000 (19:18 +0000)]
Regenerated.

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

24 years agoUpdate.
drepper [Sat, 29 Jan 2000 19:15:16 +0000 (19:15 +0000)]
Update.

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

24 years agoAdjust variable names, comments, help strings.
drepper [Sat, 29 Jan 2000 19:10:00 +0000 (19:10 +0000)]
Adjust variable names, comments, help strings.

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

24 years agoUpdate.
drepper [Sat, 29 Jan 2000 19:08:45 +0000 (19:08 +0000)]
Update.

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

24 years agoAdjust variable names, comments, help strings to c99.
drepper [Sat, 29 Jan 2000 19:00:43 +0000 (19:00 +0000)]
Adjust variable names, comments, help strings to c99.
Recognize options with names *99 as well.

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

24 years agoAdjust variable names, comments, help strings to c99.
drepper [Sat, 29 Jan 2000 18:59:40 +0000 (18:59 +0000)]
Adjust variable names, comments, help strings to c99.

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

24 years agoFix entry for ns32k change of 01-27 - no VOIDmode for load effective address
hp [Sat, 29 Jan 2000 16:25:57 +0000 (16:25 +0000)]
Fix entry for ns32k change of 01-27 - no VOIDmode for load effective address

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

24 years ago * new2.cc (operator delete[]): Use operator delete, don't assume
nathan [Sat, 29 Jan 2000 16:25:37 +0000 (16:25 +0000)]
* new2.cc (operator delete[]): Use operator delete, don't assume
implementation.

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

24 years ago * class.c (build_vtbl_initializer): Add argument to
nathan [Sat, 29 Jan 2000 15:47:14 +0000 (15:47 +0000)]
* class.c (build_vtbl_initializer): Add argument to
build_vtable_entry call.

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

24 years agoDaily bump.
law [Sat, 29 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * cp-tree.def (THUNK_DECL): Discuss vcall indices.
mmitchel [Sat, 29 Jan 2000 03:59:09 +0000 (03:59 +0000)]
* cp-tree.def (THUNK_DECL): Discuss vcall indices.
* cp-tree.h (BINFO_VIRTUALS): Update documentation.
(BF_DELTA): New macro.
(BF_VCALL_INDEX): Likewise.
(BF_FN): Likewise.
(THUNK_VCALL_OFFSET): Likewise.
(make_thunk): Change prototype.
* class.c (build_vtable_entry): Integrate
build_vtable_entry_for_fn.  Handle vcall indices.
(build_vtable_entry_for_fn): Remove.
(set_rtti_entry): Handle vcall indices.  Use BF_DELTA,
BF_VCALL_INDEX, BF_FN.
(modify_vtable_entry): Integrate common code from
modify_one_vtable and dfs_fixup_vtable_deltas.
(add_virtual_function): Set BF_VCALL_INDEX.
(build_vtbl_initializer): Simplify.  Use BF_DELTA, BF_VCALL_INDEX,
and BF_FN.
(modify_one_vtable): Simplify.
(dfs_fixup_vtable_deltas): Likewise.
(override_one_vtable): Use BF_DELTA, BF_VCALL_INDEX, BF_FN.
* method.c (make_thunk): Handle vcall indices.

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

24 years ago2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
m.hayes [Sat, 29 Jan 2000 03:11:21 +0000 (03:11 +0000)]
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
* c4x.c: Define the optab rtx values.
(c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
(c4x_emit_libcall): Use new optab rtx values.
(c4x_emit_libcall3): Likewise.
(c4x_emit_libcall_mulhi): Likewise.
* c4x-protos.h: Add prototypes for optab rtx values and change
prototypes for above c4x_emit_libcall functions.

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

24 years ago2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
m.hayes [Sat, 29 Jan 2000 03:07:37 +0000 (03:07 +0000)]
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * c4x.c (c4x_output_ascii): Restrict line length of output when TI
syntax is used.
(c4x_function_prologue): Use regnames intead of float_reg_names when
TI syntax is used.
(c4x_function_epilogue): Likewise.
(c4x_print_operand): Likewise.
* c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
* c4x.md (set_high): Disable for TARGET_TI.

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

24 years ago2000-01-27 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
m.hayes [Sat, 29 Jan 2000 03:01:24 +0000 (03:01 +0000)]
2000-01-27 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

* c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
of framepointer + constant to ADDR_REGS class.
* c4x.md (addqi3, addqi3_noclobber_reload): Update.
* c4x.c (std_or_reg_operand): New function.
* c4x-protos.h (std_or_reg_operand): Prototype it.

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

24 years ago2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
m.hayes [Sat, 29 Jan 2000 02:50:17 +0000 (02:50 +0000)]
2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

* t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
object names as libgcc2.c.
* libgcc.S: Use newly defined names.

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

24 years agoFri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
jle [Sat, 29 Jan 2000 01:41:22 +0000 (01:41 +0000)]
Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
* sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
function.
* sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
* basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
(FLOW_LOOP_LAST_BLOCK): Likewise.

2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* basic-block.h (struct loop): New fields 'first' and 'last'.
* flow.c (flow_loops_find): Compute loop->first and loop->last.
(flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
and loop->last to check for NOTE_INSN_LOOP_END.

Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>

* predict.c (estimate_probability): Use the new FIRST and LAST fields
of the loop descriptor rather than HEADER and LATCH. Also added
missing break statements as well making some coding style modifications
as suggested by Michael Hayes.

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

24 years ago * gcconfig.h (DATASTART): Add missing extern declaration
green [Sat, 29 Jan 2000 01:17:03 +0000 (01:17 +0000)]
* gcconfig.h (DATASTART): Add missing extern declaration
for data_start on powerpc.

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

24 years ago * flow.c (find_basic_blocks): Remove do_cleanup argument.
rth [Fri, 28 Jan 2000 22:22:50 +0000 (22:22 +0000)]
    * flow.c (find_basic_blocks): Remove do_cleanup argument.
        Break out that code ...
        (cleanup_cfg): ... here.
        (commit_one_edge_insertion): Detect a return instruction being
        emitted to an edge.  Emit a barrier following; clear fallthru.
        (commit_edge_insertions): Verify CFG consistency.
        * function.c (expand_function_start): Kill unused variable.
        (expand_function_end): Likewise.
        (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
        to insert the epilogue.

        * gcse.c (gcse_main): Adjust for find_basic_blocks change.
        (delete_null_pointer_checks): Likewise.
        * output.h: Likewise.
        * reg-stack.c (reg_to_stack): Likewise.
        * toplev.c (rest_of_compilation): Likewise.  Run
        thread_prologue_and_epilogue_insns after rebuilding the CFG.

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

24 years ago * haifa-sched.c (schedule_insns): Don't recompute reg info
rth [Fri, 28 Jan 2000 21:54:39 +0000 (21:54 +0000)]
    * haifa-sched.c (schedule_insns): Don't recompute reg info
        after reload.

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

24 years ago * Makefile.in (flow.o): Revert 24 Jan change.
rth [Fri, 28 Jan 2000 21:21:49 +0000 (21:21 +0000)]
    * Makefile.in (flow.o): Revert 24 Jan change.
        * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
        FUNCTION_VALUE result to DECL_RESULT's mode.

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

24 years ago * configure.in: Make --enable-cpplib the default.
zack [Fri, 28 Jan 2000 20:49:17 +0000 (20:49 +0000)]
* configure.in: Make --enable-cpplib the default.
* configure: Regenerate.
* gcc.dg/990119-1.c: No longer expected to fail.

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

24 years ago * Makefile.in: Rebuilt.
tromey [Fri, 28 Jan 2000 20:00:21 +0000 (20:00 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (LIBFFIINCS): Added MULTIBUILDTOP.

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

24 years agoFix recent small bug
mrs [Fri, 28 Jan 2000 19:44:45 +0000 (19:44 +0000)]
Fix recent small bug

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

24 years agoDelete a superfluous and buggy optimization
crux [Fri, 28 Jan 2000 18:00:04 +0000 (18:00 +0000)]
Delete a superfluous and buggy optimization

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

24 years ago * diagnostic.c (build_message_string, output_printf,
ghazi [Fri, 28 Jan 2000 16:34:00 +0000 (16:34 +0000)]
    * diagnostic.c (build_message_string, output_printf,
        line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
        (build_location_prefix): Fix non-literal format string.

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

24 years ago Compiler side new abi rtti (not enabled).
nathan [Fri, 28 Jan 2000 13:30:13 +0000 (13:30 +0000)]
Compiler side new abi rtti (not enabled).
* cp-tree.h (new_abi_rtti_p): New macro.
(emit_support_tinfos): Prototype new function.
(tinfo_decl_p): Likewise.
(emit_tinfo_decl): Likwise.
* rtti.c (TINFO_PSEUDO_TYPE, TINFO_VTABLE_DECL): New accessor
macros.
(doing_runtime): New local static.
(init_rtti_processing): Add new-abi initializer.
(get_tinfo_decl): Add new-abi logic.
(tinfo_from_decl): Likewise.
(build_dynamic_cast_1): Likewise.
(qualifier_flags): New static function.
(tinfo_base_init): Likewise.
(generic_initializer): Likewise.
(ptr_ref_initializer): Likewise.
(ptmd_initializer): Likewise.
(class_hint_flags): Likewise.
(class_initializer): Likewise.
(synthesize_tinfo_var): Likewise.
(create_real_tinfo_var): Likewise.
(create_pseudo_type_info): Likewise.
(get_vmi_pseudo_type_info): Likewise.
(create_tinfo_types): Likewise.
(emit_support_tinfos): New global function.
(tinfo_decl_p): New global predicate.
(emit_tinfo_decl): New global function.
* class.c (set_rtti_entry): Generalize for old and new rtti.
(build_vtbl_initializer): Likewise.
* decl2.c (finish_file): Likewise.

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

24 years ago * compile/20000127-1.c: New test.
jakub [Fri, 28 Jan 2000 11:54:37 +0000 (11:54 +0000)]
* compile/20000127-1.c: New test.
* execute/991228-1.c: New test.

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

24 years ago * fstream.h (ifstream::ifstream): Add ios::in to mode.
loewis [Fri, 28 Jan 2000 09:55:33 +0000 (09:55 +0000)]
* fstream.h (ifstream::ifstream): Add ios::in to mode.
(ifstream::open): Likewise.
(ofstream::ofstream): Add ios::out to mode.
(ofstream::open): Likewise.

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

24 years agoDaily bump.
law [Fri, 28 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years agoFix winsup (cygwin) build failure with VLAs and inline functions.
wilson [Fri, 28 Jan 2000 04:56:59 +0000 (04:56 +0000)]
Fix winsup (cygwin) build failure with VLAs and inline functions.
* cp/optimize.c (remap_decl): Add walk_tree calls for DECL_SIZE (t)
and TYPE_MAX_VALUE (TYPE_DOMAIN (TREE_TYPE (t))).

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

24 years ago * alpha.md (trunctfsf2): New.
rth [Fri, 28 Jan 2000 04:36:43 +0000 (04:36 +0000)]
    * alpha.md (trunctfsf2): New.

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

24 years agoFix whitespace
mrs [Fri, 28 Jan 2000 04:09:29 +0000 (04:09 +0000)]
Fix whitespace

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

24 years ago * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
rth [Fri, 28 Jan 2000 03:00:01 +0000 (03:00 +0000)]
    * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.

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

24 years ago * dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declare
zack [Fri, 28 Jan 2000 01:21:49 +0000 (01:21 +0000)]
* dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h.  Don't declare
malloc, calloc, free, atol, atoi, or errno.  (errno.h was
already being included.)

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

24 years agoNew test - core dump in cccp
zack [Fri, 28 Jan 2000 01:10:53 +0000 (01:10 +0000)]
New test - core dump in cccp

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

24 years agotestcase for recent checkin
mrs [Thu, 27 Jan 2000 23:19:47 +0000 (23:19 +0000)]
testcase for recent checkin

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

24 years ago * decl.c (pushdecl): Fix up shadow warnings with respect to implicit
mrs [Thu, 27 Jan 2000 23:15:38 +0000 (23:15 +0000)]
* decl.c (pushdecl): Fix up shadow warnings with respect to implicit
for scopes.
Fixes for3.C

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

24 years ago * cppinit.c (cpp_handle_option): Recognize C++ comments under
zack [Thu, 27 Jan 2000 22:29:07 +0000 (22:29 +0000)]
* cppinit.c (cpp_handle_option): Recognize C++ comments under
-std=gnu89.
* cpplib.c (skip_block_comment, skip_line_comment): Split code
out of...
(skip_comment) ... here.  Permit C++ comments in system
headers always.  Warn about C++ comments in user code under
-std=gnu89 -pedantic.
(copy_comment): Use skip_comment.
(cpp_skip_hspace, cpp_get_token): skip_comment can no longer
return EOF.
(consider_directive_while_skipping, do_else, do_endif): Call
validate_else unconditionally.
(validate_else): Check CPP_PEDANTIC here.  Accept non-comment
text after the conditional in a system header.
* cpplib.h (struct cpp_buffer): Add flag
warned_cplusplus_comments.

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

24 years agoTest cases for c++ comments and endif labels in system headers.
zack [Thu, 27 Jan 2000 22:27:24 +0000 (22:27 +0000)]
Test cases for c++ comments and endif labels in system headers.
I made them up all by myself.

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

24 years agoUse __inline not inline since test is compiled with -ansi
zack [Thu, 27 Jan 2000 21:42:03 +0000 (21:42 +0000)]
Use __inline not inline since test is compiled with -ansi

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

24 years ago* emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
geoffk [Thu, 27 Jan 2000 20:46:26 +0000 (20:46 +0000)]
* emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
Use unshare_all_rtl_1.
(unshare_all_rtl_again): New function.
(unshare_all_rtl_1): New function split out of unshare_all_rtl.

* function.c (purge_addressof_1): Use unshare_all_rtl_again
rather than resetting the 'used' flags ourself.

* toplev.c (rest_of_compilation): Add current_function_decl
to the unshare_all_rtl call.
* tree.h: Prototype unshare_all_rtl.
* rtl.h: Prototype unshare_all_rtl_again here.

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

24 years ago * genoutput.c (output_prologue): Include ggc.h in generated
geoffk [Thu, 27 Jan 2000 20:40:24 +0000 (20:40 +0000)]
* genoutput.c (output_prologue): Include ggc.h in generated
files.
* Makefile.in (insn-output.o): Depends on ggc.h.

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

24 years agons32k update from Ian Dall and Hans-Peter Nilsson.
rth [Thu, 27 Jan 2000 19:20:51 +0000 (19:20 +0000)]
ns32k update from Ian Dall and Hans-Peter Nilsson.

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

24 years ago2000-01-27 Andrew Haley <aph@cygnus.com>
aph [Thu, 27 Jan 2000 19:09:14 +0000 (19:09 +0000)]
2000-01-27  Andrew Haley  <aph@cygnus.com>

        * jcf-write.c (emit_goto): RESERVE 3 bytes for insn.
        (emit_if): Ditto.
        (emit_jsr): Ditto.

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

24 years ago * gthr-posix.h: Fix typo; compatibily -> compatibility.
rth [Thu, 27 Jan 2000 18:49:12 +0000 (18:49 +0000)]
    * gthr-posix.h: Fix typo; compatibily -> compatibility.
        * gthr-single.h: Likewise.
        * gthr-solaris.h: Likewise.
        * gthr-vxworks.h: Likewise.
        * gthr-win32.h: Likewise.
        * gthr.h: Likewise.

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

24 years ago * cppinit.c: Add " (cpplib)" to end of string printed by
zack [Thu, 27 Jan 2000 18:37:50 +0000 (18:37 +0000)]
* cppinit.c: Add " (cpplib)" to end of string printed by
-v / --version.

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

24 years agoReflect renaming of invariant_p to loop_invariant_p in comment.
amylaar [Thu, 27 Jan 2000 17:45:12 +0000 (17:45 +0000)]
Reflect renaming of invariant_p to loop_invariant_p in comment.

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

24 years ago * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
rth [Thu, 27 Jan 2000 10:17:37 +0000 (10:17 +0000)]
    * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
        testing for a signed comparison.
        (alpha_emit_floatuns): New.
        * alpha-protos.h: Declare it.
        * alpha.md (floatunsdisf2, floatunsdidf2): New.
        (extendsfdf2): Tidy.

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

24 years agoDaily bump.
law [Thu, 27 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
jakub [Thu, 27 Jan 2000 08:42:56 +0000 (08:42 +0000)]
* config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
no -g option specifying debugging format, default to -gstabs+.

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

24 years ago * pt.c (unify): Use fold, not maybe_fold_nontype_arg.
jason [Thu, 27 Jan 2000 02:01:36 +0000 (02:01 +0000)]
    * pt.c (unify): Use fold, not maybe_fold_nontype_arg.
--------------------------------------------------------------------

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

24 years agoCorrect warning string to grep for
zack [Thu, 27 Jan 2000 01:14:53 +0000 (01:14 +0000)]
Correct warning string to grep for

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

24 years ago * gcj/method.h (JvNumMethods): Moved from Class.h.
tromey [Wed, 26 Jan 2000 23:56:36 +0000 (23:56 +0000)]
* gcj/method.h (JvNumMethods): Moved from Class.h.
(JvGetFirstMethod): Likewise.
* java/lang/Class.h (Object): Updated decl of
_Jv_JNI_ToReflectedField.
(Object): Added _Jv_JNI_ToReflectedMethod as a friend.
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/reflect/Field.h): Added `jboolean'
argument of _Jv_JNI_ToReflectedField.
(java/lang/reflect/Constructor.h): Added _Jv_JNI_ToReflectedMethod
as a friend.
(java/lang/reflect/Method.h): Likewise.
* include/jni.h (class _Jv_JNIEnv): Added `klass' member.  Use
__GCJ_JNI_IMPL__.
(jweak): New typedef.
(struct JNINativeInterface): Correctly declare remaining entries.
* jni.cc: Include Class.h, ClassLoader.h.
(_Jv_JNI_FindClass): New function.
(_Jv_JNI_DefineClass): New function.
(_Jv_JNI_conversion_call): New function.
(_Jv_JNI_FindClass): Use current class loader to find class.
(_Jv_JNI_ExceptionCheck): New function.
(_Jv_JNI_FromReflectedField): Now static.
(MethodClass): New define.
(_Jv_JNI_FromReflectedMethod): New function.
(_Jv_JNI_ToReflectedMethod): Likewise.
Include Method.h.
(_Jv_JNI_IsAssignableFrom): Renamed.
(_Jv_JNI_GetStringRegion): New function.
Include StringIndexOutOfBoundsException.h.
(_Jv_JNI_GetStringUTFRegion): New function.
(_Jv_JNIFunctions): Updated for new functions.
(_Jv_JNI_GetPrimitiveArrayCritical): New function
(_Jv_JNI_ReleasePrimitiveArrayCritical): Likewise.
(_Jv_JNI_GetStringCritical): New function.
(_Jv_JNI_ReleaseStringCritical): Likewise.
(get_throwable): Removed.
(GCJ_JV_JNIENV_FRIEND): Removed.
(__GCJ_JNI_IMPL__): Define.
Include method.h.

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

24 years ago * resolve.cc (get_ffi_type_from_signature): Handle case where
tromey [Wed, 26 Jan 2000 23:44:40 +0000 (23:44 +0000)]
* resolve.cc (get_ffi_type_from_signature): Handle case where
boolean is an int.

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

24 years ago * calls.c (special_function_p): New argument fork_or_exec.
amylaar [Wed, 26 Jan 2000 23:38:20 +0000 (23:38 +0000)]
* calls.c (special_function_p): New argument fork_or_exec.
(expand_call): When profile_arc_flag is set and the function
is in the fork_or_exec group, call __bb_fork_func first.
* libgcc2.c, _bb module (__bb_fork_func): New function.
(__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
output file.
* config/svr4.h (TARGET_HAS_F_SETLKW): Define.
* tree.h (special_function_p): Update prototype.

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

24 years agogcc:
amylaar [Wed, 26 Jan 2000 22:27:31 +0000 (22:27 +0000)]
gcc:
* calls.c (special_function_p): New argument fork_or_exec.
(expand_call): When profile_arc_flag is set and the function
is in the fork_or_exec group, call __bb_fork_func first.
* libgcc2.c, _bb module (__bb_fork_func): New function.
(__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
output file.
* config/svr4.h (TARGET_HAS_F_SETLKW): Define.
* tree.h (special_function_p): Update prototype.

gcc/cp:
* cp/optimize.c (calls_setjmp_r): Supply new argument
to special_function_p.

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

24 years ago * alpha.c (alpha_split_tfmode_pair): New.
rth [Wed, 26 Jan 2000 22:08:59 +0000 (22:08 +0000)]
    * alpha.c (alpha_split_tfmode_pair): New.
        * alpha-protos.h: Declare it.
        * alpha.md (abstf2, negtf2): New.
        (movtf insn): Add input G constraint.
        (movtf splitter): Use alpha_split_tfmode_pair.

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

24 years ago * i386/cygwin.h: PROTO -> PARAMS.
ghazi [Wed, 26 Jan 2000 21:22:58 +0000 (21:22 +0000)]
    * i386/cygwin.h: PROTO -> PARAMS.

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

24 years ago * call.c: PROTO -> PARAMS.
ghazi [Wed, 26 Jan 2000 20:51:37 +0000 (20:51 +0000)]
    * call.c: PROTO -> PARAMS.
        * class.c: Likewise.
        * cp-tree.h: Likewise.
        * cvt.c: Likewise.
        * decl.c: Likewise.
        * decl.h: Likewise.
        * decl2.c: Likewise.
        * dump.c: Likewise.
        * errfn.c: Likewise.
        * error.c: Likewise.
        * except.c: Likewise.
        * expr.c: Likewise.
        * init.c: Likewise.
        * input.c: Likewise.
        * lex.c: Likewise.
        * lex.h: Likewise.
        * method.c: Likewise.
        * optimize.c: Likewise.
        * parse.y: Likewise.
        * pt.c: Likewise.
        * repo.c: Likewise.
        * rtti.c: Likewise.
        * search.c: Likewise.
        * semantics.c: Likewise.
        * spew.c: Likewise.
        * tree.c: Likewise.
        * typeck.c: Likewise.
        * typeck2.c: Likewise.
        * xref.c: Likewise.

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

24 years ago * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
jakub [Wed, 26 Jan 2000 20:14:10 +0000 (20:14 +0000)]
* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
using _Qp_cmp/_Q_cmp and testing the return value.
(print_operand): Call reverse_condition_maybe_unordered if
we are handling CCFPmode or CCFPEmode.
Handle ORDERED, UN* and LTGT comparisons.
* config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
if not TARGET_HARD_QUAD.
(seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
Adjust gen_b* calls so that they reflect return comparison of
sparc_emit_float_lib_cmp.

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

24 years agoDaily bump.
law [Wed, 26 Jan 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago* config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
oliva [Wed, 26 Jan 2000 07:57:28 +0000 (07:57 +0000)]
* config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
incoming operands array is large enough for one more operand.
(alpha_emit_xfloating_arith): Likewise.

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

24 years ago * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
zack [Wed, 26 Jan 2000 07:37:30 +0000 (07:37 +0000)]
* fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
file with one line and no trailing newline.
Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
* fixinc/fixtests.c (machine_name_test): Fix fencepost error
checking if the match is on the line.
* fixinc/gnu-regex.c: Provide regerror not __regerror.

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

24 years ago* gcc.dg/unused-2.c: New test.
oliva [Wed, 26 Jan 2000 07:15:01 +0000 (07:15 +0000)]
* gcc.dg/unused-2.c: New test.

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

24 years ago* gcc.dg/conv-1.c: New test.
oliva [Wed, 26 Jan 2000 07:14:06 +0000 (07:14 +0000)]
* gcc.dg/conv-1.c: New test.

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