1. 07 Mar, 2000 9 commits
    • decl.c (init_decl_processing): Added new class fields `depth', `ancestors', and… · 173f556c
      decl.c (init_decl_processing): Added new class fields `depth', `ancestors', and `idt' to class_type_node.
      
      2000-03-06  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* decl.c (init_decl_processing): Added new class fields `depth',
      	`ancestors', and `idt' to class_type_node. Use
      	_Jv_LookupInterfaceMethodIdx for soft_lookupinterfacemthod_node.
      	* class.c (make_class_data): Push initial values for new fields.
      	* java-tree.h: Updated prototype for `build_invokeinterface'.
      	* expr.c (build_invokeinterface): Changed parameters to accept
      	`method' tree. Calculate index of `method' in its declaring
      	interface. Build call to _Jv_LookupInterfaceMethodIdx.
      	(expand_invoke): Call `build_invokeinterface' with new parameters.
      	* parse.y (patch_invoke): Call `build_invokeinterface' with new
      	parameters.
      
      (This is Bryce McKinlay's implementation of the interfaces
       constant-time dispatch and type checking techniques designed by Per
       Bothner.)
      
      From-SVN: r32381
      Bryce McKinlay committed
    • Daily bump. · f2d2acce
      From-SVN: r32380
      Jeff Law committed
    • oops · 25baa030
      From-SVN: r32379
      Jason Merrill committed
    • cpphash.c (collect_expansion): Also catch ## at start of macro. · 7d26bd16
              * cpphash.c (collect_expansion): Also catch ## at start of macro.
      
              * varasm.c (make_decl_rtl): Don't add a number to members of
              local classes.
              (make_function_rtl): Likewise.
      
      From-SVN: r32378
      Jason Merrill committed
    • new · 5816f88b
      From-SVN: r32377
      Jason Merrill committed
    • [multiple changes] · 614eaae0
      2000-03-06  Bryce McKinlay <bryce@albatross.co.nz>
      
      	* typeck.c (lookup_do): Search superinterfaces first
      	when looking up an interface method. From Godmar Back
      	<gback@cs.utah.edu>
      
      2000-03-02  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* java-tree.h (lookup_argument_method2): Declared.
      	(safe_layout_class): Prototype moved from parse.h.
      	* parse.h (safe_layout_class): Prototype moved to java-tree.h.
      	* parse.y (java_check_regular_methods): Local `super_class' gone.
      	Call lookup_argument_method2 instead of lookup_argument_method.
      	Perform modifier match for methods found declared in implemented
      	interfaces. Fixed indentation problem. Overriding/hiding error
      	report to take place only for methods found in classes.
      	* typeck.c (lookup_argument_method): Changed leading
      	comment. Re-written by calling lookup_do.
      	(lookup_argument_method2): New function.
      	(lookup_java_method): Re-written by calling lookup_do.
      	(lookup_do): New function.
      
      From-SVN: r32376
      Alexandre Petit-Bianco committed
    • gcse.c (compute_can_copy): Adjust if/else blocks from rth's patch from 2000-01-28. · 141b5810
      * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
      patch from 2000-01-28.
      
      From-SVN: r32375
      Alexandre Oliva committed
    • Test for PR gcj/164: · 1c30539d
      	* libjava.compile/PR164.xfail: New file.
      	* libjava.compile/PR164.java: New file.
      
      From-SVN: r32374
      Tom Tromey committed
    • jni.cc (MARK_NONE): New define. · 8d00f617
      	* jni.cc (MARK_NONE): New define.
      	(MARK_USER): Likewise.
      	(MARK_SYSTEM): Likewise.
      	(struct _Jv_JNI_LocalFrame): Made `marker' bigger and `size'
      	smaller.
      	(_Jv_JNI_DeleteLocalRef): Use MARK_NONE in assert.
      	(_Jv_JNI_EnsureLocalCapacity): Use MARK_NONE.
      	(_Jv_JNI_PushLocalFrame): Use MARK_USER.
      	(_Jv_JNI_PopLocalFrame): New version with additional `stop'
      	argument.
      	(call): Use MARK_SYSTEM.
      	(_Jv_GetJNIEnvNewFrame): New function.
      	(_Jv_LookupJNIMethod): New function.
      	(_Jv_JNI_PopSystemFrame): New function.
      	(call): Use _Jv_JNI_PopSystemFrame and _Jv_LookupJNIMethod.
      
      From-SVN: r32373
      Tom Tromey committed
  2. 06 Mar, 2000 19 commits
  3. 05 Mar, 2000 12 commits
    • basic-block.h (ALLOCA_REG_SET): Remove. · ee25a7a5
      	* basic-block.h (ALLOCA_REG_SET): Remove.
      	(INITIALIZE_REG_SET): New macro.
      	* flow.c (update_life_info): Use it.
      	(calculate_global_regs_live): Likewise.
      	(propagate_block): Likewise.
      	* global.c (build_insn_chain): Likewise.
      	* haifa-sched.c (schedule_region): Likewise.
      
      From-SVN: r32350
      Mark Mitchell committed
    • javaprims.h ("Java"): Remove FirstThread. · 008b7307
      2000-03-08  Anthony Green  <green@redhat.com>
      
      	* gcj/javaprims.h ("Java"): Remove FirstThread.
      
      From-SVN: r32349
      Anthony Green committed
    • configure.host: Fix __NO_MATH_INLNES botch. · 6cc96432
      	* configure.host: Fix __NO_MATH_INLNES botch.
      
      	* Makefile.in: Rebuilt.
      	* Makefile.am (nat_source_files): Move natFirstThread.cc.
      	(gnu/gcj/runtime/FirstThread.h): Moved.
      	(ordinary_java_source_files): Move FirstThread.java.
      	* prims.cc: Deal with FirstThread movement.
      	(JvRunMain): Ditto.
      	(_Jv_RunMain): Ditto.
      
      	* gnu/gcj/runtime/FirstThread.java: Moved from java/lang.
      	* gnu/gcj/runtime/natFirstThread.cc: Ditto.
      
      From-SVN: r32348
      Anthony Green committed
    • dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer. · 262b6384
              * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
              (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
              (DWARF_ARANGES_PAD_SIZE): New define.
              (output_aranges): Use it to pad the address range header.
              (DWARF_ROUND): Fix for non power of 2 rounding.
      
      From-SVN: r32347
      Stephane Carrez committed
    • * mkdeps.c (deps_calc_target): Remove incorrect 'const'. · 92df03e1
      From-SVN: r32346
      Jason Merrill committed
    • expr.c (cplus_expand_expr, [...]): Use expand_start_stmt_expr and expand_end_stmt_expr directly. · 971cbc14
      	* expr.c (cplus_expand_expr, case STMT_EXPR): Use
      	expand_start_stmt_expr and expand_end_stmt_expr directly.  Set
      	RTL_EXPR_HAS_NO_SCOPE.
      
      	* pt.c (instantiate_decl): Clear TI_PENDING_TEMPLATE_FLAG a little
      	later.
      
      	* dump.c (dequeue_and_dump): Dump SCOPE_NO_CLEANUPS_P.
      
      From-SVN: r32345
      Mark Mitchell committed
    • tree.def (RTL_EXPR): Update documentation. · 9f937026
      	* tree.def (RTL_EXPR): Update documentation.
      	* tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
      	* expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
      	* function.c (preserve_rtl_expr_temp): New function.
      	(preserve_rtl_expr_temps): Likewise.
      	(preserve_rtl_expr_result): Use it.
      
      From-SVN: r32344
      Mark Mitchell committed
    • Revert this patch: · 591ccf92
      	2000-03-04  Mark Mitchell  <mark@codesourcery.com>
      
      From-SVN: r32343
      Mark Mitchell committed
    • impint.C: New test. · 2f6f9ac7
      	* g++.old-deja/g++.warn/impint.C: New test.
      	* g++.old-deja/g++.martin/sts_vectini.C: Add -w option.
      	* g++.old-deja/g++.pt/explicit10.C: Specify -w option.
      	* g++.old-deja/g++.pt/explicit12.C: Likewise.
      	* g++.old-deja/g++.pt/explicit13.C: Likewise.
      	* g++.old-deja/g++.pt/explicit17.C: Likewise.
      	* g++.old-deja/g++.pt/explicit18.C: Likewise.
      	* g++.old-deja/g++.pt/explicit19.C: Likewise.
      	* g++.old-deja/g++.pt/explicit23.C: Likewise.
      	* g++.old-deja/g++.pt/explicit31.C: Likewise.
      	* g++.old-deja/g++.pt/explicit35.C: Likewise.
      	* g++.old-deja/g++.pt/explicit6.C: Likewise.
      	* g++.old-deja/g++.pt/memclass7.C: Likewise.
      
      From-SVN: r32342
      Nathan Sidwell committed
    • call.c (convert_like): Macrofy. · c3f08228
      	* call.c (convert_like): Macrofy.
      	(convert_like_with_context): New macro.
      	(convert_like_real): Renamed from convert_like.  Add calling
      	context parameters, for diagnostics. Add recursive flag.  Call
      	dubious_conversion_warnings for outer conversion.
      	(build_user_type_conversion): Use convert_like_with_context.
      	(build_over_call): Likewise. Don't warn about dubious
      	conversions here. Adjust convert_default_arg calls.
      	(convert_default_arg): Add context parameters for diagnostics.
      	Pass throught to convert_like_with_context.
      	* cp-tree.h (convert_default_arg): Add context parameters.
      	(dubious_conversion_warnings): Prototype new function.
      	* typeck.c (convert_arguments): Adjust convert_default_arg call.
      	(dubious_conversion_warnings): New function, broken
      	out of convert_for_assignment.
      	(convert_for_assignment): Adjust.
      
      From-SVN: r32341
      Nathan Sidwell committed
    • re GNATS gcj/129 (Static array length access bug in gcj) · 18ca9ce7
      	* libjava.compile/PR129_B.java: New file.
      	* libjava.compile/support/PR129_A.java: New file.
      	For PR gcj/129.
      
      From-SVN: r32340
      Anthony Green committed
    • DatagramSocket.java (DatagramSocket(int,InetAddress)): Handle null addresses. · c261e080
      	* java/net/DatagramSocket.java(DatagramSocket(int,InetAddress)):
      	  Handle null addresses.
      
      From-SVN: r32339
      Warren Levy committed