- 15 Mar, 1999 13 commits
-
-
* class.c (make_class): Don't set CLASS_P here (because this function is also called by build_java_array_type). (push_class): Set CLASS_P here instead. * parse.h (TYPE_CLASS_P): Check for TYPE_ARRAY_P is redundant. * jcf-dump.c (print_access_flags): Take extra parameter to indicate context. If the context is class, perfer "super" over "synchronized". * jcf-write.c (generate_classfile): Don't add ACC_SUPER if interface. * parse.y (create_class): Don't call parser_check_super here; it is not robust. Always wait until later. * parse.y (method_header): For interfaces, set ACC_ABSTRACT (to match what JDK 1.2 does), but don't set ACC_PUBLIC. From-SVN: r25785
Per Bothner committed -
d * class.c (make_class): Don't set CLASS_P here (because this function is also called by build_java_array_type). (push_class): Set CLASS_P here instead. * parse.h (TYPE_CLASS_P): Check for TYPE_ARRAY_P is redundant. * jcf-dump.c (print_access_flags): Take extra parameter to indicate context. If the context is class, perfer "super" over "synchronized". * jcf-write.c (generate_classfile): Don't add ACC_SUPER if interface. * parse.y (create_class): Don't call parser_check_super here; it is not robust. Always wait until later. * parse.y (method_header): For interfaces, set ACC_ABSTRACT (to match what JDK 1.2 does), but don't set ACC_PUBLIC. From-SVN: r25784
Per Bothner committed -
a * class.c (make_class): Don't set CLASS_P here (because this function is also called by build_java_array_type). (push_class): Set CLASS_P here instead. * parse.h (TYPE_CLASS_P): Check for TYPE_ARRAY_P is redundant. * jcf-dump.c (print_access_flags): Take extra parameter to indicate context. If the context is class, perfer "super" over "synchronized". * jcf-write.c (generate_classfile): Don't add ACC_SUPER if interface. * parse.y (create_class): Don't call parser_check_super here; it is not robust. Always wait until later. * parse.y (method_header): For interfaces, set ACC_ABSTRACT (to match what JDK 1.2 does), but don't set ACC_PUBLIC. From-SVN: r25783
Per Bothner committed -
T * class.c (make_class): Don't set CLASS_P here (because this function is also called by build_java_array_type). (push_class): Set CLASS_P here instead. * parse.h (TYPE_CLASS_P): Check for TYPE_ARRAY_P is redundant. * jcf-dump.c (print_access_flags): Take extra parameter to indicate context. If the context is class, perfer "super" over "synchronized". * jcf-write.c (generate_classfile): Don't add ACC_SUPER if interface. * parse.y (create_class): Don't call parser_check_super here; it is not robust. Always wait until later. * parse.y (method_header): For interfaces, set ACC_ABSTRACT (to match what JDK 1.2 does), but don't set ACC_PUBLIC. From-SVN: r25782
Per Bothner committed -
* decl2.c (validate_nonmember_using_decl): Issue sensible error-messages on bogus qualifiers. From-SVN: r25781
Mark Mitchell committed -
names in order to match the documentation. From-SVN: r25780
Nick Clifton committed -
Mon Mar 15 10:20:20 1999 Mark Mitchell <mark@markmitchell.com> * reload.c (find_reloads): Add a REG_LABEL note if we substitute a LABEL_REF for something else. From-SVN: r25777
Mark Mitchell committed -
* fold-const.c (exact_real_inverse): Move variable `float_error' into the scope where it is used. (const_binop_1): New static function. (cb_args): New struct. (const_binop): Use them in call to `do_float_handler'. (fold_convert_1): New static function. (fc_args): New struct. (fold_convert): Use them in call to `do_float_handler'. From-SVN: r25776
Kaveh R. Ghazi committed -
From-SVN: r25775
Jason Merrill committed -
* rtlanal.c (auto_inc_p): New function. * rtl.h (auto_inc_p): Prototype it. * reload1.c (add_auto_inc_notes): New function. (reload): Strip REG_INC notes and call add_auto_inc_notes for each insn to restore them correctly. From-SVN: r25774
Michael Hayes committed -
8 * fixinc/Makefile.in (procopen.o): List the actual dependencies. From-SVN: r25773
Manfred Hollstein committed -
� * fixinc/Makefile.in (procopen.o): List the actual dependencies. From-SVN: r25772
Manfred Hollstein committed -
From-SVN: r25771
Jeff Law committed
-
- 14 Mar, 1999 7 commits
-
-
From-SVN: r25770
Zack Weinberg committed -
From-SVN: r25769
Jason Merrill committed -
* cse.c (check_fold_consts): New static function. (cfc_args): New struct. (simplify_relational_operation): Use them in call to `do_float_handler'. * toplev.c (do_float_handler): New function to wrap calls to setjmp/set_float_handler. * toplev.h (do_float_handler): Add extern prototype. * tree.c (build_real_from_int_cst_1): New static function. (brfic_args): New struct. (build_real_from_int_cst): Use them in call to `do_float_handler'. From-SVN: r25768
Kaveh R. Ghazi committed -
warnings. From-SVN: r25765
Zack Weinberg committed -
* decl.c (duplicate_decls): Use same_type_p. * method.c (try_old_backref): Renamed from flush_repeats. Use same_type_p. Don't try to handle repeats. Return success. (is_back_referenceable_type): Return 0 if TYPE_FOR_JAVA. Support calls from old-style code, too. (check_ktype): Use same_type_p. (check_btype): Use same_type_p. Don't pull out TYPE_MAIN_VARIANT. (build_qualified_name): Simplify logic. (build_mangled_name_for_type_with_Gcode): Remove call to type_canonical_variant. (process_overload_item): Strip typedefs and quals at the top. (build_mangled_name): Likewise. Remove support for old-style repeats, which have been disabled since 2.7.2. Don't mess with TREE_USED. (build_decl_overload_real): Don't mess with TREE_USED. From-SVN: r25758
Jason Merrill committed -
From-SVN: r25756
Jeffrey A Law committed -
From-SVN: r25755
Jeff Law committed
-
- 13 Mar, 1999 13 commits
-
-
� * lex.c (java_read_char): UNGET invalid non-initial utf8 character. * lex.h (UNGETC): Change misleading macro. From-SVN: r25754
Per Bothner committed -
h * lex.c (java_read_char): UNGET invalid non-initial utf8 character. * lex.h (UNGETC): Change misleading macro. From-SVN: r25753
Per Bothner committed -
From-SVN: r25752
Richard Henderson committed -
From-SVN: r25751
Craig Burley committed -
From-SVN: r25747
Craig Burley committed -
From-SVN: r25746
Craig Burley committed -
From-SVN: r25745
Craig Burley committed -
From-SVN: r25744
Craig Burley committed -
From-SVN: r25743
Craig Burley committed -
* arm.c (arm_split_constant): Don't try to force a constant to memory after arm_reorg has run. (after_arm_reorg): New static variable. (arm_reorg): Set it. (output_func_epilogue): Clear it. From-SVN: r25742
Richard Earnshaw committed -
* error.c (cp_printers): Add 'F' escape character. (dump_type_real): Remove TREE_LIST (fnargs) printing. Functionality moved to dump_parameters. (dump_type_suffix): Use dump_parameters and dump_exception_spec. (dump_function_decl): Extend meaning of V parameter. Use dump_parameters and dump_exception_spec. (dump_parameters): New static function. (dump_exception_spec): New static function. (fndecl_as_string): Change argument semantics. Use dump_function_decl directly. * sig.c (build_signature_table_constructor): Use cp_error. From-SVN: r25741
Nathan Sidwell committed -
* semantics.c (finish_switch_cond): Handle error cases gracefully. Detected by g++.law/enum5.C * typeck.c (build_modify_expr): Check for errors after resolving offsets. Detected by g++.brendan/static1.C * decl.c (complete_array_type): Ignore initial_value if it is an error. Detected by g++.benjamin/17930.C * typeck2.c (process_init_constructor): Return error if one argument is in error. Detected by g++.benjamin/13478.C From-SVN: r25740
Martin v. Löwis committed -
From-SVN: r25739
Jeff Law committed
-
- 12 Mar, 1999 7 commits
-
-
From-SVN: r25738
Martin v. Löwis committed -
* decl.c (select_decl): Allow class templates when we need types. * decl2.c (ambiguous_decl): Likewise. From-SVN: r25737
Martin v. Löwis committed -
* configure.in ({rs6000,powerpc}-ibm-aix*): Set float_format to none. * configure: Rebuilt. From-SVN: r25734
David Edelsohn committed -
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. * 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 -
* 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 -
* 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
-