1. 15 Mar, 1999 13 commits
  2. 14 Mar, 1999 7 commits
  3. 13 Mar, 1999 13 commits
  4. 12 Mar, 1999 7 commits
    • New test case. · 55991d4f
      From-SVN: r25738
      Martin v. Löwis committed
    • decl.c (select_decl): Allow class templates when we need types. · c592d5d2
              * decl.c (select_decl): Allow class templates when we need types.
              * decl2.c (ambiguous_decl): Likewise.
      
      From-SVN: r25737
      Martin v. Löwis committed
    • Patch from David Edelsohn. Use AIX float.h file. · 45e24d08
      	* configure.in ({rs6000,powerpc}-ibm-aix*): Set float_format to none.
      	* configure: Rebuilt.
      
      From-SVN: r25734
      David Edelsohn committed
    • parse.y (java_stabilize_reference): Return NODE when patching a COMPOUND_EXPR. · 2aa11e97
      1999-03-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      	* parse.y (java_stabilize_reference): Return NODE when patching a
      	COMPOUND_EXPR.
      	(java_complete_lhs): Put parenthesis around truth values.
      1999-03-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      	* class.c (layout_class_method): Don't make rtl for interface
      	methods.
      	* parse.h (GET_TYPE_NAME): New macro.
      	* parse.y (if_then_statement:): Fixed indentation.
      	(if_then_else_statement:): Likewise.
      	(for_statement:): Fixed spacing.
      	(try_statement:): Fixed indentation.
      	(create_interface): Don't force interfaces to be abstract.
      	(method_header): Abstract methods are OK in interfaces.
      	(declare_local_variables): Fixed typo in comment.
      	(java_complete_expand_method): Fixed indentation.
      	(resolve_qualified_expression_name): Use GET_TYPE_NAME to report
      	non accessible fields.
      	(java_stabilize_reference): New function.
      	(java_complete_lhs): Fixed indentation. Use
      	java_stabilize_reference in compound assignement. Insert the
      	cast. If not processing `+' fix string constants before processing
      	binop.
      
      From-SVN: r25733
      Alexandre Petit-Bianco committed
    • lex.c (do_identifier): Correct call to enforce_access. · 8084bf81
      	* lex.c (do_identifier): Correct call to enforce_access.
      	* search.c (accessible_p): Tweak comment.
      	* decl2.c (validate_nonmember_using_decl): Issue sensible
      	error-messages on bogus qualifiers.
      
      From-SVN: r25732
      Mark Mitchell committed
    • Warning fixes: · 7e21fe59
              * constants.c (find_class_or_string_constant): Cast variable `j'
              to a `jword' when comparing against one.
              * expr.c (java_lang_expand_expr): Remove unused variables
              `has_finally_p' and `op0'.
              * gjavah.c (print_field_info): Cast a value to jint when comparing
              against one.  Likewise for a jlong.
              (add_namelet): Likewise cast a `sizeof' to an int when comparing
              against a signed quantity.
              * jcf-dump.c (print_signature_type): Remove unused variable `digit'.
              (print_signature): Don't needlessly dereference variable `str'
              * jcf-reader.c (get_attribute): Mark variables `max_stack' and
              `max_locals' with ATTRIBUTE_UNUSED.
              (jcf_parse_class): Likewise for variable `index'.
              * parse.h (reverse_jdep_list): Remove static prototype.
              * parse.y (build_jump_to_finally): Remove prototype and definition.
              (reverse_jdep_list): Add static prototype.
              * typeck.c (convert_ieee_real_to_integer): Remove unused variables
              `assignment' and `expr_decl'.
              * verify.c (verify_jvm_instructions): Remove unused label `bad_ldc'.
      
      From-SVN: r25731
      Kaveh R. Ghazi committed
    • Minor testsuite fixes for targets with 16-bit ints and targets without I/O. · 6e0f130b
      	* execute/970312-1.c, execute/980605-1.c (f): Change printf to sprintf.
      	* execute/bf-sign-2.c (struct X): Add u15 field.
      	(main): Add check for u15.  Conditionalize u31 check depending on
      	whether ints are <32 bits or >=32 bits.
      
      From-SVN: r25730
      Jim Wilson committed