1. 26 Mar, 2001 1 commit
  2. 25 Mar, 2001 9 commits
    • * gcc.c-torture/execute/20010325-1.c: New test. · eb40d6b9
      From-SVN: r40831
      Joseph Myers committed
    • h8300.md (umodqi3): Output a tab instead of a space. · 273c3244
      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 '='. · d2a2648c
      	* 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, [...]): Change predicates to shiftdi_operand; use ix86_expand_binary_operator · 371bc54b
      	* 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. · 0945b39d
      	* 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
    • Daily bump. · 392f8d40
      From-SVN: r40824
      GCC Administrator committed
    • Makefile.am: New targets, doxygen and doxygen-maint. · e03f70b3
      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
    • acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment. · c21b6f87
      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
    • howto.html: HTML fixup. · 537286a2
      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
  3. 24 Mar, 2001 12 commits
  4. 23 Mar, 2001 18 commits
    • Makefile.in (DO_X): Do not backslash single-quotes in backquotes (two places). · 7238de5c
      * 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 `_'. · f1a0345c
      	* 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… · 60080880
      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
    • ostream.tcc: Use __builtin_alloca. · 0d6eae43
      
      2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
      
      	* include/bits/ostream.tcc: Use __builtin_alloca.
      
      From-SVN: r40793
      Greg Bumgardner committed
    • misc-inst.cc (__sink_unused_warning): Move to... · 6ca9928a
      
      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
    • Re-add missing debug info for weak aliases. · 9ea07fd0
      	* varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
      	(assemble_alias): Call make_decl_rtl.
      
      From-SVN: r40791
      Jim Wilson committed
    • re PR java/1213 (gcj should check for incorrect CLASSPATH) · b124f72e
      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
    • prims.cc (_Jv_FindClassFromSignature): Check return of recursive call. · b64295c4
      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. · 83c64db6
      	* 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
    • gcj.texi (Configure-time Options): Add -fcheck-references. · 3e02b1c3
      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
    • gcj.texi (Configure-time Options): Add -fcheck-references. · 4ff17c6a
      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. · 8e4ce833
      	* 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
    • Daily bump. · 4d2cd1b1
      From-SVN: r40777
      GCC Administrator committed
    • field.out: New file. · ae8a67c4
      	* libjava.jni/field.out: New file.
      	* libjava.jni/field.c: New file.
      	* libjava.jni/field.java: New file.
      
      From-SVN: r40776
      Tom Tromey committed
    • re PR libgcj/1736 ([irix 6.5] Cannot create libgcj - Arg list too long) · e4c34f6a
      	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. · f2a29271
      	* gjavah.c (cxx_keywords): Update from the definitive list in cp/lex.c.
      	* lex.c (cxx_keywords): Likewise.
      
      From-SVN: r40773
      Bryce McKinlay committed