OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * cp-tree.h (CPTI_TP_DESC_TYPE, CPTI_ACCESS_MODE_TYPE,
nathan [Mon, 24 Jan 2000 10:23:26 +0000 (10:23 +0000)]
* cp-tree.h (CPTI_TP_DESC_TYPE, CPTI_ACCESS_MODE_TYPE,
CPTI_USER_DESC_TYPE, CPTI_CLASS_DESC_TYPE, CPTI_ATTR_DESC_TYPE,
CPTI_PTMF_DESC_TYPE): Remove cp_tree_index enumerations.
(CPTI_TI_DESC_TYPE, CPTI_REF_DESC_TYPE, CPTI_ARY_DESC_TYPE,
CPTI_ENUM_DESC_TYPE, CPTI_CLASS_DESC_TYPE, CPTI_SI_CLASS_DESC_TYPE,
CPTI_VMI_CLASS_DESC_TYPE, CPTI_BASE_DESC_TYPE): New enumerations.
(CPTI_TINFO_FN_ID, CPTI_TINFO_FN_TYPE): Rename to ...
(CPTI_TINFO_DECL_ID, CPTI_TINFO_DECL_TYPE): ... here.
(CPTI_TINFO_VAR_ID): New enumeration.
(__tp_desc_type_node, __access_mode_type_node,
__bltn_desc_type_node, __user_desc_type_node,
__class_desc_type_node, __ptr_desc_type_node,
__attr_desc_type_node, __func_desc_type_node,
__ptmf_desc_type_node, __ptmd_desc_type_node): Remove #defines.
(ti_desc_type_node, bltn_desc_type_node, ptr_desc_type_node,
ref_desc_type_node, ary_desc_type_node, func_desc_type_node,
enum_desc_type_node, class_desc_type_node,
si_class_desc_type_node, vmi_class_desc_type_node,
ptmd_desc_type_node, base_desc_type_node): New #defines.
(tinfo_fn_id, tinfo_fn_type): Rename to ...
(tinfo_decl_id, tinfo_decl_type): ... here. Adjust.
(tinfo_var_id): New enumeration.
(DECL_TINFO_FN_P): Augment comment.
* decl.c (cp_global_trees): Adjust documentation.
* rtti.c (init_rtti_processing): Adjust for tinfo_decl_id,
tinfo_decl_type and tinfo_var_id.
(get_tinfo_decl_dynamic): Adjust for tinfo_decl_type.
(build_typeid): Remove unused variable.
(get_tinfo_var): Use tinfo_var_id.
(tinfo_name): New static function.
(get_tinfo_decl): Adjust for tinfo_decl_id and tinfo_decl_type.
(tinfo_from_decl): Likewise.
(get_base_offset): New static function, broken out of
expand_class_desc.
(expand_si_desc): Use tinfo_name.
(expand_class_desc): Likewise. Lose local static variable.
Use base_desc_type_node. Use get_base_offset.
(expand_ptr_desc): Use tinfo_name.
(expand_attr_desc): Likewise.
(expand_generic_desc): Likewise.

* tinfo.cc (__GXX_ABI_VERSION): Test value and existance.
* tinfo.h (__GXX_ABI_VERSION): Test value and existance.

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

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

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

24 years ago * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
zack [Mon, 24 Jan 2000 04:53:58 +0000 (04:53 +0000)]
* fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
expression to allow underscores in macro names.
(fix_char_macro_defines): Increment scanning pointer.

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

24 years ago * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
rth [Mon, 24 Jan 2000 04:02:40 +0000 (04:02 +0000)]
    * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
        * alpha/osf5.h: New file.
        * configure.in (alpha-*-osf5): Add it to tm_file.

        * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.

        * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
        (alpha_emit_xfloating_cvt, function_arg): Declare.
        * alpha.c (alpha_emit_conditional_branch): Call
        alpha_emit_xfloating_compare for TFmode compares.
        (alpha_lookup_xfloating_lib_func): New.
        (alpha_compute_xfloating_mode_arg): New.
        (alpha_emit_xfloating_libcall): New.
        (alpha_emit_xfloating_arith): New.
        (alpha_emit_xfloating_compare): New.
        (alpha_emit_xfloating_cvt): New.
        (print_operand): Add default abort case.
        (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
        * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
        (BIGGEST_ALIGNMENT): Increase to 128 bits.
        (RETURN_IN_MEMORY): True for TF/TCmode.
        (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
        (FUNCTION_ARG): Move to function_arg.
        (FUNCTION_ARG_PASS_BY_REFERENCE): New.
        (ASM_OUTPUT_LONG_DOUBLE): New.
        (ASM_OUTPUT_DOUBLE): Always output bits.
        * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
        (fix_trunctfdi2, floatditf2, floatunsditf2): New.
        (extenddftf2, trunctfdf2): New.

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

24 years ago* config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
oliva [Mon, 24 Jan 2000 00:47:38 +0000 (00:47 +0000)]
* config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
* config/sparc/sol2.h: ... here.

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

24 years ago2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
m.hayes [Sun, 23 Jan 2000 23:10:09 +0000 (23:10 +0000)]
2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* basic-block.h (struct loops): New field `levels'.
* flow.c (flow_loops_level_compute): Traverse all outer loops.
(flow_loop_level_compute): Initialise level to 1.
(flow_loops_find): Set loops->levels.
(flow_loops_dump): Print loops->levels.

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

24 years ago * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
rth [Sun, 23 Jan 2000 22:33:30 +0000 (22:33 +0000)]
    * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
        (throw_helper): Iterate over DWARF_FRAME_REGISTERS.

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

24 years ago * i386.c (dbx_register_map, svr4_dbx_register_map): New.
rth [Sun, 23 Jan 2000 21:43:06 +0000 (21:43 +0000)]
    * i386.c (dbx_register_map, svr4_dbx_register_map): New.
        * i386.h (DBX_REGISTER_NUMBER): Use them.
        * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
        * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
        * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
        * i386/sequent.h: Kill incorrect comment.

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

24 years ago (struct globals): Likewise.
mmitchel [Sun, 23 Jan 2000 20:42:53 +0000 (20:42 +0000)]
(struct globals): Likewise.

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

24 years ago * cp-tree.h (__eprintf): Remove declaration.
mmitchel [Sun, 23 Jan 2000 19:51:01 +0000 (19:51 +0000)]
* cp-tree.h (__eprintf): Remove declaration.
* tree.c (__eprintf): Remove definition.

* cp-tree.h (CLASSTYPE_MARKED_N, SET_CLASSTYPE_MARKED_N,
CLEAR_CLASSTYPE_MARKED_N): Avoid signed vs. unsigned warnings.

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

24 years ago * ggc-page.c (struct page_entry): Make `context_depth' an
mmitchel [Sun, 23 Jan 2000 19:18:45 +0000 (19:18 +0000)]
* ggc-page.c (struct page_entry): Make `context_depth' an
`unsigned short'.

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

24 years ago * class.c (dump_class_hierarchy): Print HOST_WIDE_INT properly.
mmitchel [Sun, 23 Jan 2000 18:58:54 +0000 (18:58 +0000)]
* class.c (dump_class_hierarchy): Print HOST_WIDE_INT properly.

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

24 years ago * cp-tree.h (register_dtor_fn): New function.
mmitchel [Sun, 23 Jan 2000 18:40:20 +0000 (18:40 +0000)]
* cp-tree.h (register_dtor_fn): New function.
* decl.c (destroy_local_static): Rename to ...
(register_dtor_fn): ... this.  Give it external linkage.
(expand_static_init): Use it.
* decl2.c (do_static_initialization): Likewise, if using
__cxa_atexit.
(do_static_destruction): Check that __cxa_atexit is not in use.
(finish_file): Don't call do_static_destruction if using
__cxa_atexit.

* typeck.c (convert_arguments): Restore two-message error
reporting.

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

24 years ago * loop.c (check_dbra_loop): When checking a loop for
cpopetz [Sun, 23 Jan 2000 16:07:00 +0000 (16:07 +0000)]
* loop.c (check_dbra_loop): When checking a loop for
reversability, check the source of any stores to ensure
they don't depend on an initial value.

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

24 years agoImprove comment on SUPPORTS_WEAK.
robertl [Sun, 23 Jan 2000 13:46:16 +0000 (13:46 +0000)]
Improve comment on SUPPORTS_WEAK.

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

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

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

24 years ago * include/config.h.in: Rebuilt.
green [Sat, 22 Jan 2000 21:15:58 +0000 (21:15 +0000)]
* include/config.h.in: Rebuilt.
* acconfig.h: Add undef for __NO_MATH_INLINES.
* configure: Rebuilt.
* configure.in: Add test for `g++ -O2 -ffloat-store' bug.

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

24 years ago2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
m.hayes [Sat, 22 Jan 2000 21:13:59 +0000 (21:13 +0000)]
2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.

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

24 years ago * fixinc/fixincl.c: Move declarations of 'pz_fname' and
zack [Sat, 22 Jan 2000 20:55:18 +0000 (20:55 +0000)]
  * fixinc/fixincl.c: Move declarations of 'pz_fname' and
'pz_scan' into scope of entire function.  Only affects
compiles with -DDEBUG.

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

24 years agoFix definition of UNIQUE_SECTION so that zero initialised data is placed
nickc [Sat, 22 Jan 2000 19:49:21 +0000 (19:49 +0000)]
Fix definition of UNIQUE_SECTION so that zero initialised data is placed
into .data.

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

24 years agocatch a SUBREG containing a constant.
nickc [Sat, 22 Jan 2000 19:42:34 +0000 (19:42 +0000)]
catch a SUBREG containing a constant.

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

24 years agoTest for directory before trying to cd into it
korbb [Sat, 22 Jan 2000 19:05:31 +0000 (19:05 +0000)]
Test for directory before trying to cd into it

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

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

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

24 years ago * cpphash.c (change_newlines): Delete function.
zack [Sat, 22 Jan 2000 04:18:41 +0000 (04:18 +0000)]
* cpphash.c (change_newlines): Delete function.
(struct argdata): Delete 'newlines' and 'use_count' fields.
(macroexpand): Remove code referencing those fields.

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

24 years agoAnother test for preprocessor corner cases
zack [Sat, 22 Jan 2000 04:12:52 +0000 (04:12 +0000)]
Another test for preprocessor corner cases

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

24 years ago * loop.c (loops_info): New variable.
m.hayes [Sat, 22 Jan 2000 02:23:14 +0000 (02:23 +0000)]
* loop.c (loops_info): New variable.
(loop_optimize): Allocate loops->array and free it on exit.
Allocate memory for loops_info and assign to each loop,
  replacing alloca.
(find_and_verify_loops): Do not allocate loops->array.

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

24 years agoTest for reload bug with 'long long' function parameters.
zack [Sat, 22 Jan 2000 01:08:14 +0000 (01:08 +0000)]
Test for reload bug with 'long long' function parameters.
Found with 2.95.2 on x86; already fixed in 2.96.
Reported by D.J. Bernstein.

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

24 years ago * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
zack [Sat, 22 Jan 2000 00:40:49 +0000 (00:40 +0000)]
* fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.

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

24 years ago * java/lang/reflect/natConstructor.cc (newInstance): Use
tromey [Fri, 21 Jan 2000 23:50:31 +0000 (23:50 +0000)]
* java/lang/reflect/natConstructor.cc (newInstance): Use
_Jv_CallAnyMethodA.
* include/jvm.h: Declare _Jv_CallAnyMethodA.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed
from _Jv_CallNonvirtualMethodA.  Changed interface; overloaded.
Include <jni.h>.
(COPY): Removed.
(invoke): Use _Jv_CallAnyMethodA.
(VAL): Redefined.
* java/lang/Class.h (Class): Declare JvGetFirstStaticField,
JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend
functions.
(struct _Jv_Method): Added getNextMethod method.
(JvNumMethods): New function.
(JvGetFirstMethod): Likewise.
* gcj/field.h (JvGetFirstStaticField): New function.
(JvNumStaticFields): Likewise.
(getNextField): Renamed from getNextInstanceField.
(struct _Jv_Field): New method getClass.
* jni.cc: Wrote many new functions.
* include/jni.h (JNI_TRUE): Define.
(JNI_FALSE): Likewise.
(jobject, jclass, jstring, jarray, jthrowable, jobjectArray,
jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray,
jcharArray, jfloatArray, jdoubleArray): New typedefs.
(jfieldID, jmethodID): Likewise.
(JNI_COMMIT, JNI_ABORT): New defines.
(JNINativeMethod): New struct.
(struct JNINativeInterface): Correctly declared more entries.
(class _Jv_JNIEnv): Added `ex' member.
(JNI_VERSION_1_1): New define.
(JNI_VERSION_1_2): Likewise.

* boehm.cc (_Jv_MarkObj): Use getNextField, not
getNextInstanceField.

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

24 years ago * libjava.compile/BlankFinal.java: New file.
tromey [Fri, 21 Jan 2000 21:12:47 +0000 (21:12 +0000)]
* libjava.compile/BlankFinal.java: New file.

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

24 years agoFix typo in ChangeLog
ghazi [Fri, 21 Jan 2000 20:59:01 +0000 (20:59 +0000)]
Fix typo in ChangeLog

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

24 years ago * buffer.h: PROTO -> PARAMS.
ghazi [Fri, 21 Jan 2000 20:57:00 +0000 (20:57 +0000)]
    * buffer.h: PROTO -> PARAMS.
        * check-init.c: Likewise.
        * class.c: Likewise.
        * constants.c: Likewise.
        * convert.h: Likewise.
        * decl.c: Likewise.
        * except.c: Likewise.
        * expr.c: Likewise.
        * gjavah.c: Likewise.
        * java-except.h: Likewise.
        * java-tree.h: Likewise.
        * jcf-depend.c: Likewise.
        * jcf-dump.c: Likewise.
        * jcf-parse.c: Likewise.
        * jcf-path.c: Likewise.
        * jcf-reader.c: Likewise.
        * jcf-write.c: Likewise.
        * jcf.h: Likewise.
        * jv-scan.c: Likewise.
        * jvgenmain.c: Likewise.
        * jvspec.c: Likewise.
        * lang.c: Likewise.
        * lex.c: Likewise.
        * lex.h: Likewise.
        * parse-scan.y: Likewise.
        * parse.h: Likewise.
        * parse.y: Likewise.
        * typeck.c: Likewise.
        * verify.c: Likewise.
        * xref.c: Likewise.
        * xref.h: Likewise.
        * zextract.c: Likewise.
        * zipfile.h: Likewise.

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

24 years ago * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
jakub [Fri, 21 Jan 2000 20:49:33 +0000 (20:49 +0000)]
* config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
pseudos if expanded after first flow.
(movdi_pic_label_ref): Likewise.

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

24 years agoTypo fix.
amylaar [Fri, 21 Jan 2000 10:36:05 +0000 (10:36 +0000)]
Typo fix.

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

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

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

24 years ago * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
rth [Thu, 20 Jan 2000 22:08:29 +0000 (22:08 +0000)]
    * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.

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

24 years ago * gcc.c-torture/execute/20000120-2.c: New test.
law [Thu, 20 Jan 2000 19:45:39 +0000 (19:45 +0000)]
    * gcc.c-torture/execute/20000120-2.c: New test.

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

24 years ago * gcc.c-torture/execute/20000120-1.c: New test.
law [Thu, 20 Jan 2000 19:35:29 +0000 (19:35 +0000)]
    * gcc.c-torture/execute/20000120-1.c: New test.

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

24 years agoFix typo in last commit
zack [Thu, 20 Jan 2000 18:28:37 +0000 (18:28 +0000)]
Fix typo in last commit

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

24 years ago * Makefile.in (fixinc.sh): Depend on specs.
zack [Thu, 20 Jan 2000 18:25:12 +0000 (18:25 +0000)]
* Makefile.in (fixinc.sh): Depend on specs.
        * fixinc/Makefile.in: Add rule to create machname.h.
        (fixlib.o): Depend on machname.h.
        * fixinc/fixtests.c (machine_name): New test.
        * fixinc/fixfixes.c (machine_name): New fix.
        * fixinc/fixlib.c (mn_get_regexps): New helper function for
        the machine_name test and fix.
        * fixinc/fixlib.h: Prototype it.
        * fixinc/inclhack.def (machine_name): Use the C test and fix.
* fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.

        * gcc.c (do_spec_1) [case P]: Take care not to create
        identifiers with three leading or trailing underscores.

* fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
(fixincl): Don't specify libraries twice on link line.
(gnu-regex.o): Remove special rule.
* fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
defined by config.h.  Do not define _REGEX_RE_COMP.
(regcomp): Allocate and initialize a fastmap.
* fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.

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

24 years ago * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
rth [Thu, 20 Jan 2000 17:34:26 +0000 (17:34 +0000)]
    * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.

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

24 years ago * resolve.cc (StringClass): Removed.
tromey [Thu, 20 Jan 2000 17:32:26 +0000 (17:32 +0000)]
* resolve.cc (StringClass): Removed.
* defineclass.cc (StringClass): Removed.

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

24 years ago Remap dynamic cast hint values to be consistent across ABIs.
nathan [Thu, 20 Jan 2000 11:05:19 +0000 (11:05 +0000)]
Remap dynamic cast hint values to be consistent across ABIs.
* search.c (dynamic_cast_base_recurse): Remap generated value.
(get_dynamic_cast_base_type): Adjust documentation.
* tinfo.h (__user_type_info::dyncast): Likewise.
(__user_type_info::find_public_subobj): Remap BOFF meaning.
* tinfo.cc (__si_type_info::do_dyncast): Remap BOFF meaning.
(__class_type_info::do_dyncast): Likewise.
(__class_type_info::do_find_public_subobj): Likewise.
* tinfo2.cc (__dynamic_cast): Remap BOFF parameter.

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

24 years ago2000-01-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
gdr [Thu, 20 Jan 2000 09:24:01 +0000 (09:24 +0000)]
2000-01-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * typeck.c (build_unary_op): Use cp_pedwarn, not pedwarn.

        * typeck2.c (incomplete_type_error): Restore previous cp_error and
        cp_error_at call sequence.

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

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

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

24 years ago * class.c (dump_class_hierarchy): Make format agree with argument;
mmitchel [Thu, 20 Jan 2000 08:12:26 +0000 (08:12 +0000)]
* class.c (dump_class_hierarchy): Make format agree with argument;
cast pointer to unsigned long and print with %lx.

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

24 years ago * flow.c (propagate_block): Replace FIRST, LAST and BNUM
rth [Thu, 20 Jan 2000 03:59:57 +0000 (03:59 +0000)]
    * flow.c (propagate_block): Replace FIRST, LAST and BNUM
        arguments with BB.  Update all callers.  Tidy line wrapping.

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

24 years ago * emit-rtl.c (try_split): Return last_insn if we split the
cpopetz [Thu, 20 Jan 2000 00:41:52 +0000 (00:41 +0000)]
* emit-rtl.c (try_split): Return last_insn if we split the
last_insn.

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

24 years ago * i386-protos.h (ix86_compute_frame_size): Remove prototype.
hubicka [Thu, 20 Jan 2000 00:05:32 +0000 (00:05 +0000)]
* i386-protos.h (ix86_compute_frame_size): Remove prototype.
(ix86_initial_elimination_offset): Declare.
* i386.c (ix86_nsaved_regs): Break out from ...
(ix86_can_use_return_insn_p): ... here.
(ix86_emit_save_regs): Break out from ...
(ix86_expand_prologue): ... here.
(ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
out from ...
(ix86_expand_epilogue): ... here.
(ix86_compute_frame_size): Make static, add prototype.
(ix86_initial_elimination_offset): Break out from ...
* i386.h (INITIAL_ELIMINATION_OFFSET): ... here.

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

24 years agomore copyright nits
ghazi [Wed, 19 Jan 2000 23:47:13 +0000 (23:47 +0000)]
more copyright nits

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

24 years agoupdate copyrights in config dir.
ghazi [Wed, 19 Jan 2000 23:44:14 +0000 (23:44 +0000)]
update copyrights in config dir.

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

24 years ago * recog.h (OUT_FCN): Delete.
ghazi [Wed, 19 Jan 2000 23:14:17 +0000 (23:14 +0000)]
    * recog.h (OUT_FCN): Delete.

        * vax.md: Call `get_insn_template' instead of OUT_FCN.

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

24 years agoUpdated NEWS file.
bryce [Wed, 19 Jan 2000 23:08:05 +0000 (23:08 +0000)]
Updated NEWS file.

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

24 years ago * cppalloc.c: PROTO -> PARAMS.
ghazi [Wed, 19 Jan 2000 22:52:43 +0000 (22:52 +0000)]
    * cppalloc.c: PROTO -> PARAMS.
        * cpperror.c: Likewise.
        * cppfiles.c: Likewise.
        * cpplib.c: Likewise.
        * cpplib.h: Likewise.

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

24 years ago * config/arm/arm-protos.h: PROTO -> PARAMS.
ghazi [Wed, 19 Jan 2000 22:39:31 +0000 (22:39 +0000)]
    * config/arm/arm-protos.h: PROTO -> PARAMS.
        * config/arm/arm.c: Likewise.
        * config/c4x/c4x.c: Likewise.
        * config/fr30/fr30-protos.h: Likewise.
        * config/nextstep.c: Likewise.
        * config/pa/pa.c: Likewise.
        * config/pj/pj.c: Likewise.
        * config/rs6000/rs6000.c: Likewise.
        * config/v850/v850-protos.h: Likewise.
        * config/v850/v850.c: Likewise.

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

24 years ago * i370-protos.h: New file.
ghazi [Wed, 19 Jan 2000 22:25:21 +0000 (22:25 +0000)]
    * i370-protos.h: New file.

        * i370.c: Include tm_p.h.  Fix compile time warnings.

        * i370.h: Move prototypes to i370-protos.h.  Fix compile time
        warnings.

        * i370.md: Likewise.

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

24 years ago * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
ghazi [Wed, 19 Jan 2000 22:21:22 +0000 (22:21 +0000)]
    * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
        (target_isinf, target_isnan, eisnan): Mark parameter with
        ATTRIBUTE_UNUSED.
        (eiisinf): Wrap in INFINITY.
        (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
        (ibmtoe): Remove unused variable `rndsav'.

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

24 years agoBack out prepare_scc_operands changes from this afternoon.
amylaar [Wed, 19 Jan 2000 21:57:38 +0000 (21:57 +0000)]
Back out prepare_scc_operands changes from this afternoon.

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

24 years ago * sh.c (prepare_scc_operands): Add EQ case.
amylaar [Wed, 19 Jan 2000 21:49:21 +0000 (21:49 +0000)]
* sh.c (prepare_scc_operands): Add EQ case.

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

24 years ago * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
amylaar [Wed, 19 Jan 2000 21:47:13 +0000 (21:47 +0000)]
* sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
(GO_IF_LEGITIMATE_ADDRESS): Added missing tab.

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

24 years ago * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
zack [Wed, 19 Jan 2000 21:41:04 +0000 (21:41 +0000)]
* fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
* fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
(fix_char_macro_defines, fix_char_macro_uses): New functions.

* fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
Recognize Emacs mode markers also.
* fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
C++ comments in C++ headers.  Call is_cxx_header only if
necessary.

* fixinc/inclhack.def (avoid_bool): Add select for the problem and
bypass for ncurses.
(bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
(io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
... these, which use the new C fixes.
(math_exception): Escape literal '+' in bypass expression.

* fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
Regenerate.

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

24 years ago2000-01-19 Alexandre Petit-Bianco <apbianco@cygnus.com>
tromey [Wed, 19 Jan 2000 21:38:43 +0000 (21:38 +0000)]
2000-01-19  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* libjava.lang/anon.java, libjava.lang/anon2.java,
libjava.lang/anon3.java, libjava.lang/anon4.java,
libjava.lang/direct_read.java, libjava.lang/direct_write.java,
libjava.lang/indirect.java, libjava.lang/indirect_read.java,
libjava.lang/indirect_write.java, libjava.lang/inner1.java,
libjava.lang/inner2.java, libjava.lang/inner3.java,
libjava.lang/inner4.java, libjava.lang/inner_array.java,
libjava.lang/multiple_finit.java,
libjava.lang/private_direct_read.java,
libjava.lang/private_direct_write.java,
libjava.lang/private_indirect_read.java,
libjava.lang/private_indirect_write.java,
libjava.lang/search_outer.java, libjava.lang/tmi.java,
libjava.lang/tp.java, libjava.lang/update_outer.java: New files.

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

24 years ago * interpret.cc (PC_REGISTER_ASM): Removed.
tromey [Wed, 19 Jan 2000 21:08:03 +0000 (21:08 +0000)]
* interpret.cc (PC_REGISTER_ASM): Removed.

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

24 years ago* rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
geoffk [Wed, 19 Jan 2000 20:21:08 +0000 (20:21 +0000)]
* rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
inside the MEM.

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

24 years ago * loop.c (loop_optimize): Allocate loop_info structure for each loop
m.hayes [Wed, 19 Jan 2000 20:10:00 +0000 (20:10 +0000)]
* loop.c (loop_optimize): Allocate loop_info structure for each loop
prior to calling scan_loop.

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

24 years ago * sh.c (prepare_scc_operands): Abort if no compare insn is available.
amylaar [Wed, 19 Jan 2000 20:00:09 +0000 (20:00 +0000)]
* sh.c (prepare_scc_operands): Abort if no compare insn is available.
(find_barrier, gen_block_redirect, split_branches): Fix indentation.
(calc_live_regs): Likewise.

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

24 years ago * sh.md (fpu_single, fp_mode): New attributes.
amylaar [Wed, 19 Jan 2000 19:18:20 +0000 (19:18 +0000)]
* sh.md (fpu_single, fp_mode): New attributes.

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

24 years ago * java/lang/natThrowable.cc: Don't use `#pragma implementation'.
tromey [Wed, 19 Jan 2000 18:59:27 +0000 (18:59 +0000)]
* java/lang/natThrowable.cc: Don't use `#pragma implementation'.
From Bryce McKinlay.

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

24 years ago * All files: Updated copyright to reflect Cygnus purchase.
tromey [Wed, 19 Jan 2000 18:39:27 +0000 (18:39 +0000)]
* All files: Updated copyright to reflect Cygnus purchase.

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

24 years ago * libjava.compile/inner_pub.java: New file.
tromey [Wed, 19 Jan 2000 17:28:32 +0000 (17:28 +0000)]
* libjava.compile/inner_pub.java: New file.

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

24 years ago2000-01-19 Gabriel Dos Reis <gdr@codesourcery>
gdr [Wed, 19 Jan 2000 11:34:03 +0000 (11:34 +0000)]
2000-01-19  Gabriel Dos Reis  <gdr@codesourcery>

        * decl2.c (lang_decode_option): Set default line-wrap length to 72.

        * typeck.c (composite_pointer_type, common_type,
        comp_target_parms, c_sizeof, expr_sizeof, build_array_ref,
        build_function_call_real, convert_arguments,
        build_binary_op_nodefault, pointer_int_sum, pointer_diff,
        build_unary_op, mark_addressable, build_compound_expr,
        build_static_cast, build_reinterpret_cast, build_const_cast,
        build_c_cast, build_modify_expr, get_delta_difference,
        build_ptrmemfunc, check_return_expr): Replace 'ANSI C++' with
        'ISO C++'.  Fusion consecutive calls to diagnotic message routines
        into a single one.
        * typeck2.c (readonly_error, abstract_virtuals_error,
        process_init_constructor, check_for_new_type): Likewise.

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

24 years ago * loop.c (current_loop_info): Renamed from loop_info_data
m.hayes [Wed, 19 Jan 2000 11:19:20 +0000 (11:19 +0000)]
* loop.c (current_loop_info): Renamed from loop_info_data
and changed to a pointer.
(loop_optimize): Allocate loop_info structure for each loop
and initialise to zero.
(scan_loop): Set current_loop_info.

* unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
on iteration_var.

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

24 years agoloop.c
m.hayes [Wed, 19 Jan 2000 11:17:13 +0000 (11:17 +0000)]
loop.c

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

24 years ago * stupid.c: Die die die.
rth [Wed, 19 Jan 2000 09:42:11 +0000 (09:42 +0000)]
* stupid.c: Die die die.
* Makefile.in (OBJS): Remove stupid.o.
(stupid.o): Likewise.

* except.c (emit_eh_context): Don't emit USEs for stupid.
* explow.c (probe_stack_range): Likewise.
* flags.h (obey_regdecls): Remove.
* flow.c (find_basic_blocks): Don't run try_merge_blocks
when not optimizing.
(life_analysis): Limit data collection when not optimizing.
(mark_regs_live_at_end): Always mark the return value registers.
(mark_used_regs): Remove dummy RETURN case.
(print_rtl_with_bb): Don't consult obey_regdecls.
* function.c (use_variable, use_variable_after): Remove.
(assign_parms): Consult optimize not obey_regdecls.
(expand_function_start): Don't emit USEs for stupid.
(expand_function_end): Likewise.
* global.c (build_insn_chain): Export.
* integrate.c (expand_inline_function): Kill return-value USE
handling code.
* jump.c (jump_optimize_1): Do simple jump optimizations and
dead code elimination.
(calculate_can_reach_end): Remove check_deleted argument.
(delete_insn): Patch out insns even when not optimizing.
* local-alloc.c (block_alloc): Don't do tying when not optimizing.
* rtl.h (use_variable, use_variable_after): Remove declarations.
(build_insn_chain): Declare.
* stmt.c (expand_value_return): Don't emit USEs for stupid.
(expand_end_bindings): Likewise.
(expand_decl): Likewise.  Consult optimize not obey_regdecls.
* toplev.c (obey_regdecls): Remove.
(rest_of_compilation): Don't set it.  Kill stupid in favour of
flow1, local-alloc, and reload.
(main): Don't set obey_regdecls.

* config/nextstep.c (handle_pragma): Likewise.

* alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.

* arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.

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

24 years ago * tree.c (bot_manip): Set DECL_CONTEXT for newly created
mmitchel [Wed, 19 Jan 2000 09:04:41 +0000 (09:04 +0000)]
* tree.c (bot_manip): Set DECL_CONTEXT for newly created
VAR_DECLs.

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

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

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

24 years ago2000-01-18 Bryce McKinlay <bryce@albatross.co.nz>
tromey [Wed, 19 Jan 2000 05:06:03 +0000 (05:06 +0000)]
2000-01-18  Bryce McKinlay <bryce@albatross.co.nz>

* configure: Rebuilt.
* configure.in: Recognize --disable-interpreter.

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

24 years ago * alpha-protos.h: PROTO -> PARAMS.
ghazi [Tue, 18 Jan 2000 23:44:36 +0000 (23:44 +0000)]
    * alpha-protos.h: PROTO -> PARAMS.
        * alpha.c: Likewise.
        * elf.h: Likewise.
        * h8300.c: Likewise.
        * i386-protos.h: Likewise.
        * i386.c: Likewise.
        * m32r-protos.h: Likewise.
        * m32r.c: Likewise.
        * mips.c: Likewise.
        * mips.md: Likewise.
        * gmon-sol2.c: Likewise.
        * sparc.c: Likewise.

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

24 years ago * ns32k-protos.h: New file.
ghazi [Tue, 18 Jan 2000 23:06:06 +0000 (23:06 +0000)]
    * ns32k-protos.h: New file.

        * ns32k.c: Fix compile time warnings.

        * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
        warnings.

        * ns32k.md: Likewise.

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

24 years ago * vax-protos.h: New file.
ghazi [Tue, 18 Jan 2000 23:02:03 +0000 (23:02 +0000)]
    * vax-protos.h: New file.

        * vax.c: Fix compile time warnings.

        * vax.h: Move prototypes to vax-protos.h.  Fix compile time
        warnings.

        * vax.md: Likewise.

        * vaxv.md: Likewise.

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

24 years ago * romp-protos.h: New file.
ghazi [Tue, 18 Jan 2000 22:59:40 +0000 (22:59 +0000)]
    * romp-protos.h: New file.

        * romp.c: Fix compile time warnings.

        * romp.h: Move prototypes to romp-protos.h.  Fix compile time
        warnings.

        * romp.md: Likewise.

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

24 years ago * we32k-protos.h: New file.
ghazi [Tue, 18 Jan 2000 22:56:37 +0000 (22:56 +0000)]
    * we32k-protos.h: New file.

        * we32k.c: Fix compile time warnings.

        * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
        warnings.

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

24 years ago * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
ghazi [Tue, 18 Jan 2000 22:45:16 +0000 (22:45 +0000)]
    * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.

        * except.c (eh_regs): Likewise.

        * final.c (output_operand): Likewise.

        * fold-const.c (target_isinf, target_isnan): Likewise.

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

24 years ago * i386.h (BIGGEST_ALIGNMENT): Set to 128.
hubicka [Tue, 18 Jan 2000 16:06:54 +0000 (16:06 +0000)]
* i386.h (BIGGEST_ALIGNMENT): Set to 128.
(BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)

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

24 years ago * i386.md (memstr): Do not use rep stosb for counts divisible by 4
hubicka [Tue, 18 Jan 2000 15:25:05 +0000 (15:25 +0000)]
* i386.md (memstr): Do not use rep stosb for counts divisible by 4
when optimize_size.
(clrstrsi): Rewrite.
(strsethi, strsetqi): New expanders.
(strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
(cmpstrsi): Emit compare insn before cmpstrsi_1
(cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
(strlensi_1): Likewise.
(cmpstrsi_1): Likewise; do not output compare.
(strlen expander): Do not unroll when optimizing for size.
(*subsi3_carry): Rename to subsi3_carry
(addqi3_cc): New pattern.
* i386.h (processor_costs): Add move_ratio field.
(MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
* i386.c (*_cost): Set move_ratio.
(x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
(x86_expand_strlensi_1): Rewrite the main loop.

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

24 years ago2000-01-18 Andrew Haley <aph@cygnus.com>
aph [Tue, 18 Jan 2000 14:42:14 +0000 (14:42 +0000)]
2000-01-18  Andrew Haley  <aph@cygnus.com>

* name-finder.cc (lookup): Check for dladdr function.
acconfig.h (HAVE_DLADDR): Add.
configure.in: Check for HAVE_DLADDR
configure: Rebuilt.
include/config.h.in:  Rebuilt.

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

24 years ago2000-01-17 Andrew Haley <aph@cygnus.com>
aph [Tue, 18 Jan 2000 14:37:34 +0000 (14:37 +0000)]
2000-01-17  Andrew Haley  <aph@cygnus.com>

* prims.cc (_Jv_RunMain): Set the name of this executable.

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

24 years ago * cp-tree.h (get_tinfo_fn_dynamic): Remove prototype.
nathan [Tue, 18 Jan 2000 10:23:31 +0000 (10:23 +0000)]
* cp-tree.h (get_tinfo_fn_dynamic): Remove prototype.
(build_x_typeid): Likewise.
(get_tinfo_fn): Likewise.
(get_tinfo_fn_unused): Rename to ...
(get_tinfo_decl): ... here.
* rtti.c (build_headof): Replace logic error with assertion.
(get_tinfo_fn_dynamic): Rename to ...
(get_tinfo_decl_dynamic): ... here. Make static. Use
complete_type_or_else.
(build_x_typeid): Move into ...
(build_typeid): ... here. Adjust call to
get_tinfo_decl_dynamic. Use tinfo_from_decl. Simplify
throw_bad_typeid expression.
(get_tinfo_fn_unused): Rename to ...
(get_tinfo_decl): ... here. Adjust comment.
(get_tinfo_fn): Delete.
(tinfo_from_decl): New static function.
(get_typeid_1): Call get_tinfo_decl and tinfo_from_decl.
(get_typeid): Use complete_type_or_else.
(build_dynamic_cast_1): Adjust calls to
get_tinfo_decl_dynamic. Simplify throw_bad_cast expression.
* parse.y (primary): Adjust call to build_typeid.
* except.c (build_eh_type_type_ref): Adjust call to
get_tinfo_decl. Mark as used.
* class.c (set_rtti_entry): Adjust call to get_tinfo_decl.
* decl2.c (build_expr_from_tree): Adjust call to build_typeid.
* parse.c: Regenerated.

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

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

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

24 years ago * java/lang/natThrowable.cc (fillInStackTrace): Return `this' even
tromey [Tue, 18 Jan 2000 06:22:13 +0000 (06:22 +0000)]
* java/lang/natThrowable.cc (fillInStackTrace): Return `this' even
when backtrace can't be computed.

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

24 years ago * configure: Rebuilt.
tromey [Tue, 18 Jan 2000 05:33:35 +0000 (05:33 +0000)]
* configure: Rebuilt.
* configure.in: Fixed typo in AC_CONFIG_SUBDIRS call.

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

24 years ago * class.c (fixed_type_or_null): Don't clear NONNULL. Document
mmitchel [Tue, 18 Jan 2000 04:52:50 +0000 (04:52 +0000)]
* class.c (fixed_type_or_null): Don't clear NONNULL.  Document
calling convention.
(resolves_to_fixed_type_p): Document calling convention.
* rtti.c (build_x_typeid): Initialize NONNULL.

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

24 years ago * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
rth [Tue, 18 Jan 2000 00:30:17 +0000 (00:30 +0000)]
    * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
        * cse.c (find_comparison_args, fold_rtx): Likewise.
        * integrate.c (subst_constants): Likewise.
        * loop.c (get_condition): Likewise.

        * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.

        * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.

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

24 years ago * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
loewis [Tue, 18 Jan 2000 00:01:06 +0000 (00:01 +0000)]
* c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
(RESTORE_WARN_FLAGS): Unpack it.
Change semantic type of extension to ttype.
* c-common.c (split_specs_attrs): Expect an INTEGER_CST.
* c-parse.y, c-parse.c, objc/objc-parse.y,
objc/objc-parse.c: Regenerate.

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

24 years agoMon Jan 17 11:58:17 2000 Joerg Brunsmann <joerg.brunsmann@fernuni-hagen.de>
apbianco [Mon, 17 Jan 2000 22:54:30 +0000 (22:54 +0000)]
Mon Jan 17 11:58:17 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>

        * parse.y (format_parameter:): Use final: rule instead of modifiers:.
        (final:): New rule.

Joerg Brunsmann's contribution to fix the Java PR #128.

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

24 years ago * cp-tree.h (build_shared_int_cst): New function.
mmitchel [Mon, 17 Jan 2000 22:54:23 +0000 (22:54 +0000)]
* cp-tree.h (build_shared_int_cst): New function.
* call.c (build_over_call): Use DECL_VIRTUAL_CONTEXT, for clarity.
* class.c (modify_vtable_entry): Likewise.
(add_virtual_function): Split out code to generated shared
INTEGER_CSTs to build_share_int_cst.
(modify_all_vtables): Handle all the overridden functions here.
Add overridden functions from non-primary virtual bases to the
primary vtable.
(finish_struct_1): Adjust call to modify_all_vtables.  Add
overridden functions from non-primary bases to the vtable.
* tree.c (build_shared_int_cst): New function.

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

24 years agoOops, forgot to save ChangeLog on previous commit
zack [Mon, 17 Jan 2000 21:46:23 +0000 (21:46 +0000)]
Oops, forgot to save ChangeLog on previous commit

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

24 years ago * fixinc/fixlib.c: Add copyright notice.
zack [Mon, 17 Jan 2000 21:45:29 +0000 (21:45 +0000)]
* fixinc/fixlib.c: Add copyright notice.
(compile_re): New function.
* fixinc/fixlib.h: Prototype compile_re.

* fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
Use compile_re to compile regular expressions.

* fixinc/fixincl.c (egrep_test): Don't bother asking regexec
where the pattern matched.

* fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
use 'replace'.
(ultrix_ansi_compat): Likewise.
(interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
add egrep test.
(interactv_add2, interactv_add3): Delete.
(x11_sprintf): Don't use filename glob.
* fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
Regenerate.

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

24 years ago * cp-tree.h (scratchalloc): Remove.
mmitchel [Mon, 17 Jan 2000 20:18:43 +0000 (20:18 +0000)]
* cp-tree.h (scratchalloc): Remove.
(build_scratch_list): Likewise.
* call.c (convert_class_to_reference): Replace build_scratch_list
and build_expr_list with build_tree_list.
(add_candidate): Replace scratchalloc with expralloc.  Note memory
leak.
(build_user_type_conversion_1):  Replace build_scratch_list
and build_expr_list with build_tree_list.
(build_new_op): Likewise.
(build_op_delete_call): Likewise.
(convert_like): Likewise.
* cvt.c (ocp_convert): Likewise.
* decl.c (start_decl): Likewise.
(start_function): Likewise.
(finish_destructor_body): Likewise.
(maybe_build_cleanup_1): Likewise.
* decl2.c (reparse_decl_as_expr): Likewise.
* init.c (perform_member_init): Likewise.
(expand_cleanup_for_base): Likewise.
(build_builtin_delete_call): Likewise.
(build_new_1): Likewise.
(build_delete): Likewise.
* method.c (do_build_assign_ref): Likewise.
* parse.y (already_scoped_stmt): Likewise.
(nontrivial_exprlist): Likewise.
(net_initializer): Likewise.
(initlist): Likewise.
* parse.c: Regenerated.
* rtti.c (build_x_typeid): Likewise.
(build_dynamic_cast_1): Likewise.
* typeck.c (build_x_compound_expr): Likewise.
(build_static_cast): Likewise.
(build_modify_expr): Likewise.

* cp-tree.h (DECL_VINDEX): Add documentation.
* class.c (build_vtable_entry): Likewise.
(start_vtable): Add comment.
(add_virtual_function): Replace pending_hard_virtuals with
overridden_virtuals and pending_virtuals with new_virtuals.
Replace redundant assignments with assertions.
(check_for_override): Add comment.
(check_bases_and_members): Replace pending_hard_virtuals with
overridden_virtuals and pending_virtuals with new_virtuals.
(create_vtbl_ptr): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Likewise.  Add comments.

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

24 years ago * java/lang/Runtime.java (loadLibraryInternal): Declare.
tromey [Mon, 17 Jan 2000 19:22:20 +0000 (19:22 +0000)]
* java/lang/Runtime.java (loadLibraryInternal): Declare.
* java/lang/natClassLoader.cc (_Jv_FindClass): Removed dead copy.
(_Jv_FindClassInCache): Likewise.
(_Jv_FindClass): Don't conditionalize body on INTERPRETER.
(findSystemClass): Try to load class from compiled module.
Include Runtime.h.
* java/lang/natRuntime.cc (load): Use UTF-8 copy of filename.
(loadLibrary): Likewise.
(lt_preloaded_symbols): Define.
(loadLibraryInternal): New method.
* include/config.h.in: Rebuilt.
* acconfig.h (USE_LTDL): Added.
* Makefile.am (SUBDIRS): Added $(DIRLTDL).
(INCLUDES): Added $(INCLTDL).b
(libgcj_la_DEPENDENCIES): Added $(LIBLTDL).
(libgcj_la_LIBADD): Likewise.
* aclocal.m4, configure: Rebuilt.
* configure.in: Added libltdl support.

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