OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years agoregenerate
korbb [Sun, 20 Feb 2000 23:15:50 +0000 (23:15 +0000)]
regenerate

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

24 years agova_list typedef needs to be disabled
korbb [Sun, 20 Feb 2000 23:15:32 +0000 (23:15 +0000)]
va_list typedef needs to be disabled

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

24 years ago* print-rtl.c (print_rtx): Don't print addresses when
geoffk [Sun, 20 Feb 2000 21:26:53 +0000 (21:26 +0000)]
* print-rtl.c (print_rtx): Don't print addresses when
flag_dump_unnumbered.

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

24 years ago * sparc.c (sparc_output_scratch_registers): Mark parameter with
ghazi [Sun, 20 Feb 2000 13:43:58 +0000 (13:43 +0000)]
* sparc.c (sparc_output_scratch_registers): Mark parameter with
ATTRIBUTE_UNUSED.
(sparc_va_arg, sparc_flat_output_function_prologue,
sparc_flat_output_function_epilogue): Cast value to unsigned in
comparison.
(sparc_emit_float_lib_cmp): Remove unused variable `cmp'.

* sparc.md: Add default case in switch.

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

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

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

24 years ago * c-typeck.c (add_pending_init): Don't abort for multiple
rth [Sun, 20 Feb 2000 08:30:30 +0000 (08:30 +0000)]
    * c-typeck.c (add_pending_init): Don't abort for multiple
        fields at the same offset.
        (pending_init_member): Test the correct member.

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

24 years agoNew test.
rth [Sun, 20 Feb 2000 08:28:28 +0000 (08:28 +0000)]
New test.

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

24 years ago * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
rth [Sun, 20 Feb 2000 06:43:00 +0000 (06:43 +0000)]
    * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
        instead of SImode.
        (start_catch_handler) : Same.

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

24 years ago * Makefile.in: Have flow.o depend on $(EXPR_H)
rth [Sun, 20 Feb 2000 06:41:47 +0000 (06:41 +0000)]
    * Makefile.in: Have flow.o depend on $(EXPR_H)

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

24 years ago * jcf-depend.c (add_entry): Fix test for first list entry.
green [Sun, 20 Feb 2000 04:16:42 +0000 (04:16 +0000)]
* jcf-depend.c (add_entry): Fix test for first list entry.

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

24 years agoMove language-specific entries
kenner [Sun, 20 Feb 2000 03:53:02 +0000 (03:53 +0000)]
Move language-specific entries

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

24 years ago * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
kenner [Sun, 20 Feb 2000 03:49:14 +0000 (03:49 +0000)]
* c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
* c-decl.c (duplicate_decls, finish_enum): Likewise.
(finish_decl): Remove -Wlarger-than code from here.
* flags.h (id_clash_len): Now int.
(larger_than_size): Now HOST_WIDE_INT.
* fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
Clean up checking to see if in table.
(make_bit_field_ref): Remove extra parm to bitsize_int.
* ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
* print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
* stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
and for computing size of decl.
* stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
Move -Wlarger-than code to here.
(layout_record): Remove extra arg to bitsize_int.
Set TYPE_BINFO_SIZE_UNIT.
(layout_union): Remove extra arg to bitsize_int.
Use proper type for size of QUAL_UNION.
(layout_type): Remove extra arg to bitsize_int.
* toplev.c (id_clash_len): Now int.
(larger_than_size): Now HOST_WIDE_INT.
(decode_W_option): Clean up id-clash and larger-than- cases.
* tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
(expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
* tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
(struct tree_decl): New field size_unit.
(size_int_wide): No HIGH operand; NUMBER is now signed.
(size_int_2): Deleted.
(size_int, bitsize_int): Don't use it and rework args.
* varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
* ch/decl.c (layout_enum): Set DECL_SIZE_UNIT.
* ch/satisfy.c (safe_satisfy_decl): Likewise.
* cp/class.c (build_primary_vtable, layout_vtable_decl): Likewise.
(avoid_overlap, build_base_field): Likewise.
(build_base_field, build_base_fields, is_empty_class):
Test DECL_SIZE with integer_zero.
(layout_class_type): Set CLASSTYPE_SIZE_UNIT.
* cp/cp-tree.h (struct lang_type): New field size_unit.
(CLASSTYPE_SIZE_UNIT): New macro.
* cp/decl.c (init_decl_processing): Set DECL_SIZE_UNIT.
(cp_finish_decl): Delete -Wlarger-than processing.
* cp/optimize.c (remap_decl): Walk DECL_SIZE_UNIT.
* cp/pt.c (tsubst_decl): Set DECL_SIZE_UNIT.
* cp/tree.c (make_binfo): binfo vector is one entry longer.
(walk_tree): Walk DECL_SIZE_UNIT.
* f/com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT.
(ffecom_transform_common_, ffecom_transform_equiv_): Likewise.
(duplicate_decls): Likewise.
(ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int.
(finish_decl): Delete -Wlarger-than processing.
* java/class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT.
* java/constants.c (build_constants_constructor): Likewise.

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

24 years ago * class.c (dfs_build_vcall_offset_vtbl_entries): Fix typo in
mmitchel [Sun, 20 Feb 2000 02:46:56 +0000 (02:46 +0000)]
* class.c (dfs_build_vcall_offset_vtbl_entries): Fix typo in
comment.
(build_vtable_entry): Don't assume all vtable entries are
functions.
(build_vtbl_initializer): Adjust accordingly.
(get_vtable_decl): Fix formatting.

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

24 years ago * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
kenner [Sun, 20 Feb 2000 01:11:00 +0000 (01:11 +0000)]
* c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
* c-decl.c (duplicate_decls, finish_enum): Likewise.
(finish_decl): Remove -Wlarger-than code from here.
* flags.h (id_clash_len): Now int.
(larger_than_size): Now HOST_WIDE_INT.
* fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
Clean up checking to see if in table.
(make_bit_field_ref): Remove extra parm to bitsize_int.
* ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
* print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
* stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
and for computing size of decl.
* stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
Move -Wlarger-than code to here.
(layout_record): Remove extra arg to bitsize_int.
Set TYPE_BINFO_SIZE_UNIT.
(layout_union): Remove extra arg to bitsize_int.
Use proper type for size of QUAL_UNION.
(layout_type): Remove extra arg to bitsize_int.
* toplev.c (id_clash_len): Now int.
(larger_than_size): Now HOST_WIDE_INT.
(decode_W_option): Clean up id-clash and larger-than- cases.
* tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
(expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
* tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
(struct tree_decl): New field size_unit.
(size_int_wide): No HIGH operand; NUMBER is now signed.
(size_int_2): Deleted.
(size_int, bitsize_int): Don't use it and rework args.
* varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
* ch/decl.c (layout_enum): Set DECL_SIZE_UNIT.
* ch/satisfy.c (safe_satisfy_decl): Likewise.
* cp/class.c (build_primary_vtable, layout_vtable_decl): Likewise.
(avoid_overlap, build_base_field): Likewise.
(build_base_field, build_base_fields, is_empty_class):
Test DECL_SIZE with integer_zero.
(layout_class_type): Set CLASSTYPE_SIZE_UNIT.
* cp/cp-tree.h (struct lang_type): New field size_unit.
(CLASSTYPE_SIZE_UNIT): New macro.
* cp/decl.c (init_decl_processing): Set DECL_SIZE_UNIT.
(cp_finish_decl): Delete -Wlarger-than processing.
* cp/optimize.c (remap_decl): Walk DECL_SIZE_UNIT.
* cp/pt.c (tsubst_decl): Set DECL_SIZE_UNIT.
* cp/tree.c (make_binfo): binfo vector is one entry longer.
(walk_tree): Walk DECL_SIZE_UNIT.
* f/com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT.
(ffecom_transform_common_, ffecom_transform_equiv_): Likewise.
(duplicate_decls): Likewise.
(ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int.
(finish_decl): Delete -Wlarger-than processing.
* java/class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT.
* java/constants.c (build_constants_constructor): Likewise.

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

24 years ago * jcf-depend.c (add_entry): Add entries to the end of the list.
green [Sat, 19 Feb 2000 23:02:33 +0000 (23:02 +0000)]
    * jcf-depend.c (add_entry): Add entries to the end of the list.

I

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

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

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

24 years ago * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
law [Sat, 19 Feb 2000 03:02:58 +0000 (03:02 +0000)]
    * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.

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

24 years ago2000-02-19 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Sat, 19 Feb 2000 02:54:14 +0000 (02:54 +0000)]
2000-02-19  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/util/zip/ZipEntry.java (setCrc): Fix overflow.
        (setSize): ditto.

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

24 years ago* invoke.texi (Warning Options): Add an explanation of why
geoffk [Sat, 19 Feb 2000 01:37:31 +0000 (01:37 +0000)]
* invoke.texi (Warning Options): Add an explanation of why
you might want the -Wfloat-equal flag.

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

24 years ago * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
kenner [Sat, 19 Feb 2000 01:27:00 +0000 (01:27 +0000)]
* bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
* cppinit.c (new_pending_define): Add cast to avoid warning.
* expmed.c (extract_bit_field): Likewise.
* flow.c (enum reorder_skip_type): New type.
(skip_insns_between_blcok): New it.
Rework to avoid warning about possibly undefined variable.
* function.c (assign_parms): Make thisparm_boundary unsigned.
* genrecog.c (write_switch): Cast XWINT result to int.
* lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
* mips-tfile.c (init_file): Make two versions of FDR intializer:
one for MIPS and one for Alpha.
(get_tag, copy_object): Add casts to avoid warnings.
* optabs.c (init_one_libfunc): Cast NAME to (char *).
* reload.c (find_reloads): Make TYPE enum reload_type.
* sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
* unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
* varasm.c (compare_constant_1): Add cast to avoid warning.
* config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
to (char *).
(alpha_expand_unaligned_load, alpha_expand_unaligned_store):
  Cast switch operand of size to int.
(alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
* config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
in unhandled case.

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

24 years ago * semantics.c (deferred_type_access_control): Walk the entire
jason [Fri, 18 Feb 2000 22:42:07 +0000 (22:42 +0000)]
    * semantics.c (deferred_type_access_control): Walk the entire
        type_lookups list.
        (save_type_access_control): Rename from
        initial_deferred_type_access_control.  Just remember the value.
        (decl_type_access_control): New fn.
        (begin_function_definition): Use deferred_type_access_control, after
        we've started the function.  Set type_lookups to error_mark_node.
        * parse.y (frob_specs, fn.def1): Adjust.
        (parse_decl0, parse_field, parse_field0, parse_bitfield): New fns.
        (parse_end_decl, parse_bitfield0, parse_method): New fns.
        (fn.def2, initdcl, initdcl0_innards, nomods_initdcl0): Use them.
        (after_type_component_declarator0): Likewise.
        (after_type_component_declarator): Likewise.
        (notype_component_declarator): Likewise.
        * cp-tree.h: Adjust.

        * decl.c (redeclaration_error_message): Allow redeclaration of
        namespace-scope decls.

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

24 years agonew
jason [Fri, 18 Feb 2000 22:24:31 +0000 (22:24 +0000)]
new

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

24 years ago * include/jvm.h (_Jv_GetJavaVM): Declare.
tromey [Fri, 18 Feb 2000 21:22:06 +0000 (21:22 +0000)]
* include/jvm.h (_Jv_GetJavaVM): Declare.
* include/java-interp.h (_Jv_GetFirstMethod): New function.
(_Jv_MethodBase::get_method): New method.
(_Jv_JNIMethod::set_function): New method.
* jni.cc (_Jv_JNI_UnregisterNatives): New function.
(_Jv_JNI_RegisterNatives): New function.
(_Jv_JNIFunctions): Updated for new functions.
(_Jv_GetJavaVM): New function.
(_Jv_JNI_GetJavaVM): Use it.  Now static.
(_Jv_JNI_AttachCurrentThread): Create a new JNIEnv if this thread
is already a Java thread but does not have a JNIEnv yet.

* java/lang/natRuntime.cc (_load): Pass the JavaVM to the onload
function.

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

24 years ago * libjava.jni/register.java: New file.
tromey [Fri, 18 Feb 2000 21:15:32 +0000 (21:15 +0000)]
* libjava.jni/register.java: New file.
* libjava.jni/register.c: New file.
* libjava.jni/register.out: New file.

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

24 years ago*** empty log message ***
cchavva [Fri, 18 Feb 2000 20:56:47 +0000 (20:56 +0000)]
*** empty log message ***

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

24 years agoPrevent emission of "a.lign 0" directives
nickc [Fri, 18 Feb 2000 18:22:10 +0000 (18:22 +0000)]
Prevent emission of "a.lign 0" directives

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

24 years agoWed Nov 03 02:16:00 PST 1999 Pekka Nikander <pekka.nikander@hut.fi>
apbianco [Fri, 18 Feb 2000 18:17:37 +0000 (18:17 +0000)]
Wed Nov 03 02:16:00 PST 1999  Pekka Nikander  <pekka.nikander@hut.fi>

* decl.c (INT_TYPE_SIZE): Define if necessary.
(expand_java_return): Handle the case of a native integer smaller
  than a JVM integer.

(Fix to the Java PR #82:
  http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00078.html)

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

24 years ago * gcc.texi (Bug Reporting): Refer to bugs.html.
loewis [Fri, 18 Feb 2000 12:26:50 +0000 (12:26 +0000)]
* gcc.texi (Bug Reporting): Refer to bugs.html.
(Bug Lists): Likewise.
* system.h (GCCBUGURL): New preprocessor define.
* rtl.c (fancy_abort): Use it.
* gcc.c (main): Likewise.
* typeck2.c (my_friendly_abort): Use GCCBUGURL.
* g77spec.c (lang_specific_driver): Use GCCBUGURL.
* gjavah.c (help): Use GCCBUGURL.
* jv-scan.c (help): Likewise.
* jcf-dump.c (help): Likewise.

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

24 years agoFix typos in -fmessage-length doc
nathan [Fri, 18 Feb 2000 10:59:43 +0000 (10:59 +0000)]
Fix typos in -fmessage-length doc

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

24 years agoMissed changelog for life_analysis fix.
rth [Fri, 18 Feb 2000 10:41:31 +0000 (10:41 +0000)]
Missed changelog for life_analysis fix.

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

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

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

24 years ago * loop.c (canonicalize_condition): New function,
wehle [Fri, 18 Feb 2000 06:32:01 +0000 (06:32 +0000)]
* loop.c (canonicalize_condition): New function,
broken out of get_condition.
(get_condition): Use it.
* expr.h (canonicalize_condition): Prototype it.

* tree.h (tree_int_cst_msb): Declare.
* tree.c (tree_int_cst_msb): New function.

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

24 years ago * class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT.
mmitchel [Fri, 18 Feb 2000 06:00:36 +0000 (06:00 +0000)]
* class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT.
* decl2.c (grokclassfn): Likewise.

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

24 years agoRotated ChangeLogs
tromey [Thu, 17 Feb 2000 22:57:30 +0000 (22:57 +0000)]
Rotated ChangeLogs

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

24 years ago2000-02-17 Mark Mitchell <mark@codesourcery.com>
mmitchel [Thu, 17 Feb 2000 20:45:49 +0000 (20:45 +0000)]
2000-02-17  Mark Mitchell  <mark@codesourcery.com>

* ir.texi: Document DECL_TEMPLATE_INSTANTIATIONS.

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

24 years ago * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
mmitchel [Thu, 17 Feb 2000 20:44:22 +0000 (20:44 +0000)]
* stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
isn't set.

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

24 years ago * invoke.texi (-fmessage-length=n): Document.
mmitchel [Thu, 17 Feb 2000 20:38:26 +0000 (20:38 +0000)]
* invoke.texi (-fmessage-length=n): Document.

* decl2.c (lang_decode_option): Don't set default message length
here.
* lex.c (lang_init_options): Set it here.

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

24 years ago * lib/g++.exp (g++_init): Add -fmessage-length=0 to
mmitchel [Thu, 17 Feb 2000 20:24:27 +0000 (20:24 +0000)]
* lib/g++.exp (g++_init): Add -fmessage-length=0 to
ALWAYS_CXXFLAGS.

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

24 years ago * bitmap.c (bitmap_operation): Don't leak bitmap elements.
jason [Thu, 17 Feb 2000 20:24:11 +0000 (20:24 +0000)]
    * bitmap.c (bitmap_operation): Don't leak bitmap elements.

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

24 years ago * function.c (thread_prologue_and_epilogue_insns): Put a line note
mmitchel [Thu, 17 Feb 2000 20:15:50 +0000 (20:15 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Put a line note
after the prologue.

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

24 years ago * gcj/field.h (_Jv_Field::getClass): Don't use JvAssert.
tromey [Thu, 17 Feb 2000 18:34:14 +0000 (18:34 +0000)]
* gcj/field.h (_Jv_Field::getClass): Don't use JvAssert.
Fixes PR gcj/152.

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

24 years agoReplace #include <...> with #include "system.h"
nickc [Thu, 17 Feb 2000 17:59:13 +0000 (17:59 +0000)]
Replace #include <...> with #include "system.h"

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

24 years agoAndy Vaught <andy@maxwell.la.asu.edu>
rth [Thu, 17 Feb 2000 10:06:03 +0000 (10:06 +0000)]
Andy Vaught  <andy@maxwell.la.asu.edu>

        * com.c (ffecom_member_phase2_): Re-enable COMMON debug code.
        (ffecom_finish_symbol_transform_): Likewise.
        (ffecom_transform_common_): Call ffestorag_set_hook.

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

24 years ago * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
rth [Thu, 17 Feb 2000 09:47:43 +0000 (09:47 +0000)]
    * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
        Add crtbeginS.o and crtendS.o.
        * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
        (ENDFILE_SPEC): Use crtendS.o.
        * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.

        * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
        (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
        shared and present.
        (__dso_handle): New variable.
        * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
        bias to __CTOR_END__.

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

24 years agoDaily bump.
law [Thu, 17 Feb 2000 08:45:09 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
rth [Thu, 17 Feb 2000 06:12:35 +0000 (06:12 +0000)]
    * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).

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

24 years ago * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
rth [Thu, 17 Feb 2000 06:07:20 +0000 (06:07 +0000)]
    * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
        default spec.

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

24 years ago * longlong.h (__clz_tab): Declare as static to match definition.
law [Thu, 17 Feb 2000 04:40:47 +0000 (04:40 +0000)]
    * longlong.h (__clz_tab): Declare as static to match definition.

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

24 years ago * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
law [Thu, 17 Feb 2000 04:39:11 +0000 (04:39 +0000)]
    * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
        (XREF_FILE_NAME): Define.

        * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
        (EH_FRAME_SECTION_ASM_OP): Define.
        (IDENT_ASM_OP): Define.
        (TEXT_SECTION_ASM_OP): Define.
        (CPP_SPEC): Define.
        (CTORS_SECTION_ASM_OP): Define.
        (CTOR_SECTION_FUNCTION): Use it.
        (DTORS_SECTION_ASM_OP): Define.
        (DTOR_SECTION_FUNCTION): Use it.

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

24 years ago * reg-stack.c (emit_swap_insn): Do not put a new insn before a
zack [Thu, 17 Feb 2000 04:34:02 +0000 (04:34 +0000)]
* reg-stack.c (emit_swap_insn): Do not put a new insn before a
NOTE_BASIC_BLOCK.

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

24 years ago * configure.in: Add support for avr target.
law [Thu, 17 Feb 2000 04:29:27 +0000 (04:29 +0000)]
    * configure.in: Add support for avr target.
        * configure: Rebuilt.

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

24 years ago * Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on
zack [Thu, 17 Feb 2000 04:19:34 +0000 (04:19 +0000)]
* Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on
lex.c, lex.h, and PARSE_H to...
(parse.o, parse-scan.o): ...here, respectively.

* lex.c: Split out code that may trigger SIGFPE from yylex()
to its own function.
* lex.h (JAVA_FLOAT_RANGE_ERROR): Don't set value.

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

24 years ago * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
zack [Thu, 17 Feb 2000 04:16:40 +0000 (04:16 +0000)]
* flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
debug_bb_n): New functions.
(dump_flow_info, print_rtl_with_bb): Use dump_regset.
* basic-block.h: Prototype new functions.

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

24 years agoAdd Denis as maintainer for avr port.
law [Thu, 17 Feb 2000 04:09:32 +0000 (04:09 +0000)]
Add Denis as maintainer for avr port.

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

24 years ago * invoke.texi: Add AVR invocation docs.
law [Thu, 17 Feb 2000 04:09:21 +0000 (04:09 +0000)]
    * invoke.texi: Add AVR invocation docs.
        * install.texi: Add information about AVR.
        * md.texi: Add AVR constraint letters description.
        * extend.texi: Add description for AVR specific attributes.

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

24 years ago * jni.cc (_Jv_JNI_CallStaticMethodV): Added some assertions.
tromey [Thu, 17 Feb 2000 00:54:34 +0000 (00:54 +0000)]
* jni.cc (_Jv_JNI_CallStaticMethodV): Added some assertions.

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

24 years ago * libjava.jni/calls.c: New file.
tromey [Thu, 17 Feb 2000 00:49:27 +0000 (00:49 +0000)]
* libjava.jni/calls.c: New file.
* libjava.jni/calls.out: New file.
* libjava.jni/calls.java: New file.

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

24 years ago * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
jason [Thu, 17 Feb 2000 00:32:50 +0000 (00:32 +0000)]
    * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".

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

24 years ago Make DECL_CONTEXT mean the class in which a member function was
mmitchel [Wed, 16 Feb 2000 23:54:23 +0000 (23:54 +0000)]
Make DECL_CONTEXT mean the class in which a member function was
declared, even for a virtual function.
* cp-tree.h (DECL_CLASS_CONTEXT): Adjust.
(DECL_FRIEND_CONTEXT): New macro.
(DECL_REAL_CONTEXT): Remove.
(SET_DECL_FRIEND_CONTEXT): Likewise.
(DECL_VIRTUAL_CONTEXT): Adjust.
(DECL_CLASS_SCOPE_P): Use TYPE_P.
(add_friends): Remove.
(hack_decl_function_context): Likewise.
* call.c (build_new_function_call): Replace DECL_REAL_CONTEXT with
CP_DECL_CONTEXT.
(build_over_call): Fix indentation.  Use DECL_CONTEXT
instead of DECL_CLASS_CONTEXT.
* class.c (dfs_build_vcall_offset_vtbl_entries): Likewise.
(add_method): Set DECL_VIRTUAL_CONTEXT, not DECL_CLASS_CONTEXT.
(strictly_overrides): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT.
(build_vtbl_or_vbase_field): Don't set DECL_CLASS_CONTEXT.
(build_base_field): Likewise.
(finish_struct_1): Likewise.
(build_self_reference): Likewise.
* decl.c (push_class_binding): Use CP_DECL_CONTEXT, not
DECL_REAL_CONTEXT.
(pushtag): Use decl_function_context, not
hack_decl_function_context.
(decls_match): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT.
(duplicate_decls): Use DECL_VIRTUAL_CONTEXT.
(pushdecl): Remove bogus code.
(start_decl): Use DECL_CONTEXT rather than DECL_CLASS_CONTEXT.
(cp_finish_decl): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT.
(grokfndecl): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT.
Use decl_function_context, nothack_decl_function_context.
(grokvardecl): Don't set DECL_CLASS_CONTEXT.
(grokdeclarator): Likewise.  Use decl_function_context, not
hack_decl_function_context.
(copy_args_p): Document.  Don't use DECL_CLASS_CONTEXT.
(start_function): Use DECL_FRIEND_CONTEXT, not
DECL_CLASS_CONTEXT.  Use decl_function_context, not
hack_decl_function_context.
(finish_function): Use decl_function_context, not
hack_decl_function_context.
(maybe_retrofit_in_chrg): Use DECL_CONTEXT, not
DECL_CLASS_CONTEXT.
(grokclassfn): Set DECL_VIRTUAL_CONTEXT, not DECL_CONTEXT.
(finish_static_data_member_decl): Don't set DECL_CLASS_CONTEXT.
(grokfield): Likewise.
(finish_builtin_type): Likewise.
(finish_vtable_vardec): Use decl_function_context, not
hack_decl_function_context.
(import_export_decl): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT.
(start_static_initialization_or_destruction): Likewise.
(finish_static_initialization_or_destruction): Likewise.
(mark_used): Adjust logic for deciding when to synthesize methods.
* dump.c (dequeue_and_dump): Use CP_DECL_CONTEXT, not
DECL_REAL_CONTEXT.
* error.c (dump_function_decl): Use DECL_CONTEXT, not
DECL_CLASS_CONTEXT.
* friend.c (is_friend): Likewise.
(add_friends): Remove.
(do_friend): Use SET_DECL_FRIEND_CONTEXT.
* lex.c (begin_definition_of_inclass_inline): Use
decl_function_context, not hack_decl_function_context.
(process_next_inline): Likewise.
(do_identifier): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT.
* method.c (set_mangled_name_for_decl): Use DECL_CONTEXT, not
DECL_CLASSS_CONTEXT.
(hack_identifier): Likewise.
(synthesize_method):  Use decl_function_context, not
hack_decl_function_context.
* pt.c (template_class_depth_real): Use CP_DECL_CONTEXT, not
DECL_REAL_CONTEXT.
(is_member_template): Use decl_function_context, not
hack_decl_function_context.  Use DECL_CONTEXT, not
DECL_CLASS_CONTEXT.
(build_template_decl): Set DECL_VIRTUAL_CONTEXT, not
DECL_CLASS_CONTEXT.
(check_default_tmpl_args): Use CP_DECL_CONTEXT, not
DECL_REAL_CONTEXT.
(push_template_decl_real): Likewise.
(instantiate_class_template): Don't call add_friends.
(tsubst_default_argument): Use DECL_CONTEXT, not
DECL_REAL_CONTEXT.
(tsubst_decl): Set DECL_VIRTUAL_CONTEXT, not DECL_CLASS_CONTEXT.
Use DECL_CONTEXT, not DECL_CLASS_CONTEXT.
(set_meangled_name_for_template_decl): Use DECL_CONTEXT, not
DECL_CLASS_CONTEXT.
* repo.c (repo_inline_used): Likewise.
* search.c (current_scope): Adjust for new _CONTEXT macros.
(context_for_name_lookup): Use CP_DECL_CONTEXT, not
DECL_REAL_CONTEXT.
(friend_accessible_p): Use DECL_CONTEXT, not DECL_CLASS_CONTEXT.
(lookup_fnfields_here):Likewise.
(check_final_overrider): Likewise.
(init_vbase_pointers): Likewise.
(virtual_context): Likewise.
* semantics.c (finish_member_declaration): Just set DECL_CONTEXT.
(expand_body): Use decl_function_context, not
hack_decl_function_context.
* tree.c (hack_decl_function_context): Remove.
* typeck.c (build_x_function_call): Use DECL_CONTEXT, not
DECL_CLASS_CONTEXT.
* typeck2.c (error_not_base_type): Likewise.

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

24 years ago * jni.cc (_Jv_JNI_NewObjectV): Corrected assertion.
tromey [Wed, 16 Feb 2000 22:42:41 +0000 (22:42 +0000)]
* jni.cc (_Jv_JNI_NewObjectV): Corrected assertion.
(_Jv_JNI_NewObject): Likewise.
(_Jv_JNI_NewObjectA): Likewise.
(_Jv_JNI_CallAnyMethodV): In constructor case, pass correct value
as "return" type to _Jv_CallAnyMethodA.
(_Jv_JNI_CallAnyMethodA): Likewise.
(_Jv_JNI_CallAnyVoidMethodV): Likewise.

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

24 years ago * libjava.jni/throwit.java: New file.
tromey [Wed, 16 Feb 2000 22:39:36 +0000 (22:39 +0000)]
* libjava.jni/throwit.java: New file.
* libjava.jni/throwit.c: New file.
* libjava.jni/throwit.out: New file.

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

24 years ago * decl.c (xref_tag): Don't SET_IDENTIFIER_NAMESPACE_VALUE.
jason [Wed, 16 Feb 2000 21:11:08 +0000 (21:11 +0000)]
    * decl.c (xref_tag): Don't SET_IDENTIFIER_NAMESPACE_VALUE.

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

24 years ago * config.guess: Synchronize with master repository.
sirl [Wed, 16 Feb 2000 18:48:36 +0000 (18:48 +0000)]
* config.guess: Synchronize with master repository.
* config.sub: Likewise.

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

24 years ago * jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
tromey [Wed, 16 Feb 2000 18:42:48 +0000 (18:42 +0000)]
* jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
findClass.

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

24 years ago * libjava.jni/findclass.java: New file
tromey [Wed, 16 Feb 2000 18:41:28 +0000 (18:41 +0000)]
* libjava.jni/findclass.java: New file
* libjava.jni/findclass.c: New file
* libjava.jni/findclass.out: New file

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

24 years ago * libjava.jni/findclass.java: New file
tromey [Wed, 16 Feb 2000 18:35:05 +0000 (18:35 +0000)]
* libjava.jni/findclass.java: New file
* libjava.jni/findclass.c: New file
* libjava.jni/findclass.out: New file

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

24 years agoMove RTL checking code into make_insn_raw
nickc [Wed, 16 Feb 2000 17:56:21 +0000 (17:56 +0000)]
Move RTL checking code into make_insn_raw

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

24 years ago * configure (gcc_version): When setting, narrow search to
ghazi [Wed, 16 Feb 2000 16:22:47 +0000 (16:22 +0000)]
* configure (gcc_version): When setting, narrow search to
lines containing `version_string'.

gcc:
* version.c: Include gansidecl.h and version.h.

* version.h: Wrap entire file in macro __GCC_VERSION_H__.

* configure.in (gcc_version): When setting, narrow search to
lines containing `version_string'.

* Makefile.in (mainversion): Likewise.
(GCC_H): New variable.
(gcc.h): Delete target.
(gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
(version.o): Depend on version.h.
(dbxout.o): Don't depend on gcc.h.

gcc/cp:
* Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h.

gcc/f:
* Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.

gcc/java:
* Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h.

libf2c:
* configure.in (gcc_version): When setting, narrow search to
lines containing `version_string'.

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

24 years ago * md.texi (Simple Constraints): Add item about whitespace.
hp [Wed, 16 Feb 2000 14:44:19 +0000 (14:44 +0000)]
* md.texi (Simple Constraints): Add item about whitespace.
* genoutput.c (strip_whitespace): New.
(scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
strip_whitespace for constraints.
Test pointer using NULL, not 0.

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

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

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

24 years ago* cpplib.c (do_line): Pedwarn for #line > 32767.
aoliva [Wed, 16 Feb 2000 08:43:57 +0000 (08:43 +0000)]
* cpplib.c (do_line): Pedwarn for #line > 32767.

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

24 years ago* c-lex.c (readescape): Warn about 'x', but do not reject it.
aoliva [Wed, 16 Feb 2000 08:40:32 +0000 (08:40 +0000)]
* c-lex.c (readescape): Warn about 'x', but do not reject it.

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

24 years agoJonathan Larmour <jlarmour@redhat.co.uk>:
rth [Wed, 16 Feb 2000 07:54:53 +0000 (07:54 +0000)]
Jonathan Larmour  <jlarmour@redhat.co.uk>:
Add new __GNUC_PATCHLEVEL__ define.

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

24 years ago * config.sub: Add support for avr target.
rth [Wed, 16 Feb 2000 06:57:09 +0000 (06:57 +0000)]
    * config.sub: Add support for avr target.

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

24 years ago * configure.in: Add support for avr target.
rth [Wed, 16 Feb 2000 06:56:08 +0000 (06:56 +0000)]
    * configure.in: Add support for avr target.

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

24 years ago2000-02-16 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 16 Feb 2000 05:13:46 +0000 (05:13 +0000)]
2000-02-16  Bryce McKinlay  <bryce@albatross.co.nz>

        * libjava.lang/InterfaceDispatch.java: New file.
        * libjava.lang/InterfaceDispatch.out: New file.

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

24 years ago * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
amylaar [Wed, 16 Feb 2000 03:23:40 +0000 (03:23 +0000)]
* sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
(sh_addr_diff_vec_mode): Don't declare.
* sh.c (sh_addr_diff_vec_mode): Delete.

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

24 years ago2000-01-16 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Wed, 16 Feb 2000 01:38:11 +0000 (01:38 +0000)]
2000-01-16  Gabriel Dos Reis  <gdr@codesourcery.com>

        * decl2.c (lang_decode_option): Enable automatic line wrapping.

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

24 years ago * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
amylaar [Wed, 16 Feb 2000 01:29:42 +0000 (01:29 +0000)]
* sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.

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

24 years ago * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
amylaar [Wed, 16 Feb 2000 00:59:17 +0000 (00:59 +0000)]
* sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
(smulsi3_highpart_i): Name.
(udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
(divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
(smulsi3_highpart, umulsi3_highpart): Likewise.

(mulsidi3_i, umulsidi3_i): Make rtl describe operation
correctly independent of endianness.
(mulsidi3, umulsidi3): Now define_insn.  Hide details that
confuse the optimizers.
(mulsidi3+1, umulsidi3+1): New define_split.

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

24 years ago * libjava.jni/virtual.java: New file.
tromey [Wed, 16 Feb 2000 00:19:55 +0000 (00:19 +0000)]
* libjava.jni/virtual.java: New file.
* libjava.jni/virtual.c: New file.
* libjava.jni/virtual.out: New file.
* libjava.jni/final_method.java: New file.
* libjava.jni/final_method.c: New file.
* libjava.jni/final_method.out: New file.
* libjava.jni/overload.java: New file.
* libjava.jni/overload.c: New file.
* libjava.jni/overload.out: New file.
* libjava.jni/simple_int.java: New file.
* libjava.jni/simple_int.c: New file.
* libjava.jni/simple_int.out: New file.
* libjava.jni/invoke.out: New file.
* libjava.jni/invoke.c: New file.
* libjava.jni/invoke.java: New file.

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

24 years ago * resolve.cc (ncode): Set args_raw_size. Compute jni_cif and
tromey [Wed, 16 Feb 2000 00:07:34 +0000 (00:07 +0000)]
* resolve.cc (ncode): Set args_raw_size.  Compute jni_cif and
jni_arg_types.
(init_cif): Added `rtype_p' argument.
* include/java-interp.h (class _Jv_MethodBase): Added
args_raw_size.
(class _Jv_InterpMethod): Removed args_raw_size.
(class _Jv_JNIMethod): Added jni_cif and jni_arg_types fields.
* jni.cc (call): Pass JNIEnv and (for static methods only) the
class pointer as well as the ordinary arguments.

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

24 years ago * config/sh/sh.md: Guard insn splits against illegal registers.
amylaar [Tue, 15 Feb 2000 23:25:28 +0000 (23:25 +0000)]
* config/sh/sh.md: Guard insn splits against illegal registers.
* config/sh/sh.h: Correct comment about macros.

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

24 years ago * jni.cc (mangled_name): Skip leading `(' in signature.
tromey [Tue, 15 Feb 2000 22:59:23 +0000 (22:59 +0000)]
* jni.cc (mangled_name): Skip leading `(' in signature.

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

24 years agoMon Jan 18 14:30:09 2000 Joerg Brunsmann <joerg.brunsmann@fernuni-hagen.de>
apbianco [Tue, 15 Feb 2000 22:54:21 +0000 (22:54 +0000)]
Mon Jan 18 14:30:09 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>

* gjavah.c: Delete ACC_VISIBILITY define.
* jcf.h: Add ACC_VISIBILITY define.
* parse.y: final: rule tagged <value>.
(java_check_regular_methods): Use ACC_VISIBILITY define for
default package access check.
(local_variable_declaration_statement): Use final: rule.

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

24 years ago * jni.cc (add_char): Added missing `else'.
tromey [Tue, 15 Feb 2000 22:42:10 +0000 (22:42 +0000)]
* jni.cc (add_char): Added missing `else'.

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

24 years ago * Makefile.in (lcm.o): Depend on insn-attr.h.
amylaar [Tue, 15 Feb 2000 22:34:33 +0000 (22:34 +0000)]
* Makefile.in (lcm.o): Depend on insn-attr.h.
* basic-block.h (optimize_mode_switching): Declare.
* lcm.c (tm_p.h, insn-attr.h): #include.
(seginfo, bb_info): New structs.
(antic, transp, comp, delete, insert) : New file-scope static variables.
(new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
(reg_becomes_live, optimize_mode_switching): Likewise.
* tm.texi: Add description of mode switching macros.
* toplev.c (rest_of_compilation): Call optimize_mode_switching.

* sh-protos.h (remove_dead_before_cse): Remove prototype.
(fldi_ok, fpscr_set_from_mem): New prototypes.
* sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
(CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
(sh_flag_remove_dead_before_cse): Remove declaration.
(NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
(MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
(MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
* sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
(barrier_align): Allow for JUMP_INSNS containing a parallel.
(machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
(fldi_ok): New function.
(get_fpscr_rtx): Add fpscr_rtx as GC root.
(emit_sf_insn): Only generate fpu switches when optimize < 1.
(emit_df_insn): Likewise.
(expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
(sh_flag_remove_dead_before_cse): Delete.
(get_free_reg, fpscr_set_from_mem): New functions.
* sh.md (movdf, movsf): Remove no_new_pseudos code.
(return): Remove emit_fpscr_use / remove_dead_before_cse calls.

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

24 years ago * gjavah.c (jni_print_char): New function.
tromey [Tue, 15 Feb 2000 22:17:55 +0000 (22:17 +0000)]
* gjavah.c (jni_print_char): New function.
(print_full_cxx_name): Use it.
(decode_signature_piece): Likewise.
(print_cxx_classname): Likewise.

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

24 years ago * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
gerald [Tue, 15 Feb 2000 21:04:53 +0000 (21:04 +0000)]
* ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.

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

24 years ago * jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
tromey [Tue, 15 Feb 2000 20:39:36 +0000 (20:39 +0000)]
* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
fails.

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

24 years agoNew test - sjlj ICE, originally from openbsd
zack [Tue, 15 Feb 2000 19:56:54 +0000 (19:56 +0000)]
New test - sjlj ICE, originally from openbsd

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

24 years ago * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
ghazi [Tue, 15 Feb 2000 16:36:35 +0000 (16:36 +0000)]
* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.

* cccp.c: Include version.h and/or don't declare `version_string'.
* collect2.c: Likewise.
* alpha.c: Likewise.
* arm/aof.h: Likewise.
* arm/coff.h: Likewise.
* arm/elf.h: Likewise.
* arm/pe.h: Likewise.
* arm/tcoff.h: Likewise.
* arm/telf.h: Likewise.
* arm/tpe.h: Likewise.
* arm/vxarm.h: Likewise.
* convex/convex.c: Likewise.
* i386/dgux.c: Likewise.
* i386/sun386.h: Likewise.
* m88k/m88k.c: Likewise.
* mcore/mcore-pe.h: Likewise.
* mips/mips.h: Likewise.
* romp/romp.h: Likewise.
* sh/sh.c: Likewise.
* cpphash.c: Likewise.
* cppinit.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* gcc.c: Likewise.
* gcc.h: Likewise.
* mips-tfile.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.
* tree.h: Likewise.

* version.c (version_string): Constify a char*.

* version.h: New file.

ch:
* grant.c: Don't declare `version_string'.

f:
* g77spec.c: Don't declare `version_string'.

java:
* Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with
version.o.
(jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h.

* gjavah.c: Include version.h.

* jcf-dump.c: Likewise.

* jv-scan.c: Likewise.

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

24 years agoUpdated the NEWS
bryce [Tue, 15 Feb 2000 09:35:51 +0000 (09:35 +0000)]
Updated the NEWS

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

24 years agoUpdated ChangeLog
bryce [Tue, 15 Feb 2000 08:53:00 +0000 (08:53 +0000)]
Updated ChangeLog

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

24 years ago * java/lang/natSystem.cc (init_properties): set java.lang.classpath
bryce [Tue, 15 Feb 2000 08:52:03 +0000 (08:52 +0000)]
    * java/lang/natSystem.cc (init_properties): set java.lang.classpath
        property.

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

24 years agoUpdated the NEWS
bryce [Tue, 15 Feb 2000 08:51:29 +0000 (08:51 +0000)]
Updated the NEWS

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

24 years ago * java/lang/natRuntime.cc (_load): Include library path with
bryce [Tue, 15 Feb 2000 08:51:04 +0000 (08:51 +0000)]
    * java/lang/natRuntime.cc (_load): Include library path with
        exception message.

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

24 years ago * java/lang/natThread.cc (dumpStack): Removed.
bryce [Tue, 15 Feb 2000 08:47:16 +0000 (08:47 +0000)]
    * java/lang/natThread.cc (dumpStack): Removed.
        * java/lang/Thread.java (dumpStack): Implemented.

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

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

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

24 years ago * java/lang/natRuntime.cc (_load): On Unix, prefix library name
tromey [Tue, 15 Feb 2000 07:53:11 +0000 (07:53 +0000)]
* java/lang/natRuntime.cc (_load): On Unix, prefix library name
with `lib' for loadLibrary.  Fixes PR gcj/150.

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