summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Daily bump.law1998-12-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24227 138bc75d-0d04-0410-961f-82ee72b054a4
* * flow.c: Update some comments.law1998-12-092-8/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24226 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (most_specialized_instantiation): New function.mmitchel1998-12-098-189/+375
| | | | | | | | | | | | | | | | | | (print_candidates): Likewise. * class.c (validate_lhs): Remove. (resolve_address_of_overloaded_function): New function, split out and then substantially reworked, from ... (instantiate_type): Use it. Simplify. * cvt.c (convert_to_reference): Complain when caller has indicated that's the right thing to do. Don't crash if instantiate_type fails. * pt.c: Substitute `parameters' for `paramters' throughout. (print_candidates): Don't make it static. (most_specialized_instantiation): Split out from ... (most_specialized): Here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24225 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Dec 9 15:37:05 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco1998-12-097-443/+893
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * java-tree.def (NEW_ARRAY_INIT): New Java tree code. * lex.c (java_lex): Remember column position before advancing one token. Retain location information on OCB_TK. * lex.h (typedef struct java_lc): Added new field. * parse.h (GET_SKIP_TYPE): New macro. (QUAL_DECL_TYPE): Redefined using GET_SKIP_TYPE. * parse.y (build_new_array_init, patch_new_array_init, patch_array_constructor, maybe_build_array_element_wfl, array_constructor_check_entry): New function prototypes. (switch_block:): Tagged <node>. (OCB_TK): Tagged <operator>. (array_initializer:): Installed actions. (variable_initializer): Build location information on element if necessary. (switch_statement:): Fixed indentation typo. (switch_block:): Redefined default action. (java_complete_tree): Handle NEW_ARRAY_INIT in MODIFY_EXPR:. (patch_assignment): Removed duplicate code. (maybe_build_array_element_wfl, build_new_array_init, patch_new_array_init, patch_array_constructor, array_constructor_check_entry): New functions. Parse and walk array initializer nodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24224 138bc75d-0d04-0410-961f-82ee72b054a4
* update old-dejagnu proc to accompany jasons 12/7 change to ↵brendan1998-12-091-7/+4
| | | | | | g++.old-deja/old-deja.exp git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24222 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Dec 9 15:33:01 1998 Dave Brolley <brolley@cygnus.com>brolley1998-12-093-9/+13
| | | | | | | | | | * lex.c (lang_init_options): Initialize cpplib. * decl2.c (parse_options,cpp_initialized): Removed. (lang_decode_option): Move initialization of cpplib to lang_init_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24221 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Dec 9 15:29:26 1998 Dave Brolley <brolley@cygnus.com>brolley1998-12-091-10/+3
| | | | | | | | | | * objc/objc-act.c (cpp_initialized): Removed. (lang_init_options): Initialize cpplib. (lang_decode_option): Move initialization of cpplib to lang_init_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24220 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Dec 9 15:29:26 1998 Dave Brolley <brolley@cygnus.com>brolley1998-12-093-10/+21
| | | | | | | | | | | * c-lang.c: (parse_options,parse_in): Added. (lang_init_options): Initialized cpplib here. * c-decl.c (parse_options,cpp_initialized): Removed. (c_decode_option): Move initialization of cpplib to lang_init_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24219 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (grokdeclarator): Update the name of the TEMPLATE_DECL, asmmitchel1998-12-093-0/+37
| | | | | | | | well as the TYPE_DECL, when a typedef name is assigned to a previously anonymous type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24218 138bc75d-0d04-0410-961f-82ee72b054a4
* Typo fix in last entry.amylaar1998-12-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24217 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload1.c (reload_combine, reload_combine_note_store):amylaar1998-12-092-7/+26
| | | | | | | | Make USE_RUID always valid. (reload_combine): Check if BASE is clobbered too early. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24216 138bc75d-0d04-0410-961f-82ee72b054a4
* If an insn cannot be reloaded, display it before calling abort()nickc1998-12-092-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24210 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Dec 9 12:15:26 1998 Dave Brolley <brolley@cygnus.com>brolley1998-12-092-2/+6
| | | | | | | * cccp.c (create_definition): Fix end of bufer logic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24205 138bc75d-0d04-0410-961f-82ee72b054a4
* * except.c (duplicate_eh_handlers, rethrow_symbol_map): Functionghazi1998-12-092-2/+7
| | | | | | | pointer parameters changed to use the PARAMS() macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24204 138bc75d-0d04-0410-961f-82ee72b054a4
* * except.h (struct handler_info): Add handler_number fieldamacleod1998-12-094-14/+21
| | | | | | | | | | | | | | * except.c (gen_exception_label): EH labels no longer need to be on the permanent obstack. (get_new_handler): Set the label number field. (output_exception_table_entry): Regenerate handler label reference from the label number field. (init_eh): Remove a blank line * integrate.c (get_label_from_map): Labels no longer need to be on the permanent obstack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24203 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1998-12-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24202 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/ultrasp1.c: empty dg-options, avoid `long long' warningsoliva1998-12-092-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24201 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.old-deja/g++.pt/instantiate6.C: linker error, not crasholiva1998-12-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24200 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix bug found by i960 simulator testing.wilson1998-12-082-1/+10
| | | | | | | | * i960/i960.h (CONST_COSTS, case CONST_INT): Accept power2_operand only when OUTER_CODE is SET. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24199 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.special/930510-1.c: Make C9X safe.law1998-12-084-5/+11
| | | | | | | | * gcc.misc-tests/gcov-1.c Similarly. * gcc.misc-tests/gcov-2.c Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24198 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing ChangeLog entry for:law1998-12-081-0/+5
| | | | | | | | * configure.in (hppa2*-*-*): Handle like hppa1.1-*-* for now. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24197 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (strength_reduce): If scan_start points to the loop exitamylaar1998-12-084-8/+48
| | | | | | | | | | test, be wary of subversive use of gotos inside expression statements. Don't set maybe_multiple for a backward jump that does not include the label under consideration into its range. * unroll.c (biv_total_increment): Make use of maybe_multiple field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24196 138bc75d-0d04-0410-961f-82ee72b054a4
* * explow.c (plus_constant_wide): Don't immediately return withamylaar1998-12-082-9/+27
| | | | | | | result of recursive call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24195 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Dec 8 15:32:56 EST 1998 Andrew MacLeod <amacleod@cygnus.com>amacleod1998-12-0814-148/+683
| | | | | | | | | | | | | | | | | | | See ChangeLog.. These are the files that were changed: * eh-common.h (struct eh_context): Add table_index for rethrows. * rtl.h (enum reg_note): Add REG_EH_REGION and REG_EH_RETHROW reg notes. * rtl.c (reg_note_name): Add strings for new reg_note enums. * expr.h (rethrow_libfunc): New library decl. * optabs.c (rethrow_libfunc): Initialize. * except.h (struct eh_entry): Add new field 'rethrow_label'. * except.c (create_rethrow_ref): New function to create a single * flow.c (make_edges): Add different edges for rethrow calls, * integrate.c (save_for_inline_eh_labelmap): New callback routine to * libgcc2.c (find_exception_handler): Generalize to enable it to * cp/except.c * cp/exception.cc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24194 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.law1998-12-081-1/+1
| | | | | | | | * demangle.h: Deleted. Shit. I'm starting to forget to check in changes again. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24193 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload1.c (current_function_decl): Tweak declaration.law1998-12-082-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24191 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (flag_isoc9x): Default off.rth1998-12-084-16/+33
| | | | | | | | | (c_decode_option): Kill -std=gnu, add -std=gnu89 and -std=gnu9x. * cccp.c (print_help, main): Likewise. * gcc.c (default_compilers): Update for -std=gnu*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24186 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (cxxmain.o): Depend on $(DEMANGLE_H), not demangle.hlaw1998-12-082-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24185 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.law1998-12-082-105/+3
| | | | | | | * demangle.h: Deleted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24184 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload1.c (current_function_decl): Declare.law1998-12-082-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24183 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Dec 8 11:58:51 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>brolley1998-12-082-1/+5
| | | | | | | * cpplib.c (convert_string): Use `0x00ff', not `0x00ffU'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24182 138bc75d-0d04-0410-961f-82ee72b054a4
* * dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.ghazi1998-12-082-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24181 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1998-12-081-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24177 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Test for availability of putc_unlocked, fputc_unlocked,law1998-12-075-42/+80
| | | | | | | | | | | and fputs_unlocked. * configure: Rebuilt. * system.h: If the *_unlocked functions are available use them instead of the locked counterparts by defining macros. * config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24175 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it islaw1998-12-077-28/+35
| | | | | | | | | | | | | wrong and should only be used for dump related things, not debugging information, instead main_input_filename should be used. Also, reuse output_file_directive if possible. * i386/aix386ng.h (ASM_FILE_START): Likewise. * i386/isc.h (ASM_FILE_START): Likewise. * i386/win-nt.h (ASM_FILE_START): Likewise. * i386/sun386.h (ASM_FILE_START): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24174 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (mips*-*-linux*): Handle big and little endianlaw1998-12-072-2/+11
| | | | | | | | systems. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24172 138bc75d-0d04-0410-961f-82ee72b054a4
* * local-alloc.c (block_alloc): Slightly retune heuristic to widenlaw1998-12-071-4/+5
| | | | | | | | | qty lifetimes. Actually check in the local-alloc patch that goes along with this ChangeLog entry... git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24171 138bc75d-0d04-0410-961f-82ee72b054a4
* * emit-rtl.c: Fix typo.law1998-12-072-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24169 138bc75d-0d04-0410-961f-82ee72b054a4
* law1998-12-071-5/+2
| | | | | | | | * reload1.c (eliminate_regs): Don't do anything, if we're not generating code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24168 138bc75d-0d04-0410-961f-82ee72b054a4
* law1998-12-071-0/+5
| | | | | | | | * reload1.c (eliminate_regs): Don't do anything, if we're not generating code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24167 138bc75d-0d04-0410-961f-82ee72b054a4
* Mon Dec 7 15:13:52 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco1998-12-073-451/+469
| | | | | | | | | | | | | | | | | | | | | * parse.y (array_initializer): Tagged <node>. (variable_initializer:): Use default rule. (array_initializer:): Defined actions. (variable_initializers:): Likewise. (resolve_qualified_expression_name): Use DECL_CONTEXT to build non-static field accesses. (patch_invoke): Fixed indentation typo. (java_complete_tree): Likewise. (build_labeled_block): Changed leading comment. Generate an error in case of duplicate loop labels. (patch_conditional_expr): Patch results of string concatenation operations. Fixes a ?: bug when string concatenation operator are in operands. Makes duplicate loop label declaration an error. Fixes random bugs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24164 138bc75d-0d04-0410-961f-82ee72b054a4
* dbothner1998-12-071-50/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * constants.c (find_methodref_index): When the class is an interface, generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef. * decl.c (finit_identifier_node): Use "$finit$", rather than "<finit>" (which Sun's verifier rejects). * parse.y (maybe_generate_finit): Leave out meaningless final flag. (generate_field_initialization_code): Removed. (fix_constructors) Don't add call to $finit$ here (wrong order). (patch_method_invocation): Add $finit$ call here. * java-tree.h (CALL_USING_SUPER): New macro. * parse.y (patch_invoke): Remove im local variable. (patch_method_invocation, patch_invoke): Don't pass super parameter. (patch_invoke): Use CALL_USING_SUPER instead of from_super parameter. (resolve_qualified_expression_name): Maybe set CALL_USING_SUPER. * jcf-write.c (get_access_flags): Fix typo ACC_PUBLIC -> ACC_FINAL. * parse.y (java_complete_tree): Don't complain about unreachable statement if it is empty_stmt_node. * jcf-write.c (find_constant_wide): New function. (push_long_const): Use find_constant_wide. * jcf-write.c (generate_bytecode_insn): Fix bug in switch handling. (generate_bytecode_insn): Use correct dup variant for MODIFY_EXPR. Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set. Emit invokeinterface when calling an interface method. Emit invokespecial also when calling super or private methods. * jcf-write.c (generate_classfile): Emit ConstantValue attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24163 138bc75d-0d04-0410-961f-82ee72b054a4
* abothner1998-12-071-21/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * constants.c (find_methodref_index): When the class is an interface, generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef. * decl.c (finit_identifier_node): Use "$finit$", rather than "<finit>" (which Sun's verifier rejects). * parse.y (maybe_generate_finit): Leave out meaningless final flag. (generate_field_initialization_code): Removed. (fix_constructors) Don't add call to $finit$ here (wrong order). (patch_method_invocation): Add $finit$ call here. * java-tree.h (CALL_USING_SUPER): New macro. * parse.y (patch_invoke): Remove im local variable. (patch_method_invocation, patch_invoke): Don't pass super parameter. (patch_invoke): Use CALL_USING_SUPER instead of from_super parameter. (resolve_qualified_expression_name): Maybe set CALL_USING_SUPER. * jcf-write.c (get_access_flags): Fix typo ACC_PUBLIC -> ACC_FINAL. * parse.y (java_complete_tree): Don't complain about unreachable statement if it is empty_stmt_node. * jcf-write.c (find_constant_wide): New function. (push_long_const): Use find_constant_wide. * jcf-write.c (generate_bytecode_insn): Fix bug in switch handling. (generate_bytecode_insn): Use correct dup variant for MODIFY_EXPR. Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set. Emit invokeinterface when calling an interface method. Emit invokespecial also when calling super or private methods. * jcf-write.c (generate_classfile): Emit ConstantValue attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24162 138bc75d-0d04-0410-961f-82ee72b054a4
* Tbothner1998-12-072-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * constants.c (find_methodref_index): When the class is an interface, generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef. * decl.c (finit_identifier_node): Use "$finit$", rather than "<finit>" (which Sun's verifier rejects). * parse.y (maybe_generate_finit): Leave out meaningless final flag. (generate_field_initialization_code): Removed. (fix_constructors) Don't add call to $finit$ here (wrong order). (patch_method_invocation): Add $finit$ call here. * java-tree.h (CALL_USING_SUPER): New macro. * parse.y (patch_invoke): Remove im local variable. (patch_method_invocation, patch_invoke): Don't pass super parameter. (patch_invoke): Use CALL_USING_SUPER instead of from_super parameter. (resolve_qualified_expression_name): Maybe set CALL_USING_SUPER. * jcf-write.c (get_access_flags): Fix typo ACC_PUBLIC -> ACC_FINAL. * parse.y (java_complete_tree): Don't complain about unreachable statement if it is empty_stmt_node. * jcf-write.c (find_constant_wide): New function. (push_long_const): Use find_constant_wide. * jcf-write.c (generate_bytecode_insn): Fix bug in switch handling. (generate_bytecode_insn): Use correct dup variant for MODIFY_EXPR. Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set. Emit invokeinterface when calling an interface method. Emit invokespecial also when calling super or private methods. * jcf-write.c (generate_classfile): Emit ConstantValue attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24161 138bc75d-0d04-0410-961f-82ee72b054a4
* /bothner1998-12-071-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * constants.c (find_methodref_index): When the class is an interface, generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef. * decl.c (finit_identifier_node): Use "$finit$", rather than "<finit>" (which Sun's verifier rejects). * parse.y (maybe_generate_finit): Leave out meaningless final flag. (generate_field_initialization_code): Removed. (fix_constructors) Don't add call to $finit$ here (wrong order). (patch_method_invocation): Add $finit$ call here. * java-tree.h (CALL_USING_SUPER): New macro. * parse.y (patch_invoke): Remove im local variable. (patch_method_invocation, patch_invoke): Don't pass super parameter. (patch_invoke): Use CALL_USING_SUPER instead of from_super parameter. (resolve_qualified_expression_name): Maybe set CALL_USING_SUPER. * jcf-write.c (get_access_flags): Fix typo ACC_PUBLIC -> ACC_FINAL. * parse.y (java_complete_tree): Don't complain about unreachable statement if it is empty_stmt_node. * jcf-write.c (find_constant_wide): New function. (push_long_const): Use find_constant_wide. * jcf-write.c (generate_bytecode_insn): Fix bug in switch handling. (generate_bytecode_insn): Use correct dup variant for MODIFY_EXPR. Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set. Emit invokeinterface when calling an interface method. Emit invokespecial also when calling super or private methods. * jcf-write.c (generate_classfile): Emit ConstantValue attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24160 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1998-12-071-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * constants.c (find_methodref_index): When the class is an interface, generate CONSTANT_InterfaceMethodref instead of a CONSTANT_MethodRef. * decl.c (finit_identifier_node): Use "$finit$", rather than "<finit>" (which Sun's verifier rejects). * parse.y (maybe_generate_finit): Leave out meaningless final flag. (generate_field_initialization_code): Removed. (fix_constructors) Don't add call to $finit$ here (wrong order). (patch_method_invocation): Add $finit$ call here. * java-tree.h (CALL_USING_SUPER): New macro. * parse.y (patch_invoke): Remove im local variable. (patch_method_invocation, patch_invoke): Don't pass super parameter. (patch_invoke): Use CALL_USING_SUPER instead of from_super parameter. (resolve_qualified_expression_name): Maybe set CALL_USING_SUPER. * jcf-write.c (get_access_flags): Fix typo ACC_PUBLIC -> ACC_FINAL. * parse.y (java_complete_tree): Don't complain about unreachable statement if it is empty_stmt_node. * jcf-write.c (find_constant_wide): New function. (push_long_const): Use find_constant_wide. * jcf-write.c (generate_bytecode_insn): Fix bug in switch handling. (generate_bytecode_insn): Use correct dup variant for MODIFY_EXPR. Add "redundant" NOTE_PUSH/NOTE_POP uses so code_SP_max gets set. Emit invokeinterface when calling an interface method. Emit invokespecial also when calling super or private methods. * jcf-write.c (generate_classfile): Emit ConstantValue attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24159 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix -membedded-data bug found by mips16 port.wilson1998-12-073-3/+40
| | | | | | | | | * mips/mips.h (ENCODE_SECTION_INFO): Handle TARGET_EMBEDDED_DATA. Add comment. * mips/mips.c (mips_select_section): Add comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24158 138bc75d-0d04-0410-961f-82ee72b054a4
* Mon Dec 7 17:56:06 1998 Mike Stump <mrs@wrs.com>brolley1998-12-072-3/+21
| | | | | | | | | | * lex.c (check_newline): Add support for \ as `natural' characters in file names in #line to be consistent with #include handling. We support escape prcessing in the # 1 "..." version of the command. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24157 138bc75d-0d04-0410-961f-82ee72b054a4
* Mon Dec 7 17:55:06 1998 Mike Stump <mrs@wrs.com>brolley1998-12-072-9/+26
| | | | | | | | | | | | * cccp.c (ignore_escape_flag): Add support for \ as `natural' characters in file names in #line to be consistent with #include handling. We support escape prcessing in the # 1 "..." version of the command. See also support in cp/lex.c. (handle_directive): Likewise. (do_line): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24156 138bc75d-0d04-0410-961f-82ee72b054a4
* 1998-12-07 Zack Weinberg <zack@rabi.phys.columbia.edu>brolley1998-12-072-1/+6
| | | | | | | | * cp/decl2.c: s/data/opts/ when initializing cpp_reader structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24155 138bc75d-0d04-0410-961f-82ee72b054a4