1. 16 Dec, 1998 5 commits
  2. 15 Dec, 1998 18 commits
  3. 14 Dec, 1998 15 commits
    • parse.y (fold_constant_for_init): New function. · 659ad450
      	
      	* parse.y (fold_constant_for_init):  New function.
      	(resolve_expression_name):  Don't replace static final
       	constant-initialized fields by its value.
      	(java_complete_lhs):  New.  Same as java_complete_tree, except does
      	not replace static final constant-initialized fields by their values.
      	(register_fields):  If there is an initializer, set DECL_INITIAL and
      	MODIFY_EXPR_FROM_INITIALIZATION_P.
      	(java_complete_tree):  For MODIFY_EXPR, use java_complete_lhs for lhs.
      	Only call patch_initialized_static_field if
      	MODIFY_EXPR_FROM_INITIALIZATION_P.
      	(patch_initialized_static_field):  If not valid constant, clear
      	DECL_INITIAL.
      	* parse.y (lookup_field_wrapper):  Fix thinko.
      	* parse.y (java_complete_tree):  In EXPR_WITH_FILE_LOCATION,
      	set and restore global lineno.
      
      From-SVN: r24317
      Per Bothner committed
    • parse.y (fold_constant_for_init): New function. · 5b09b33e
      d
      	* parse.y (fold_constant_for_init):  New function.
      	(resolve_expression_name):  Don't replace static final
       	constant-initialized fields by its value.
      	(java_complete_lhs):  New.  Same as java_complete_tree, except does
      	not replace static final constant-initialized fields by their values.
      	(register_fields):  If there is an initializer, set DECL_INITIAL and
      	MODIFY_EXPR_FROM_INITIALIZATION_P.
      	(java_complete_tree):  For MODIFY_EXPR, use java_complete_lhs for lhs.
      	Only call patch_initialized_static_field if
      	MODIFY_EXPR_FROM_INITIALIZATION_P.
      	(patch_initialized_static_field):  If not valid constant, clear
      	DECL_INITIAL.
      	* parse.y (lookup_field_wrapper):  Fix thinko.
      	* parse.y (java_complete_tree):  In EXPR_WITH_FILE_LOCATION,
      	set and restore global lineno.
      
      From-SVN: r24316
      Per Bothner committed
    • Eliminate compiler warnings. · c1c7db89
      	* real.c (endian): Disable last change unless
      	HOST_BITS_PER_WIDE_INT is greater than 32.
      
      From-SVN: r24315
      Jim Wilson committed
    • class.c (pushclass): Tweak handling of class-level bindings. · d8f8dca1
      	* class.c (pushclass): Tweak handling of class-level bindings.
      	(resolve_address_of_overloaded_function): Update pointer-to-member
      	handling.
      	(instantiate_type): Likewise.
      	* cvt.c (cp_convert_to_pointer): Likewise.
      	* decl.c (pop_binding): Take the DECL to pop, not just the name.
      	Deal with `struct stat' hack.
      	(binding_level): Add to documentation.
      	(push_binding): Clear BINDING_TYPE.
      	(add_binding): New function.
      	(push_local_binding): Use it.
      	(push_class_binding): Likewise.
      	(poplevel): Adjust calls to pop_binding.
      	(poplevel_class): Likewise.
      	(pushdecl): Adjust handling of TYPE_DECLs; add bindings for hidden
      	declarations to current binding level.
      	(push_class_level_binding): Likewise.
      	(push_overloaded_decl): Adjust handling of OVERLOADs in local
      	bindings.
      	(lookup_namespace_name): Don't crash when confronted with a
      	TEMPLATE_DECL.
      	(lookup_name_real): Do `struct stat' hack in local binding
      	contexts.
      	(build_ptrmemfunc_type): Adjust documentation.
      	(grokdeclarator): Don't avoid building real array types when
      	processing templates unless really necessary.
      	(finish_method): Adjust calls to pop_binding.
      	* decl2.c (reparse_absdcl_as_expr): Recursively call ourselves,
      	not reparse_decl_as_expr.
      	(build_expr_from_tree): Deal with a template-id as the function to
      	call in a METHOD_CALL_EXPR.
      	* pt.c (convert_nontype_argument): Tweak pointer-to-member handling.
      	(maybe_adjust_types_For_deduction): Don't do peculiar things with
      	METHOD_TYPEs here.
      	(resolve_overloaded_unification): Handle COMPONENT_REFs.  Build
      	pointer-to-member types where necessary.
      	* tree.c (build_cplus_array_type_1): Don't avoid building real
      	array types when processing templates unless really necessary.
      	(build_exception_variant): Compare the exception lists correctly.
      
      From-SVN: r24314
      Mark Mitchell committed
    • gjavah.c (print_field_info): If value to print is the smallest value of its size... · 11b89622
      	* gjavah.c (print_field_info): If value to print is the smallest
      	value of its size, then print as hex to avoid later warnings from
      	C++ compiler.
      
      From-SVN: r24313
      Tom Tromey committed
    • Update test · a5c23b03
      From-SVN: r24312
      Mark Mitchell committed
    • output.h (force_data_section): New prototype. · 3167de5b
      	* output.h (force_data_section): New prototype.
      	* varasm.c (force_data_section): New function to force the
      	data section, regardless of what in_section thinks.
      	* dwarf2out.c (output_call_frame_info): Call force_data_section
      	since varasm may not realize we've changes sections.
      
      From-SVN: r24311
      Andrew MacLeod committed
    • gjavah.c (decompile_method): Decompile `return null'. · 8c2dfb32
      	* gjavah.c (decompile_method): Decompile `return null'.
      	(process_file): Generate `#pragma interface'.
      	(method_declared): New global.
      	(print_method_info): Set it.
      	(HANDLE_CODE_ATTRIBUTE): Only print it method_declared set.
      	(print_method_info): Handle abstract methods.
      
      From-SVN: r24309
      Tom Tromey committed
    • Fix typo. · 9fe3461e
      From-SVN: r24308
      Nick Clifton committed
    • choose-temp.c: Don't check IN_GCC anymore. · 11a0bb74
              * choose-temp.c: Don't check IN_GCC anymore.
              * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
              * memchr.c (memchr): Likewise.
              * memcpy.c (memcpy): Likewise.
              * memmove.c (memmove): Likewise.
              * mkstemp.c: Don't check IN_GCC anymore.
              * pexecute.c: Likewise.
              * splay-tree.c: Likewise.
              * strchr.c (strchr): Use `const', not `CONST'.
              * strrchr.c (strrchr): Likewise.
              * strtol.c (strtol): Likewise.
              * strtoul.c (strtoul): Likewise.
      
      From-SVN: r24307
      Kaveh R. Ghazi committed
    • demangle.h: Don't check IN_GCC anymore. · 625c729b
             * demangle.h: Don't check IN_GCC anymore.
             * splay-tree.h: Likewise.
      
      From-SVN: r24306
      Kaveh R. Ghazi committed
    • Daily bump. · 242f64bb
      From-SVN: r24305
      Jeff Law committed
    • rtl.h (multiple_sets): Fix prototype. · 5f7d3786
       
              * rtl.h (multiple_sets): Fix prototype.
              * rtlanal.c (multiple_sets): Fix return type.
      
      From-SVN: r24304
      Jeff Law committed
    • rtl.h (multiple_sets): Fix prototype. · 93e0dfe1
      �
              * rtl.h (multiple_sets): Fix prototype.
              * rtlanal.c (multiple_sets): Fix return type.
      
      From-SVN: r24303
      Jeffrey A Law committed
  4. 13 Dec, 1998 2 commits