aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
AgeCommit message (Collapse)AuthorFilesLines
2000-09-11defaults.h: Provide default definitions for...Zack Weinberg3-8/+5
* defaults.h: Provide default definitions for: CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED. * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c, profile.c, sdbout.c, tradcif.y, tree.c, ch/decl.c, ch/timing.c, cp/decl.c, cp/rtti.c, f/com.c, f/com.h, java/decl.c, java/expr.c: Include defaults.h if not already included. Don't define the above macros. * Makefile.in, ch/Makefile.in, cp/Makefile.in, f/Makefile.in: Update dependencies. From-SVN: r36307
2000-09-09typeck.c (build_java_array_type): Correct first parameter in ↵Geoff Keating2-1/+6
ADJUST_FIELD_ALIGN invocation. * typeck.c (build_java_array_type): Correct first parameter in ADJUST_FIELD_ALIGN invocation. From-SVN: r36280
2000-09-07verify.c (merge_types): Load the types to merge if necessary.Alexandre Petit-Bianco2-0/+18
2000-09-05 Alexandre Petit-Bianco <apbianco@cygnus.com> * verify.c (merge_types): Load the types to merge if necessary. (http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00245.html) From-SVN: r36243
2000-09-06* lang-specs.h: Also recognize `-femit-class-files'.Tom Tromey2-1/+6
From-SVN: r36212
2000-09-05parse.y (do_merge_string_cste): New locals.Alexandre Petit-Bianco2-6/+17
2000-08-11 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (do_merge_string_cste): New locals. Create new STRING_CSTs each time, use memcpy. Fixes gcj/311 (Fixes gcj/311: http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00144.html http://sources.redhat.com/ml/java-prs/2000-q3/msg00116.html) From-SVN: r36176
2000-09-06jcf-io.c: Include zlib.h.Anthony Green4-8/+57
2000-09-02 Anthony Green <green@redhat.com> * jcf-io.c: Include zlib.h. (open_in_zip): Read compressed class file archives. * zipfile.h (ZipDirectory): Add uncompressed_size and compression_method fields. * zextract.c (read_zip_archive): Collect file compression info. From-SVN: r36175
2000-09-05boehm.c (mark_reference_fields): Set marking bits for all words in a ↵Hans Boehm2-3/+25
multiple-word record. 2000-08-07 Hans Boehm <boehm@acm.org> * boehm.c (mark_reference_fields): Set marking bits for all words in a multiple-word record. (get_boehm_type_descriptor): Use the procedure marking descriptor for java.lang.Class. From-SVN: r36159
2000-09-03Configure changes required for zlib.Anthony Green1-2/+6
From-SVN: r36122
2000-08-31Make-lang.in (jc1$(exeext), [...]): Make parallel safe.Mike Stump1-13/+13
* Make-lang.in (jc1$(exeext), gcjh$(exeext), jv-scan$(exeext), jcf-dump$(exeext)): Make parallel safe. From-SVN: r36085
2000-08-31Make-lang.in (jc1$(exeext), [...]): Make parallel safe.Mike Stump1-0/+5
* Make-lang.in (jc1$(exeext), gcjh$(exeext), jv-scan$(exeext), jcf-dump$(exeext)): Make parallel safe. From-SVN: r36084
2000-08-29typeck.c (build_java_array_type): Rewrite code to do array alignment.Andrew Haley2-2/+30
2000-08-16 Andrew Haley <aph@cygnus.com> * typeck.c (build_java_array_type): Rewrite code to do array alignment. Take into account back-end macros when aligning array data. Remove setting of TYPE_USER_ALIGN; Java doesn't allow the user to set alignment. Fixes gcj/252 and 160. (This fixes gcj/252 and 160: http://sources.redhat.com/ml/java-prs/2000-q2/msg00254.html <couldn't find an archive entry for gcj/160> http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00907.html) From-SVN: r36057
2000-08-29top level:Zack Weinberg4-15/+25
* c-common.c (declare_function_name): Use func_id_node, function_id_node, and pretty_function_id_node. Do not make __func__ visible at file scope. * c-common.h (c_tree_index): Add CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID. (function_id_node, pretty_function_id_node, func_id_node): New macros. * c-decl.c (init_decl_processing): Initialize function_id_node, pretty_function_id_node, and func_id_node. (c_make_fname_decl): Correct comment. * tree.h (struct tree_identifier): Constify pointer member. * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *. * c-pragma.h (struct weak_syms): Constify name and value members. (add_weak): Constify arguments. * calls.c (special_function_p): Constify a char *. (expand_call): Remove variable which is initialized and then never used. * dependence.c (struct def_use, struct induction, struct subscript): Constify 'variable' member. (get_low_bound, have_induction_variable): Constify char * argument. (find_induction_variable): Add braces to avoid dangling else. (classify_dependence): Constify char * arrays. * profile.c (output_func_start_profiler): Constify a char *. * stor-layout.c (finalize_record_size): Constify a char *. * tree.c (is_attribute_p): Constify a char *. * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument. * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code for comprehensibility. Do not call get_identifier if we did not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to create temporary string constants, not ggc_alloc_string. No need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const char * to hold IDENTIFIER_POINTERs. ch: * inout.c (add_enum_to_list): Use DECL_NAME directly, don't get its IDENTIFIER_POINTER and immediately call get_identifier on it. * lex.c (yywrap): Constify a char *. cp: * class.c (build_secondary_vtable): Constify a char *. * decl.c (init_decl_processing): Initialize function_id_node, pretty_function_id_node, and func_id_node. * input.c (struct input_source): Constify 'str'. (feed_input): Constify first argument. * mangle.c (write_identifier): Constify argument. * pt.c (mangle_class_name_for_template): Constify argument. f: * ansify.c: Use #line, not # <number>. java: * jcf-parse.c (set_source_filename): Constify a char *. * jcf-write.c (append_innerclasses_attribute, make_class_file_name): Constify a char *. Don't recycle a variable for an unrelated purpose. * parse.y: (build_alias_initializer_parameter_list): Constify a char *. (breakdown_qualified): Do not modify IDENTIFIER_POINTER strings. From-SVN: r36055
2000-08-29expr.c (can_widen_reference_to): Fixed indentation.Alexandre Petit-Bianco4-17/+26
2000-08-29 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (can_widen_reference_to): Fixed indentation. * java-tree.h (CLASS_METHOD_CHECKED_P): Added leading comment. * parse.y: `finit$' replaces `$finit$' in comments. (try_builtin_assignconv): Fixed leading comment. (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg01246.html) From-SVN: r36039
2000-08-29javaop.h (WORD_TO_INT): Mask lower 32 bits of a jword before sign extending.Andrew Haley3-5/+15
2000-08-22 Andrew Haley <aph@cygnus.com> * javaop.h (WORD_TO_INT): Mask lower 32 bits of a jword before sign extending. Fixes gcj/321. * jcf-parse.c (get_constant): Mask lower 32 bits of a jint before combining to make a jlong. Fixes gcj/321. (This fixes gcj/321: http://sources.redhat.com/ml/java-prs/2000-q3/msg00146.html http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00897.html) From-SVN: r36037
2000-08-25* gjavah.c (cxx_keyword_subst): Use ARRAY_SIZE.Greg McGary2-1/+5
From-SVN: r35988
2000-08-24lang.c (lang_decode_option): Use ARRAY_SIZE.Greg McGary3-6/+7
* lang.c (lang_decode_option): Use ARRAY_SIZE. * parse.y (BINOP_LOOKUP): Likewise. From-SVN: r35951
2000-08-23java-tree.h (flag_extraneous_semicolon): New extern.Alexandre Petit-Bianco5-15/+45
2000-08-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * java-tree.h (flag_extraneous_semicolon): New extern. * lang-options.h: (-Wextraneous-semicolon): New option. * lang.c (flag_redundant): Fixed typo in leading comment. (flag_extraneous_semicolon): New global. (lang_decode_option): Set `flag_extraneous_semicolon' when -Wall. Decode `-Wextraneous-semicolon'. * parse.y (type_declaration:): Removed `SC_TK' hack, added `empty_statement' rule. (class_body_declaration): Likewise. (method_body:): Accept `;' as a method body. (static_initializer:): Removed `SC_TK' hack. (constructor_block_end:): Likewise. (empty_statement:): Report deprecated empty declaration. Fixes gcj/295 (Fix to gcj/295: http://sources.redhat.com/ml/java-prs/2000-q3/msg00095.html) From-SVN: r35929
2000-08-21lang-specs.h: Do not process -o or run the assembler if -fsyntax-only.Nix2-2/+7
* lang-specs.h: Do not process -o or run the assembler if -fsyntax-only. From-SVN: r35853
2000-08-20re GNATS gcj/305 (Interface methods implementations not always checked)Tom Tromey2-4/+23
* parse.y (check_abstract_method_definitions): Now return `int'. Check implemented interfaces. Fixes PR gcj/305. From-SVN: r35820
2000-08-20re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)Tom Tromey2-1/+6
* parse.y (patch_switch_statement): Disallow `long' in switch expressions. Fixes PR gcj/310. From-SVN: r35819
2000-08-17decl.c (finit_leg_identifier_node): New global.Alexandre Petit-Bianco4-5/+30
2000-08-15 Alexandre Petit-Bianco <apbianco@cygnus.com> * decl.c (finit_leg_identifier_node): New global. (init_decl_processing): Use `finit$' to initialize finit_identifier_node. Use `$finit$' to initialize finit_leg_identifier_node. * expr.c (expand_java_field_op): Use ID_FINIT_P. * java-tree.h (finit_identifier_node): Changed attached comment. (finit_leg_identifier_node): New declaration. (ID_FINIT_P): Take finit_identifier_node and finit_leg_identifier_node into account. This is a backward compatibility hack. (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00664.html See also the matching Java run-time patch: http://sources.redhat.com/ml/java-discuss/2000-08/msg00031.html) From-SVN: r35768
2000-08-15jcf-write.c (generate_bytecode_conditional): Re-installed lost Jan 6 2000 patch.Alexandre Petit-Bianco3-4/+16
2000-08-14 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-write.c (generate_bytecode_conditional): Re-installed lost Jan 6 2000 patch. (generate_bytecode_insns): Check `nargs' before emitting it. * verify.c (merge_type_state): Fixed typo. * ChangeLog: Fixed typo in some jcf-write.c entries mentioning generate_bytecode_{conditional,insns}. (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00617.html) From-SVN: r35733
2000-08-13check-init.c (check_init): Add case for BIT_FIELD_REF (required for -pg builds).Anthony Green2-0/+6
* check-init.c (check_init): Add case for BIT_FIELD_REF (required for -pg builds). From-SVN: r35661
2000-08-11class.c (maybe_layout_super_class): Fixed indentation.Alexandre Petit-Bianco7-37/+134
2000-08-10 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (maybe_layout_super_class): Fixed indentation. * java-tree.h (CLASS_METHOD_CHECKED_P): New macro. (java_check_methods): New function declaration. * jcf-parse.c (get_constant): Let `char_len' go up to 3. Use `str' instead of `str_ptr'. * jcf-write.c (generate_bytecode_insns): Emit number the of args of a `invokeinterface' at the right time. * parse.h (WFL_STRIP_BRACKET): New macro. (SET_TYPE_FOR_RESOLUTION): Use it. * parse.y (build_unresolved_array_type): Reuse `type_or_wfl.' (check_class_interface_creation): Don't check for cross package innerclass name clashes. (method_header): Behave properly if MDECL is `error_mark_node.' (method_declarator): Return `error_mark_node' if bogus current class. (resolve_class): Apply WFL_STRIP_BRACKET on `cl' if necessary. (resolve_and_layout): New local `decl_type', set and used. Call java_check_methods. (java_check_methods): New method. (java_layout_classes): Use it. (resolve_qualified_expression_name): No EH check necessary in access$<n>. (java_complete_lhs): Use VAR_DECL's DECL_INITIAL when evaluating `case' statement. (patch_assignment): Set DECL_INITIAL on integral final local. (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00516.html) From-SVN: r35644
2000-08-072000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.comAlexandre Petit-Bianco6-79/+291
* parse.y (build_dot_class_method_invocation): Changed parameter name to `type.' Build signature from `type' and convert it to a STRING_CST if it's an array. (patch_incomplete_class_ref): `build_dot_class_method_invocation' to use `ref_type' directly. 2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (maybe_yank_clinit): When generating bytecode: non empty method bodies not to rule out discarding `<clinit>'; don't use <clinit> to initialize static fields with constant initializers. 2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com> * gjavah.c (print_method_info): Added `synth' parameter. Skip synthetic methods. (method_synthetic): New global. (HANDLE_METHOD): Recognize synthetic method and tell `print_method_info' about it. (HANDLE_END_METHOD): Do not issue an additional `;\n' if we're processing a synthetic method. * jcf-reader.c (skip_attribute): New function. ( skip_attribute): Likewise. 2000-08-01 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (build_outer_field_access): Fixed comments. (fix_constructors): Emit the initialization of this$<n> before calling $finit$. (resolve_qualified_expression_name): Build an access to `decl' if necessary. 2000-07-31 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (curent_class): Non longer const. (inner_qualifier, inner_qualifier_length): Deleted. (current_class_length): New global. (bracket_count): Fixed typo in leading comment. (anonymous_count): New global. (class_instance_creation_expression:): Handle anonymous classes. (anonymous_class_creation:): New rule. (push_class_context): Rewritten. (pop_class_context): Likewise. (INNER_QUALIFIER): Macro deleted. (report_class_declaration): call `push_class_context' when entering the function. `fprintf' format modified not to use INNER_QUALIFIER. (report_class_declaration): Assign `package_name' and `current_class' to NULL separatly. 2000-07-31 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (build_invokeinterface): Call layout_class_methods on target interface. (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00339.html) From-SVN: r35560
2000-08-06lang-options.h...Ovidiu Predescu1-0/+5
lang-options.h: Added a comma after the last element to avoid syntax errors when other languages define additional options. From-SVN: r35515
2000-08-06Added a comma after the last element to avoid syntax errors when otherOvidiu Predescu1-1/+1
languages define additional options. From-SVN: r35514
2000-08-05[multiple changes]Zack Weinberg3-7/+13
2000-08-04 Andreas Schwab <schwab@suse.de> * cppmain.c (cb_def_pragma): Skip the first two tokens from the token list, which are always `#' and `pragma'. 2000-08-04 Zack Weinberg <zack@wolery.cumb.org> * tree.c (tree_expr_nonnegative_p): Move to... * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR. (rtl_expr_nonnegative_p): New. * tree.h: Add prototype for rtl_expr_nonnegative_p. * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM, CONST_DOUBLE_CHAIN: Move to... * rtl.h: ...here. Use XCINT/XCEXP. * Makefile.in: Remove toplev.o from OBJS. Add rule to make libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND to VOL_FILES. * objc/Make-lang.in (cc1obj): Link with $(BACKEND). ch: * Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist. * Makefile.in (cc1chill): Link with $(BACKEND). Define BACKEND, eliminate C_OBJS (was commented out), OBJS, OBJDEPS. cp: * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS. (cc1plus): Link with $(BACKEND) and $(C_OBJS). f: * Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add BACKEND; delete OBJS, OBJDEPS. (f771): Link with $(BACKEND). java: * Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add BACKEND; delete OBJS, OBJDEPS. (jc1): Link with $(BACKEND). (jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND). From-SVN: r35501
2000-08-02gcc.h (lang_specific_driver): Constify second argument.Zack Weinberg2-6/+8
* gcc.h (lang_specific_driver): Constify second argument. * gcc.c (translate_options, process_command, main): Likewise. Constify variables to match. Cast second argument to pexecute. * cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust type of second argument to lang_specific_driver, and update code as necessary. From-SVN: r35433
2000-08-02c-common.h: Prototype min_precision and c_build_qualified_type here...Zack Weinberg2-1/+5
* c-common.h: Prototype min_precision and c_build_qualified_type here... * c-tree.h: ... not here. * errors.h: Prototype fancy_abort. * emit-rtl.c (gen_lowpart_common): Move variable 'c' into HOST_BITS_PER_WIDE_INT == 64 ifdef block. * regrename.c (regrename_optimize): Make control flow explicit. (replace_reg_in_block): Initialize reg_use to 0. * i386.c (legitimate_address_p): Rename error label to report_error to avoid namespace clash. cp: * cp-tree.h: Don't prototype min_precision here. (my_friendly_assert): Cast expression to void. * semantics.c (do_poplevel): Initialize scope_stmts. f: * expr.c (ffeexpr_finished_): Cast signed side of ?: expression to bool. java: * class.c (build_dtable_decl): Initialize dummy. intl: * dcgettext.c (find_msg): Initialize act before loop. (guess_category_value): Add dummy uses of both parameters. * localealias.c (read_alias_file): Cast arg of strchr to char *. From-SVN: r35427
2000-07-28class.c (make_class_data): Create vtable for abstract classes.Tom Tromey2-6/+22
2000-07-27 Tom Tromey <tromey@cygnus.com> Anthony Green <green@cygnus.com> Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (make_class_data): Create vtable for abstract classes. (get_dispatch_table): Changed to cope with abstract classes. Co-Authored-By: Alexandre Petit-Bianco <apbianco@cygnus.com> Co-Authored-By: Anthony Green <green@cygnus.com> From-SVN: r35313
2000-07-27[multiple changes]Alexandre Petit-Bianco3-17735/+25
2000-07-27 Tom Tromey <tromey@cygnus.com> * parse.y (patch_method_invocation): Don't reverse the argument list when dealing with anonymous class constructors. Fixed typo in comment. 2000-07-27 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (build_alias_initializer_parameter_list): Reverse crafted list when building aliases for anonymous class constructors. (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg01146.html) From-SVN: r35303
2000-07-27[multiple changes]Alexandre Petit-Bianco3-25/+22
2000-07-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (jdep_resolve_class): Don't bother checking potential innerclass access if `decl' is NULL. (find_in_imports_on_demand): TREE_PURPOSE of `import' contains the WFL. 2000-07-24 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (find_as_inner_class): Removed 2000-07-19 patches. * jcf-parse.c (HANDLE_INNERCLASSES_ATTRIBUTE): Local `decl' moved outside the `if' statement, alias to innerclass removed, `decl' used to mark the class complete. From-SVN: r35287
2000-07-25parse.c: Remove (again.)Alexandre Petit-Bianco1-0/+4
2000-07-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.c: Remove (again.) From-SVN: r35244
2000-07-21parse.y (simple_name:): Fixed typo in error message.Alexandre Petit-Bianco3-1/+17733
2000-07-21 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (simple_name:): Fixed typo in error message. (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00881.html) From-SVN: r35186
2000-07-21parse.y (simple_name:): Reject `$' in type names.Alexandre Petit-Bianco2-1/+12
2000-07-19 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (simple_name:): Reject `$' in type names. (resolve_type_during_patch): Use `type' as a second argument to resolve_no_layout. Fixes gcj/257. (Fixes gcj/257: http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00869.html) From-SVN: r35182
2000-07-21[multiple changes]Alexandre Petit-Bianco3-4/+30
2000-07-21 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (java_complete_lhs): LOOP_EXPR:, SWITCH_EXPR: the node or its first operand can be error marks. 2000-07-20 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.h (SET_TYPE_FOR_RESOLUTION): Use GET_CPC. * parse.y (method_header): Likewise. 2000-07-19 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (find_as_inner_class): Handle the case where the enclosing context of an innerclass has been loaded as bytecode. (Side gcj/225 bug fix and some cleanup: http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00832.html) From-SVN: r35176
2000-07-20ChangeLog to fixes to gcj/242, gcj/249, gcj/239, gcj/225 and gcj/256:Alexandre Petit-Bianco1-0/+37
http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00801.html From-SVN: r35159
2000-07-20[multiple changes]Alexandre Petit-Bianco3-24/+88
2000-07-13 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (patch_method_invocation): Fixed comment. (maybe_use_access_method): Build this$<n>s to the context of the target method, or a type that extends it. Fixes gcj/242. 2000-07-13 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (not_accessible_p): Access granted to innerclasses (indirectly) extending the reference type. Fixes gcj/249. 2000-07-10 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (resolve_qualified_expression_name): Verify qualified access to `this.' Fixes gcj/239. 2000-07-10 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (set_super_info): Handled protected inner classes. (common_enclosing_context_p): Bail early if arguments aren't both inner classes. (get_access_flags_from_decl): Handle private and protected inner classes. * java-tree.h (TYPE_PROTECTED_INNER_CLASS): New macro. (CLASS_PROTECTED): Likewise. (struct lang_type): New bitfield `poic.' * parse.y (jdep_resolve_class): Call check_inner_class_access on inner classes only. (check_inner_class_access): Renamed arguments, added comments. Handles protected inner classes (fixes gcj/225) (not_accessible_p): Fixed comments. Avoid handling inner classes. 2000-07-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (resolve_qualified_expression_name): Handle inner class access. Fixes gcj/256. (Fixes gcj/242, gcj/249, gcj/239, gcj/225 and gcj/256: http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00801.html) From-SVN: r35156
2000-07-19lang-specs.h: Added %(jc1) to java compiler options.Jeff Sturm2-1/+5
2000-07-18 Jeff Sturm <jeff.sturm@appnet.com> * lang-specs.h: Added %(jc1) to java compiler options. From-SVN: r35130
2000-07-14top level:Zack Weinberg2-0/+6
* .cvsignore: Correct typo. cp: * .cvsignore: parse.h and parse.c have no cp- prefix. java: * .cvsignore: New file. From-SVN: r35031
2000-07-14* parse.c: Remove.Mark Mitchell2-17653/+4
From-SVN: r35029
2000-07-13parse.y (fold_constant_for_init): Avoid bullish conversion.Alexandre Petit-Bianco3-8/+6
2000-07-13 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (fold_constant_for_init): Avoid bullish conversion. (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00506.html) From-SVN: r35022
2000-07-13Reverting incorrectly applied changeTom Tromey1-22/+2
From-SVN: r35021
2000-07-13* lang-specs.h: Added %{I*}.Tom Tromey3-3/+27
From-SVN: r35018
2000-07-13gcc.c (do_spec_1): Add new %B operator.Zack Weinberg2-16/+12
* gcc.c (do_spec_1): Add new %B operator. (set_input): Prepare for %B. (link_command_spec): Move up with the other tm.h- overrideable specs. Factor out the portion conditional on LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc). (struct compiler): Just have a single spec string. All users updated. (default_compilers): Remove unnecessary braces. (static_specs): Update. (trad_capable_cpp, cpp_options, cc1_options, asm_options): New named specs. (C and assembly specs): Use the new named specs, as appropriate. * objc/lang-specs.h, ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h: Use the new named specs. Remove unnecessary braces. From-SVN: r35008
2000-07-12gcc_update (files_and_dependencies): Remove generated YACC files.Mark Mitchell2-2571/+4
* gcc_update (files_and_dependencies): Remove generated YACC files. * c-parse.c: Remove. * c-parse.h: Likewise. * c-parse.y: Likewise. * objc/objc-parse.c: Likewise. * objc/objc-pasre.y: Likewise. * Makefile.in ($(PARSE_H)): Depend directly on parse.y. * parse.c: Remove. * parse.h: Likewise. * parse-scan.c: Remove. From-SVN: r34982
2000-07-10Fixing a really lame patch. Sorry for the ChangeLog tweaking.)Alexandre Petit-Bianco2-3/+4
From-SVN: r34954
2000-07-07parse.y (generate_classfile): Exclude null strings.Alexandre Petit-Bianco2-1/+6
2000-07-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (generate_classfile): Exclude null strings. (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00233.html) From-SVN: r34923
2000-07-07jcf-write.c (generate_classfile): Properly install the ConstantValue ↵Alexandre Petit-Bianco4-5/+17
attribute and the initial value constant... 2000-07-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-write.c (generate_classfile): Properly install the ConstantValue attribute and the initial value constant pool index on string constants. * parse.y (java_complete_lhs): Keep DECL_INITIAL when emitting class files. (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00233.html) From-SVN: r34921