- 26 Mar, 2001 1 commit
-
-
* class.c (add_method): Use memcpy/memmove, not bcopy. * decl.c (duplicate_decls): Likewise. From-SVN: r40835
Kaveh R. Ghazi committed
-
- 25 Mar, 2001 9 commits
-
-
From-SVN: r40831
Joseph Myers committed -
2001-03-25 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.md (umodqi3): Output a tab instead of a space. (modqi3): Likewise. (umodhi3): Likewise. (modhi3): Likewise. From-SVN: r40830
Kazu Hirata committed -
* mkconfig.sh (DEFINES): Handle entries with '='. * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h. Set xm_defines to MACRO=value instead. * i370/xm-mvs.h: Delete. * ns32k/xm-pc532-min.h: Likewise. From-SVN: r40828
Kaveh R. Ghazi committed -
* i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to shiftdi_operand; use ix86_expand_binary_operator (?sh??i_?): Disable for 64bit. * i386.h (PREDICATE_CODES): Add shiftdi_operand. * i386.c (shiftdi_operand): New predicate. * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext, ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64, ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext, ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext, ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64, lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext, lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext, rotlsi3_1_one_bit_rex64, rotldi3_1_rex64, rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64, rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns. (rotldi3, rotrdi3): New expanders. From-SVN: r40827
Jan Hubicka committed -
* i386.md (movstrsi): Move offline. (movstrdi): New. (strmovdi_rex64): New. (strmov?i): Accept 64bit. (strmov?i_rex64): New. (strmov?i_rex_1): New. (strmov?i_1): Disable for 64bit. (rep_mov?i_rex64): New. (rep_mov?i): Disable for 64bit. (clrstrsi): Move offline. (strset?i_rex64): New. (strset?i: Accept 64bit. (rep_stos?i): Disable for 64bit. (rep_stos?i_rex64): New. (strset?i_rex_1): New. (strset?i_1): Disable for 64bit. (cmpstrsi): Accept 64bit. (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit. (cmpstrqi_nz_rex_1): New. (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit. (strlensi): Move offline. (strlendi): New. (strlenqi_1): Disable for 64bit; fix constraints. (strlenqi_rex_1): New. * i386.c (ix86_adjust_counter): New static function. (ix86_zero_extend_to_Pmode): Likewise. (ix86_expand_aligntest): Likweise. (ix86_expand_strlensi_unroll_1): Make static; update for 64bit. (ix86_expand_movstr): New global function. (ix86_expand_clrstr): New global function. (ix86_expand_strlen): New global function. * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr, ix86_expand_strlen): Declare. (ix86_expand_strlensi_unroll_1): Delete. From-SVN: r40826
Jan Hubicka committed -
From-SVN: r40824
GCC Administrator committed -
2001-03-24 Phil Edwards <pme@sources.redhat.com> * Makefile.am: New targets, doxygen and doxygen-maint. * Makefile.in: Regenerated. * docs/doxygen/run_doxygen: Finally implemented. * docs/doxygen/maint.cfg.in: New file. * docs/doxygen/user.cfg.in: New file. From-SVN: r40823
Phil Edwards committed -
2001-03-24 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment. * src/Makefile.am: Replace leading spaces with tabs on continuation lines. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * src/Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. From-SVN: r40822
Phil Edwards committed -
2001-03-24 Phil Edwards <pme@sources.redhat.com> * docs/html/19_diagnostics/howto.html: HTML fixup. Describe concept-checking code and current status of same. * docs/html/ext/howto.html: Ditto. * docs/html/faq/index.html: Ditto. * docs/html/faq/index.txt: Regenerated. From-SVN: r40821
Phil Edwards committed
-
- 24 Mar, 2001 12 commits
-
-
2001-03-24 Phil Edwards <pme@sources.redhat.com> * include/bits/std_bitset.h: Include ostream and istream headers instead of iostream. From-SVN: r40820
Phil Edwards committed -
* i386.md (cmpdi): Fix operand predicates. (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64, cmpdi_1_insn_rex64): New patterns. (adddi3): Turn to expander. (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns. (addsi3_carry_zext): New pattern. (adddi_?_rex64): New patterns and splitters. (addsi_?_zext): New patterns. (subsi3_carry_zext): New pattern. (subdi_?_rex64): New patterns and splitters. (iorsi_?_zext): New patterns. (iordi_?_rex64): New patterns and splitters. (iorsi_?_zext): New patterns. (iorsi_?_zext_imm): New patterns. (xorsi_?_zext): New patterns. (xordi_?_rex64): New patterns and splitters. (xorsi_?_zext): New patterns. (negdi*): New patterns. (one_cmpldi*): Likewise. (one_cmplsi*_zext, negsi*_zext): Likewise. (testqi_ext_3_rex64): New pattern. From-SVN: r40819
Jan Hubicka committed -
* i386-protos.h (ix86_split_long_move): Return void. * i386.c (ix86_split_to_parts): Handle 64bit target. (ix86_split_long_move): Likewise. * i386.md (all calls to ix86_split_long_move): Update. From-SVN: r40816
Jan Hubicka committed -
From-SVN: r40814
GCC Administrator committed -
2001-03-24 Bryce McKinlay <bryce@albatross.co.nz> * java/util/HashMap.java (HashMap): If 0 is given for initialCapacity paramater, bump it to 1. * java/util/Hashtable.java (Hashtable): Likewise. From-SVN: r40812
Bryce McKinlay committed -
From-SVN: r40811
Per Bothner committed -
From-SVN: r40808
Kevin B Hendricks committed -
* src/powerpc/ppc_closure.S: New file. * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug involving long long and register pairs. (ffi_prep_closure): New function. (flush_icache): Likewise. (ffi_closure_helper_SYSV): Likewise. * include/ffi.h.in (FFI_CLOSURES): Define on PPC. (FFI_TRAMPOLINE_SIZE): Likewise. (FFI_NATIVE_RAW_API): Likewise. * Makefile.in: Rebuilt. * Makefile.am (EXTRA_DIST): Added src/powerpc/ppc_closure.S. (TARGET_SRC_POWERPC): Likewise. From-SVN: r40807
Kevin B Hendricks committed -
* config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables to avoid shadowing arguments. From-SVN: r40804
Richard Henderson committed -
e * verify.c (verify_jvm_instructions): Replace 3 pop_type by POP_TYPE macro for better error pin-pointing. * java-tree.h: Fix typo in comment. * jcf-write.c (generate_bytecode_insns): Changes to TRY_FINALLY_EXPR. Don't include jsr/goto in exception range. Check if start and end of exception range are the same (also TRY_EXPR). Don't emit jsr after try_block if CAN_COMPLETE_NORMALLY is false. However, do emit the following goto even if try_block is empty. Defer freeing exception_decl until after the finalizer, to make sure the local isn't reused in the finalizer. Fixes PR java/1208. * parse.y (java_complete_lhs): If the try-clause is empty, just return the finally-clause and vice versa. From-SVN: r40801
Per Bothner committed -
* java/lang/natDouble.cc (parseDouble): Cannot use errno to check for errors, since we don't want to throw exception on overflow/underflow. Instead, trim whitespace, and then check that _strtod_r uses up all the rest of the string. From-SVN: r40800
Per Bothner committed -
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Checking the ancestors array is invalid for interfaces, so do that *after* check that the target type is not an interface. From-SVN: r40797
Per Bothner committed
-
- 23 Mar, 2001 18 commits
-
-
* Makefile.in (DO_X): Do not backslash single-quotes in backquotes (two places). From-SVN: r40796
Colin Howell committed -
* mangle.c (write_discriminator): Use `_0' for discriminator 1, not `_'. * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1, `_' not followed by a digit is invalid. From-SVN: r40795
Jakub Jelinek committed -
varasm.c (make_decl_rtl): Don't append var_labelno discriminator to variable names where DECL_NAME is... * varasm.c (make_decl_rtl): Don't append var_labelno discriminator to variable names where DECL_NAME is different from DECL_ASSEMBLER_NAME. From-SVN: r40794
Jakub Jelinek committed -
2001-03-22 Greg Bumgardner <bumgard@roguewave.com> * include/bits/ostream.tcc: Use __builtin_alloca. From-SVN: r40793
Greg Bumgardner committed -
2001-03-22 Benjamin Kosnik <bkoz@redhat.com> * src/misc-inst.cc (__sink_unused_warning): Move to... * src/locale-inst.cc (__sink_unused_warning): Move to... * src/stl-inst.cc: Here. * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define, commented it out. From-SVN: r40792
Benjamin Kosnik committed -
* varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test. (assemble_alias): Call make_decl_rtl. From-SVN: r40791
Jim Wilson committed -
2001-03-22 Alexandre Petit-Bianco <apbianco@redhat.com> * gcj.texi (Input Options): documented the check for attribute `gnu.gcc.gccj-compiled' and the `-fforce-classes-archive-check' flag. * java-tree.h (flag_force_classes_archive_check): Declared extern. * jcf-parse.c (HANDLE_GCJCOMPILED_ATTRIBUTE): New macro. (jcf_parse): Check for the right classes archive if necessary. * jcf-reader.c (get_attribute): Define `MATCH_ATTRIBUTE' and use it. (jcf_parse_fields): Fixed indentation. * jcf-write.c (append_gcj_attribute): New function. (generate_classfile): Compute the attribute count, invoke `append_gcj_attribute'. * jcf.h (typedef struct JCF): `seen_in_zip' and `java_source' turned into bit fields. New bit field `right_zip.' (JCF_ZERO): Set `right_zip' to zero. * lang-options.h (-fforce-classes-archive-check): Added flag. * lang.c (flag_force_classes_archive_check): New flag. (lang_f_options): New entry `force-classes-archive-check.' Fixes PR java/1213. (http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01662.html) From-SVN: r40788
Alexandre Petit-Bianco committed -
2000-03-23 Jeff Sturm <jsturm@one-point.com> * prims.cc (_Jv_FindClassFromSignature): Check return of recursive call. Do not abort on invalid signature; return NULL instead. From-SVN: r40787
Jeff Sturm committed -
* jni.cc (_Jv_JNI_GetAnyFieldID): Handle unresolved fields. * java/lang/reflect/natField.cc (getType): Use _Jv_ResolveField unconditionally. * include/jvm.h (_Jv_ResolveField): Declare. * include/java-interp.h (_Jv_ResolveField): Don't declare. * resolve.cc (_Jv_ResolveField): No longer conditional on INTERPRETER. From-SVN: r40785
Tom Tromey committed -
From-SVN: r40783
Colin Howell committed -
2001-02-07 Andrew Haley <aph@redhat.com> * gcj.texi (Configure-time Options): Add -fcheck-references. * expr.c (build_java_indirect_ref): New function. (java_check_reference): New function. (build_java_array_length_access): Use build_java_indirect_ref to check for null references. (build_java_arrayaccess): Likewise. (build_get_class): Likewise. (build_field_ref): Likewise. (invoke_build_dtable): Likewise. (build_invokeinterface): Likewise. * lang.c (lang_f_options): Add flag_check_references. * jvspec.c (jvgenmain_spec): Add flag_check_references. * java-tree.h (flag_check_references): New variable. * lang.c (flag_check_references): Likewise. * parse.y (patch_invoke): Use java_check_reference. (patch_assignment): Allow for extra nesting in _Jv_CheckArrayStore. From-SVN: r40782
Andrew Haley committed -
From-SVN: r40781
J"orn Rennecke committed -
2001-02-07 Andrew Haley <aph@redhat.com> * gcj.texi (Configure-time Options): Add -fcheck-references. * expr.c (build_java_indirect_ref): New function. (build_java_array_length_access): Use build_java_indirect_ref to check for null references. (build_java_arrayaccess): Likewise. (build_get_class): Likewise. (build_field_ref): Likewise. (invoke_build_dtable): Likewise. (build_invokeinterface): Likewise. * lang.c (lang_f_options): Add flag_check_references. * jvspec.c (jvgenmain_spec): Add flag_check_references. * java-tree.h (flag_check_references): New variable. * lang.c (flag_check_references): Likewise. From-SVN: r40780
Andrew Haley committed -
* decl.c (local_names): Define. (push_local_name): New. (grok_reference_init): Return init if initializing static reference variable with non-constant instead of emitting it. Move expand_static_init call to cp_finish_decl. (layout_var_decl): Call push_local_name. (maybe_commonize_var): Allow inlining functions even if they have static local variables, use comdat_linkage for them if flag_weak. (check_initializer): Call obscure_complex_init if grok_reference_init returned non-zero. (save_function_data): Clear x_local_names. (pop_cp_function_context): Free x_local_names. (mark_inlined_fns): Remove. (mark_lang_function): Mark x_local_names. (lang_mark_tree): Don't mark DECL_ACCESS for DECL_DISCRIMINATOR_P. Mark inlined_fns as tree, remove call to mark_inlined_fns. * class.c (alter_access): Ensure DECL_ACCESS is never set if DECL_DISCRIMINATOR_P. * cp-tree.h (cp_language_function): Add x_local_names. (lang_decl_flags): Add discriminator into u2. (lang_decl_inlined_fns): Remove. (lang_decl): inlined_fns is now a TREE_VEC. (DECL_DISCRIMINATOR_P, DECL_DISCRIMINATOR): Define. * optimize.c (inlinable_function_p): DECL_INLINED_FNS is now a TREE_VEC, not a custom structure. (optimize_function): Likewise. * mangle.c (discriminator_for_local_entity): Discriminate among VAR_DECL local entities. * search.c (dfs_access_in_type): If DECL_DISCRIMINATOR_P, DECL_ACCESS is not valid. * g++.old-deja/g++.other/mangle3.C: New test. From-SVN: r40779
Jakub Jelinek committed -
From-SVN: r40777
GCC Administrator committed -
* libjava.jni/field.out: New file. * libjava.jni/field.c: New file. * libjava.jni/field.java: New file. From-SVN: r40776
Tom Tromey committed -
Fix for PR libgcj/1736. Thanks to Robert Boehne and Alexandre Oliva for libtool hacking. * Makefile.am (libgcj.la): New explicit rule. Echo the list of objects to a temporary file, then invoke libtool with the -objectlist paramater. (libgcjx.la): Likewise. * Makefile.in: Rebuilt. From-SVN: r40775
Bryce McKinlay committed -
* gjavah.c (cxx_keywords): Update from the definitive list in cp/lex.c. * lex.c (cxx_keywords): Likewise. From-SVN: r40773
Bryce McKinlay committed
-