1. 22 Oct, 1998 8 commits
    • Makefile.in (distdir-cvs, [...]): Clean up so it works if "$(srcdir)" != ".". · 298978c9
              * Makefile.in (distdir-cvs, distdir-start):  Clean up so it
              works if "$(srcdir)" != ".".
      
      From-SVN: r23222
      Per Bothner committed
    • Fix typo. · 4ac2fccf
      From-SVN: r23221
      Jeff Law committed
    • [multiple changes] · 257fafbb
      1998-10-22  Tom Tromey  <tromey@cygnus.com>
      	* config-lang.in (stagestuff): Added jcf-dump and jv-scan.
      Sun Oct 11 10:31:52 1998  Anthony Green  <green@cygnus.com>
      	* Make-lang.in (java): Depend on jcf-dump and jv-scan.
      	(JV_SCAN_SOURCES): New macro.
      	(JCF_DUMP_SOURCES): Likewise.
      	(jcf-dump$(exeext)): New target.
      	(jv-scan$(exeext)): New target.
      1998-10-22  Tom Tromey  <tromey@cygnus.com>
      	* Makefile.in (LEX): Removed.
      	(LEXFLAGS): Likewise.
      	(SET_BISON): New macro.
      	(BISON): Removed.
      	($(PARSE_C)): Use SET_BISON.  Run bison from srcdir to avoid
      	spurious diffs in parse.c.
      	($(PARSE_SCAN_C)): Likewise.
      	(PARSE_DIR): New macro.
      	(PARSE_C): Use it.
      	(PARSE_SCAN_C): Likewise.
      	(PARSE_RELDIR): New macro.
      
      From-SVN: r23220
      Tom Tromey committed
    • jcf-io.c (find_class): Use saw_java_source to determine when to look for `.java' file. · 8603f9c5
      	* jcf-io.c (find_class): Use saw_java_source to determine when to
      	look for `.java' file.
      	* jcf-parse.c (saw_java_source): New global.
      	(yyparse): Set it if `.java' file seen.
      	* Make-lang.in (JAVA_SRCS): Added jcf-path.c.
      	(GCJH_SOURCES): Likewise.
      	* Makefile.in (datadir): New macro.
      	(libjava_zip): Likewise.
      	(JAVA_OBJS): Added jcf-path.o.
      	(../jcf-dump$(exeext)): Depend on and link with jcf-depend.o.
      	(../gcjh$(exeext)): Likewise.
      	(jcf-path.o): New target.
      	* java-tree.h (fix_classpath): Removed decl.
      	* jcf-parse.c (fix_classpath): Removed.
      	(load_class): Don't call fix_classpath.
      	* parse.y (read_import_dir): Don't call fix_classpath.
      	* lex.h: Don't mention classpath.
      	* lex.c (java_init_lex): Don't initialize classpath.
      	* jcf-io.c (classpath): Removed global.
      	(find_class): Use jcf_path iteration functions.  Correctly search
      	class path for .java file.
      	(open_in_zip): New argument `is_system'.
      	* jcf-dump.c (main): Call jcf_path_init.  Recognize all new
      	classpath-related options.
      	* lang.c (lang_decode_option): Handle -fclasspath, -fCLASSPATH,
      	and -I.
      	(lang_init): Call jcf_path_init.
      	* lang-options.h: Mention -I, -fclasspath, and -fCLASSPATH.
      	* lang-specs.h: Handle -I.  Minor cleanup to -M options.
      	Correctly put braces around second string in each entry.
      	* gjavah.c (main): Call jcf_path_init.  Recognize all the new
      	classpath-related options.
      	(help): Updated for new options.
      	* jcf.h: Declare functions from jcf-path.c.  Don't mention
      	`classpath' global.
      	* jcf-path.c: New file.
      	* jcf-depend.c: Include jcf.h.
      	* jcf-write.c (localvar_alloc): Returns `void'.
      	(localvar_free): Removed unused variable.
      	* lang.c (OBJECT_SUFFIX): Define if not already defined.
      	(init_parse): Use OBJECT_SUFFIX, not ".o".
      
      From-SVN: r23219
      Tom Tromey committed
    • * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir). · 8a829fd9
      From-SVN: r23218
      Kaveh R. Ghazi committed
    • * config.guess: Match any version of Unixware7. · d2ec8b39
      From-SVN: r23217
      Robert Lipe committed
    • Daily bump. · 79654235
      From-SVN: r23216
      Jeff Law committed
  2. 21 Oct, 1998 10 commits
    • Fix sparc builtin_memcpy miscompilation. · 7be7a07d
      	* expmed.c (store_bit_field): If need to add a SUBREG, then remove
      	existing SUBREG if we can, otherwise abort.
      
      From-SVN: r23215
      Jim Wilson committed
    • New test case. · 822a4ff1
      From-SVN: r23214
      Martin v. Löwis committed
    • c-common.c (c_apply_type_quals_to_decl): Don't crash when `restrict' is applied… · 6946bc60
      c-common.c (c_apply_type_quals_to_decl): Don't crash when `restrict' is applied to a non-pointer variable.
      
      	* c-common.c (c_apply_type_quals_to_decl): Don't crash when
      	`restrict' is applied to a non-pointer variable.
      
      From-SVN: r23213
      Mark Mitchell committed
    • invoke.texi: Document -flang-isoc9x. · 3932261a
      	* invoke.texi: Document -flang-isoc9x.
      	* Makefile.in (OBJS): Add splay-tree.o.
      	(c-common.o): Depend on rtl.h.
      	(splay-tree.o): List dependencies and provide build rule.
      	* rtl.h (record_alias_subset): New function.
      	* alias.c: Include splay-tree.h.
      	(alias_set_entry): New type.
      	(CHECK_ALIAS_SETS_FOR_CONSISTENCY): Remove.
      	(DIFFERENT_ALIAS_SETS_P): Use mem_in_disjoint_alias_sets_p.
      	(mems_in_disjoin_alias_sets_p): New function.
      	(alias_set_compare): Likewise.
      	(insert_subset_children): Likewise.
      	(get_alias_set_entry): Likewise.
      	* tree.h (TYPE_RESTRICT): New macro.
      	(TYPE_UNQUALIFIED): New manifest constant.
      	(TYPE_QUAL_CONST): Likewise
      	(TYPE_QUAL_VOLATILE): Likewise.
      	(TYPE_QUAL_RESTRICT): Likewise.
      	(tree_type): Add restrict_flag.  Reduce count of free bits.
      	(DECL_POINTER_ALIAS_SET): New macro.
      	(DECL_POINTER_ALIAS_SET_KNOWN_P): Likewise.
      	(tree_decl): Add pointer_alias_set.
      	(build_qualified_type): New function.
      	(build_type_variant): Define in terms of build_qualified_type.
      	* tree.c (set_type_quals): New function.
      	(make_node): Initializae DECL_POINTER_ALIAS_SET.
      	(build_type_attribute_variant): Use build_qualified_type and
      	set_type_quals.
      	(build_type_variant): Rename, and modify, to become...
      	(build_qualified_type): New function.
      	(build_complex_type): Use set_type_quals.
      	* c-tree.h (C_TYPE_OBJECT_P): New macro.
      	(C_TYPE_FUNCTION_P): Likewise.
      	(C_TYPE_INCOMPLETE_P): Likewise.
      	(C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
      	(c_apply_type_quals_to_decl): New function.
      	(c_build_qualified_type): New function.
      	(c_build_type_variant): Define in terms of c_build_qualified_type.
      	(flag_isoc9x): Declare.
      	* c-typeck.c (qualify_type): Use c_build_qualified_type.
      	(common_type): Change to use TYPE_QUALS.
      	(comptypes): Likewise.
      	(convert_for_assignment): Likewise.
      	* c-aux-info.c (gen_type): Likewise.  Deal with `restrict'.
      	* c-decl.c (flag_isoc9x): Define.
      	(c_decode_option): Handle -flang-isoc9x.
      	(grokdeclarator): Update to handle restrict.  Use TYPE_QUALS,
      	c_build_qualified_type, etc.  Use c_apply_type_quals_to_decl.
      	* c-lex.c (init_lex): Deal with restrict.
      	(init_lex): Don't treat restrict as a reserved word in
      	-traditional mode, or without -flang-isoc9x.
      	* c-lex.h (rid): Add RID_RESTRICT.
      	* c-parse.gperf (restrict, __restrict, __restrict__): Make
      	equivalent to RID_RESTRICT.
      	* c-parse.in (TYPE_QUAL): Update comment.
      	* c-common.c: Include rtl.h.
      	(c_find_base_decl): New function.
      	(c_build_type_variant): Rename, and modify, to become ...
      	(c_build_qualified_type): New function.
      	(c_apply_type_quals_to_decl): Likewise.
      	(c_get_alias_set): For INDIRECT_REFs, check to see if we can find
      	a particular alias set for the reference.
      	* toplev.c (documented_lang_options): Add -flang-isoc9x.
      
      From-SVN: r23212
      Mark Mitchell committed
    • * splay-tree.h: New file. · 52e90c55
      From-SVN: r23211
      Mark Mitchell committed
    • splay-tree.c: New file. · ed87f9c8
      	* splay-tree.c: New file.
      	* Makefile.in (CFILES): Add it.
      	(REQUIRED_OFILES): Likewise.
      	(splay-tree.o): Add dependencies.
      
      From-SVN: r23210
      Mark Mitchell committed
    • Document ARM specific command line switches. · 7e58a4d3
      From-SVN: r23209
      Nick Clifton committed
    • class.c (emit_register_classes): Renamed from emit_register_class. · 866e9df8
      Wed Oct 21 07:54:11 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      	* class.c (emit_register_classes): Renamed from
       	emit_register_class.
      	* java-tree.h (emit_register_classes): Prototype renamed from
       	emit_register_class.
      	* jcf-parse.c (yyparse): Call emit_register_classes once before
       	returning.
      	* parse.y (java_expand_classes): No longer register classes.
      Prevents the generation of multiple static constructor for a
      compilation unit.
      
      From-SVN: r23208
      Alexandre Petit-Bianco committed
    • Daily bump. · 352f608a
      From-SVN: r23206
      Jeff Law committed
  3. 20 Oct, 1998 12 commits
  4. 19 Oct, 1998 10 commits
    • New test case. · 163c4dc5
      From-SVN: r23192
      Martin v. Löwis committed
    • gcse.c (compute_hash_table): Correctly identify hard regs which are clobbered across calls. · 15f8470f
              * gcse.c (compute_hash_table): Correctly identify hard regs which are
              clobbered across calls.
      
      From-SVN: r23191
      Jeffrey A Law committed
    • [multiple changes] · 18e765cb
      1998-10-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
              * reorg.c (steal_delay_list_from_target) Check for insns that
              modify the condition codes and effect the direction of the jump
              in the sequence.
      Sat Oct 17 13:09:09 1998  Graham  <grahams@rcp.co.uk>
              * function.c (purge_addressof_1): Replace call to
              emit_insns_before() with emit_insn_before().
      
      From-SVN: r23189
      Jeff Law committed
    • new · ea4d3ff6
      From-SVN: r23188
      Jason Merrill committed
    • update · 1590ea76
      From-SVN: r23187
      Jason Merrill committed
    • Revamp references to member functions. · 51924768
      	* method.c (hack_identifier): Call build_component_ref for a
      	reference to a member function.
      	* typeck.c (build_component_ref): Only return a single function
      	if it's static.  Otherwise, return a COMPONENT_REF.
      	(build_x_function_call): Handle a COMPONENT_REF.
      	(build_unary_op): Handle all unknown-type things.
      	* decl2.c (arg_assoc): Handle COMPONENT_REF.
      	* class.c (instantiate_type): Complain if the function we get is a
      	nonstatic member function.  Remove code for finding "compatible"
      	functions.
      	* pt.c (tsubst_copy): Handle NOP_EXPR.
      	* tree.c (build_dummy_object): New fn.
      	(maybe_dummy_object): New fn.
      	(is_dummy_object): New fn.
      	* cp-tree.h: Declare them.
      	* cvt.c (cp_convert_to_pointer): Use maybe_dummy_object.
      	* error.c (dump_expr, case OFFSET_REF): Use is_dummy_object.
      	* init.c (build_member_call): Use maybe_dummy_object and
      	is_dummy_object.
      	(build_offset_ref): Use maybe_dummy_object.
      	(resolve_offset_ref): Use is_dummy_object.
      	* typeck.c (build_x_function_call): Call build_dummy_object.
      	(unary_complex_lvalue): Call is_dummy_object.
      	* typeck.c (build_component_addr): Make sure field is a field.
      	* call.c (build_new_op): Delete obsolete code.
      	* pt.c (tsubst, TEMPLATE*PARM*): Abort if we don't have any args.
      
      From-SVN: r23186
      Jason Merrill committed
    • · 8b27f225
      Undo some mistakes from previous merge.
      
      From-SVN: r23184
      Per Bothner committed
    • · c20012b6
      Undo some mistakes from previous merge.
      
      From-SVN: r23183
      Per Bothner committed
    • * 981019-1.c: New test. · dbcce8f8
      From-SVN: r23182
      Jeffrey A Law committed