- 05 May, 1999 18 commits
-
-
From-SVN: r26791
Per Bothner committed -
d * class.c (make_field_value): DECL_INITIAL may be a string literal; temporarily zero it while calling rest_of_decl_compilation. * java-tree.h (string_ptr_type_node): Add declaration. * decl.c: Define and initialize string_ptr_type_node. * parse.y (patch_string_cst): Use string_ptr_type_node. * parse.h (LOOP_HAS_LABEL_P, LOOP_HAS_LABEL_SKIP_P): Removed. * parse.y (for_statement): Now unconditionally exit_block. (finish_labeled_statement): No longer exit_block if for-loop. (patch_loop_statement): Check harder if the loop is already labeled. * parse.y (patch_initialized_static_field): Removed function. (maybe_generate_clinit): Removed special handling for interfaces. (java_complete_expand_methods): Do a preliminary java_complete_tree on <clinit> to determine if it can be removed. (java_complete_expand_method): Remove special handling for <clinit>. (java_complete_lhs): For BLOCK and EXPR_WITH_FILE_LOCATION optimize if we get back empty_stmt_node. For MODIFY_EXPR, re-do checking of static initializers. (fold_constant_for_init): Don't return immediate if VAR_DECL. For VAR_DECL, pass correct context. From-SVN: r26790
Per Bothner committed -
* class.c (make_field_value): DECL_INITIAL may be a string literal; temporarily zero it while calling rest_of_decl_compilation. * java-tree.h (string_ptr_type_node): Add declaration. * decl.c: Define and initialize string_ptr_type_node. * parse.y (patch_string_cst): Use string_ptr_type_node. * parse.h (LOOP_HAS_LABEL_P, LOOP_HAS_LABEL_SKIP_P): Removed. * parse.y (for_statement): Now unconditionally exit_block. (finish_labeled_statement): No longer exit_block if for-loop. (patch_loop_statement): Check harder if the loop is already labeled. * parse.y (patch_initialized_static_field): Removed function. (maybe_generate_clinit): Removed special handling for interfaces. (java_complete_expand_methods): Do a preliminary java_complete_tree on <clinit> to determine if it can be removed. (java_complete_expand_method): Remove special handling for <clinit>. (java_complete_lhs): For BLOCK and EXPR_WITH_FILE_LOCATION optimize if we get back empty_stmt_node. For MODIFY_EXPR, re-do checking of static initializers. (fold_constant_for_init): Don't return immediate if VAR_DECL. For VAR_DECL, pass correct context. From-SVN: r26789
Per Bothner committed -
� * verify.c (verify_jvm_instructions): Better error messages. From-SVN: r26788
Per Bothner committed -
From-SVN: r26787
Jason Merrill committed -
From-SVN: r26786
J"orn Rennecke committed -
* Makefile.in: Rebuilt. * Makefile.am (CLEANFILES): Don't mention $(class_files). (clean-local): New target * java/lang/natRuntime.cc: Include <ltdl.h> if required. (load, loadLibrary): Now native. (init): New method. * java/lang/Runtime.java (load, loadLibrary): Now native. (init): New native method. (Runtime): Use init. * prims.cc: Include <ltdl.h> if required. (JvRunMain): Call LTDL_SET_PRELOADED_SYMBOLS. From-SVN: r26785
Tom Tromey committed -
Wed May 5 16:26:13 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com> * function.c (purge_addressof_replacements): Rename into purge_bitfield_addressof_replacements. (purge_addressof_replacements): New variable. (purge_addressof_1): Add code for changing addressof in notes for field values which are extracted by usage MEM with narrower mode. (purge_addressof): Initialize purge_bitfield_addressof_replacements. From-SVN: r26784
Vladimir Makarov committed -
From-SVN: r26783
Per Bothner committed -
* lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs. (libjava_find_lib): Add `-L' option to find the actual library. From-SVN: r26782
Tom Tromey committed -
1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr> * configure.in: Switch from irix threads to posix threads * configure: Regenerate. From-SVN: r26781
Gilles Zunino committed -
* decl2.c (start_objects): Don't let static constructors and destructors get inlined. * parse.y (nested_name_specifier): Make sure ordinary types are complete, just like template types. * parse.c: Regenerated. * pt.c (check_explicit_specialization): Improve error messages. From-SVN: r26780
Mark Mitchell committed -
1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr> * configure.in: Switch from irix threads to posix threads Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep for mips architecture. * configure: Regenerate. From-SVN: r26779
Gilles Zunino committed -
From-SVN: r26778
Per Bothner committed -
* Makefile.in: Replace with automake-generated file. * Makefile.am: New file. * configure: Replaced with autoconf-generated script. * aclocal.m4: New file. * acinclude.m4: New file. * configure.in: New file. * Makefile: Removed. From-SVN: r26777
Tom Tromey committed -
From-SVN: r26776
Nick Clifton committed -
1999-05-05 09:58 -0400 Zack Weinberg <zack@rabi.columbia.edu> * gcc.c (default_compilers): Fix brace nesting bug. * objc/lang-specs.h: Use %i, not %g.mi, for the input file when processing an .mi file. From-SVN: r26775
Zack Weinberg committed -
From-SVN: r26774
Jeff Law committed
-
- 04 May, 1999 6 commits
-
-
From-SVN: r26770
Tom Tromey committed -
* resource.c (mark_set_resources): Handle UNSPEC_VOLATILE, ASM_INPUT, TRAP_IF, and ASM_OPERANDS just like in mark_referenced_resources. From-SVN: r26769
Mark Mitchell committed -
From-SVN: r26768
Zack Weinberg committed -
actions.c (chill_expand_assignment): Use powersetlen to calculate the length of an array of packed bits. Tue May 4 14:52:53 1999 Dave Brolley <brolley@cygnus.com> * actions.c (chill_expand_assignment): Use powersetlen to calculate the length of an array of packed bits. From-SVN: r26767
Dave Brolley committed -
From-SVN: r26766
Jeff Law committed -
From-SVN: r26765
Jeff Law committed
-
- 03 May, 1999 16 commits
-
-
typeck.c (string_conv_p): Use same_type_p to check whether we try to convert between char and wchar_t. * typeck.c (string_conv_p): Use same_type_p to check whether we try to convert between char and wchar_t. From-SVN: r26764
Martin v. Löwis committed -
From-SVN: r26763
Martin v. Löwis committed -
* rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Change non-PowerPC and AIX64 combination to warning. Add warning for disabling PowerPC64 support when using 64-bit mode. (LIB_SPEC): Do not link with libg.a in 64-bit mode. (LINK_SPEC): Do not export libg.exp symbols in 64-bit mode. * rs6000/rs6000.h (MY_ISCOFF): Treat import/export files as valid XCOFF files. (read_only_data_section, private_data_section, read_only_private_data_section): Always align CSECTs to doubleword boundary regardless of mode. (TEXT_SECTION_ASM_OP): Align text CSECT on doubleword boundary in 64-bit mode. (DATA_SECTION_ASM_OP): Always align CSECT to doubleword boundary. (ASM_OUTPUT_LOCAL): Use rounded size in 64-bit mode to maintain doublword alignment. From-SVN: r26762
David Edelsohn committed -
* parse-scan.y (interface_declaration): Call report_class_declaration for interfaces. From-SVN: r26761
Tom Tromey committed -
* parse-scan.y (interface_declaration): Call report_class_declaration for interfaces. From-SVN: r26760
Tom Tromey committed -
From-SVN: r26759
Craig Burley committed -
Fri Apr 30 17:54:40 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * check-init.c (check_init): Exclude a case of error when doing xrefs. * class.c (layout_class_method): Don't generate the error message twice when compiling from source. * lang-options.h: Added `-Wredundant-modifers' and `-Wunusupported-jdk11' flags and help text. * lang.c (lang_decode_option): Added support for `-Wunsupported-jdk11' and `-Wredundant-modifiers'. flag_static_local_jdk11 and flag_redundant set accordingly. * lex.c (java_lex): Call BUILD_OPERATOR on CCB_TK. * parse.h (EXPR_WFL_ADD_COL): New macro. (DECL_END_SOURCE_LINE): Likewise. (DECL_INHERITED_SOURCE_LINE): Likewise. * parse.y (static_ref_err): New function, prototyped. (CCB_TK): Now tagged <operator>. (class_body:): Remember the location of the closing '}' of a class definition when doing xrefs. (block:): Likewise. (block_end:): Likewise. (create_class): Remember the location of the inherited class identifier when doing xrefs. (register_fields): Added test on first operand of `init' before testing it TREE_CODE. (method_header): Store the location of the class identifier in the class decl when doing xrefs. (finish_method_declaration): Don't combine first/last method line when doing xref. (java_check_regular_methods): Warning check on not overriding methods with default access on other packages move before check on static methods. Initialization of `aflags' also moved up. (resolve_expression_name): Call static_ref_err to report the error. (static_ref_err): New function, implemented. (resolve_field_access): Returned simplified static field access when doing xrefs. (resolve_qualified_expression_name): Check for illegal use of static fields in a non static context. Call static_ref_err to report error in various places. (java_complete_tree): To not fold initialized static fields when doing xrefs. (java_complete_lhs): Likewise. From-SVN: r26758
Alexandre Petit-Bianco committed -
From-SVN: r26757
Craig Burley committed -
From-SVN: r26756
Craig Burley committed -
From-SVN: r26755
Zack Weinberg committed -
* search.c (lookup_field_r): Set the TREE_TYPE of an ambiguous lookup to error_mark_node here. (lookup_member): Revise documentation. Add comments. Don't set the TREE_TYPE to error_mark_node here, and don't build up an extra TREE_LIST for ambiguous lookups. (setup_class_bindings): Adjust accordingly. (push_class_decls): Revise out-of-date comments. From-SVN: r26754
Mark Mitchell committed -
From-SVN: r26753
Mark Mitchell committed -
* mn10200.md (btst insns): btst does not leave cc0 in a useable state for redundant tst eliminatino. * mn10300.md (btst insns): Likewise. From-SVN: r26752
Jeffrey A Law committed -
From-SVN: r26751
Kaveh R. Ghazi committed -
0 * mips.h (Pmode): Revert Oct 14th change which added a cast. From-SVN: r26750
Kaveh Ghazi committed -
� * mips.h (Pmode): Revert Oct 14th change which added a cast. From-SVN: r26749
Kaveh Ghazi committed
-