OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years ago * except.h (struct handler_info): Add handler_number field
amacleod [Wed, 9 Dec 1998 06:15:20 +0000 (06:15 +0000)]
* except.h (struct handler_info): Add handler_number field
* 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

25 years agoDaily bump.
law [Wed, 9 Dec 1998 00:45:05 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24202 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.dg/ultrasp1.c: empty dg-options, avoid `long long' warnings
oliva [Wed, 9 Dec 1998 00:37:27 +0000 (00:37 +0000)]
* gcc.dg/ultrasp1.c: empty dg-options, avoid `long long' warnings

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24201 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.pt/instantiate6.C: linker error, not crash
oliva [Wed, 9 Dec 1998 00:33:42 +0000 (00:33 +0000)]
* g++.old-deja/g++.pt/instantiate6.C: linker error, not crash

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24200 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix bug found by i960 simulator testing.
wilson [Tue, 8 Dec 1998 22:08:13 +0000 (22:08 +0000)]
Fix bug found by i960 simulator testing.
* 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

25 years ago * gcc.special/930510-1.c: Make C9X safe.
law [Tue, 8 Dec 1998 21:53:21 +0000 (21:53 +0000)]
    * gcc.special/930510-1.c: Make C9X safe.
        * 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

25 years agoAdd missing ChangeLog entry for:
law [Tue, 8 Dec 1998 21:49:03 +0000 (21:49 +0000)]
Add missing ChangeLog entry for:
        * 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

25 years ago * loop.c (strength_reduce): If scan_start points to the loop exit
amylaar [Tue, 8 Dec 1998 14:50:03 +0000 (14:50 +0000)]
* loop.c (strength_reduce): If scan_start points to the loop exit
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

25 years ago * explow.c (plus_constant_wide): Don't immediately return with
amylaar [Tue, 8 Dec 1998 14:35:18 +0000 (14:35 +0000)]
* explow.c (plus_constant_wide): Don't immediately return with
result of recursive call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24195 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue Dec 8 15:32:56 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Tue, 8 Dec 1998 14:04:03 +0000 (14:04 +0000)]
Tue Dec  8 15:32:56 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
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

25 years ago * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
law [Tue, 8 Dec 1998 13:34:37 +0000 (13:34 +0000)]
    * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
        * 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

25 years ago * reload1.c (current_function_decl): Tweak declaration.
law [Tue, 8 Dec 1998 12:14:30 +0000 (12:14 +0000)]
    * reload1.c (current_function_decl): Tweak declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24191 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * c-decl.c (flag_isoc9x): Default off.
rth [Tue, 8 Dec 1998 10:26:36 +0000 (10:26 +0000)]
    * c-decl.c (flag_isoc9x): Default off.
        (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

25 years ago * Make-lang.in (cxxmain.o): Depend on $(DEMANGLE_H), not demangle.h
law [Tue, 8 Dec 1998 09:50:33 +0000 (09:50 +0000)]
    * Make-lang.in (cxxmain.o): Depend on $(DEMANGLE_H), not demangle.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24185 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
law [Tue, 8 Dec 1998 09:49:49 +0000 (09:49 +0000)]
    * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
        * demangle.h: Deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24184 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * reload1.c (current_function_decl): Declare.
law [Tue, 8 Dec 1998 09:45:02 +0000 (09:45 +0000)]
    * reload1.c (current_function_decl): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24183 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue Dec 8 11:58:51 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
brolley [Tue, 8 Dec 1998 09:00:26 +0000 (09:00 +0000)]
Tue Dec  8 11:58:51 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
* 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

25 years ago * dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.
ghazi [Tue, 8 Dec 1998 06:38:10 +0000 (06:38 +0000)]
   * dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24181 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Tue, 8 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24177 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in: Be more selective about what files to install.
law [Tue, 8 Dec 1998 00:01:29 +0000 (00:01 +0000)]
    * Makefile.in: Be more selective about what files to install.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24176 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in: Test for availability of putc_unlocked, fputc_unlocked,
law [Mon, 7 Dec 1998 23:40:19 +0000 (23:40 +0000)]
    * configure.in: Test for availability of putc_unlocked, fputc_unlocked,
        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

25 years ago * i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
law [Mon, 7 Dec 1998 23:36:08 +0000 (23:36 +0000)]
    * i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
        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

25 years ago * demangle.h: (DMGL_EDG): new macro for Kuck and Associates
law [Mon, 7 Dec 1998 23:32:23 +0000 (23:32 +0000)]
    * demangle.h: (DMGL_EDG): new macro for Kuck and Associates
        (DMGL_STYLE_MASK): modify to include Kuck and Assoc style
        (demangling_styles): add new edg_demangling style
        (EDG_DEMANGLING_STYLE_STRING): new macro
        (EDG_DEMANGLING): new macro
        * demangle.h (DMGL_HP): new macro, for HP/aCC compiler.
        (DMGL_STYLE_MASK): modify to include new HP's style.
        (demangling_styles): add new hp_demangling value.
        (HP_DEMANGLING_STYLE_STRING): new macro.
        (ARM_DEMANGLING): coerce to int.
        (HP_DEMANGLING): new macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24173 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in (mips*-*-linux*): Handle big and little endian
law [Mon, 7 Dec 1998 22:58:57 +0000 (22:58 +0000)]
    * configure.in (mips*-*-linux*): Handle big and little endian
        systems.
        * configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24172 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * local-alloc.c (block_alloc): Slightly retune heuristic to widen
law [Mon, 7 Dec 1998 22:38:24 +0000 (22:38 +0000)]
    * local-alloc.c (block_alloc): Slightly retune heuristic to widen
        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

25 years ago * HP aCC demangling support.
law [Mon, 7 Dec 1998 22:21:45 +0000 (22:21 +0000)]
    * HP aCC demangling support.
        * cplus-dem.c
        (main): Remove default to HP style demangling, set to EDG
        demangling correctly when -edg specified; set the demangling style
        when user specifies 'edg'. Set strip_underscore to
        prepends_underscore, if not HPUXHPPA.  Set
        current_demangling_style to hp_demangling if HPUXHPPA.  Set
        current demangling style correctly if the switch is hp.  Read
        label correctly also in the HP style case.
        (work_stuff): add temp_start field; add field for volatile member
        function.
        (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
        style for this case is the same as ARM.
        (demangle_args): handle EDG_DEMANGLING style; support HP style.
        (demangle_arm_hp_template): new function. (It was
        demangle_arm_pt.); check and set value of temp_start field in
        multiple places. Also, when ceching for end of template args,
        check to see if at end of static member of template class.
        (demangle_class): new local variable : save_class_name_end Don't
        include template args in string defining class.
        (demangle_class_name): use demangel_arm_hp_template.
        (demangle_function_name): handle case where demangling style is
        HP_DEMANGLING and currently point at an 'X' in the mangled name.
        Handle EDG_DEMANGLING style.  Handle constructor and destructor
        ops for HP style.
        (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
        styles.  global destructor and constructor for HP style are same
        as for ARM style. Same for local variables.
        (demangle_qualified): handle EDG_DEMANGLING style.
        (demangle_signature): add case for volatile member function.  For
        cases '1' - '9' : initialize the temp_start field to -1 and handle
        the EDG_DEMANGLING style.  for case 'F' : handle EDG_DEMANGLING
        and AUTO_DEMANGLING styles.  If expecting a function and managed
        to demangle the funct args, then handle the LUCID_DEMANGLING,
        ARM_DEMANGLING, and EDG_DEMANGLING styles.  Add case for local
        class name after "Lnnn_ in HP style case. HP style too needs to
        forget types.  _nnn is OK for HP style, so don't report failure.
        (do_hpacc_template_const_value): new function. Handle template's
        value param for HP/aCC.
        (do_hpacc_template_literal): new function.  Handle a template's
        literal parameter for HP aCC.
        (recursively_demangle): new function
        (snarf_numeric_literal): new function.
        (usage): add 'edg' to the list of demangling styles; add hp switch
        to message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24170 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * emit-rtl.c: Fix typo.
law [Mon, 7 Dec 1998 22:18:00 +0000 (22:18 +0000)]
    * emit-rtl.c: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24169 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Mon, 7 Dec 1998 22:10:45 +0000 (22:10 +0000)]

        * 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

25 years ago
law [Mon, 7 Dec 1998 22:10:43 +0000 (22:10 +0000)]

        * 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

25 years agoMon Dec 7 15:13:52 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 7 Dec 1998 16:23:02 +0000 (16:23 +0000)]
Mon Dec  7 15:13:52 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* 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

25 years agod
bothner [Mon, 7 Dec 1998 15:43:16 +0000 (15:43 +0000)]
d
* 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

25 years agoa
bothner [Mon, 7 Dec 1998 15:43:15 +0000 (15:43 +0000)]
a
* 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

25 years agoT
bothner [Mon, 7 Dec 1998 15:43:14 +0000 (15:43 +0000)]
T
* 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

25 years ago/
bothner [Mon, 7 Dec 1998 15:43:11 +0000 (15:43 +0000)]
/
* 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

25 years ago * constants.c (find_methodref_index): When the class is an interface,
bothner [Mon, 7 Dec 1998 15:43:10 +0000 (15:43 +0000)]
* 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

25 years agoFix -membedded-data bug found by mips16 port.
wilson [Mon, 7 Dec 1998 15:32:26 +0000 (15:32 +0000)]
Fix -membedded-data bug found by mips16 port.
* 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

25 years agoMon Dec 7 17:56:06 1998 Mike Stump <mrs@wrs.com>
brolley [Mon, 7 Dec 1998 15:02:16 +0000 (15:02 +0000)]
Mon Dec  7 17:56:06 1998  Mike Stump  <mrs@wrs.com>
* 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

25 years agoMon Dec 7 17:55:06 1998 Mike Stump <mrs@wrs.com>
brolley [Mon, 7 Dec 1998 14:57:30 +0000 (14:57 +0000)]
Mon Dec  7 17:55:06 1998  Mike Stump  <mrs@wrs.com>
* 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

25 years ago1998-12-07 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Mon, 7 Dec 1998 14:20:55 +0000 (14:20 +0000)]
1998-12-07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* 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

25 years ago1998-12-07 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Mon, 7 Dec 1998 14:15:29 +0000 (14:15 +0000)]
1998-12-07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM
          so it'll work on non-ASCII platforms.  Always consider $ an
          identifier character.  Take no arguments.
  (cpp_reader_init): Call initialize_char_syntax with no
          arguments.
  (cpp_start_read): Don't call initialize_char_syntax again.
          Clear is_idchar['$'] and is_idstart['$'] if not
          opts->dollars_in_ident.
* cpplib.h (struct cpp_reader): Replace void *data element by
          cpp_options *opts.  Rearrange elements to make gdb printout
          less annoying (put buffer stack at end).
  (CPP_OPTIONS): Get rid of now-unnecessary cast.
* cppmain.c: s/data/opts/ when initializing cpp_reader
          structure.
* c-decl.c: Likewise.
* objc/objc-act.c: Likewise.
* fix-header.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24154 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-11-26 01:17 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Mon, 7 Dec 1998 13:35:20 +0000 (13:35 +0000)]
1998-11-26 01:17 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.h (struct cpp_buffer): Replace dir and dlen members
with a struct file_name_list pointer.
(struct cpp_reader): Add pointer to chain of `actual
directory' include searchpath entries.
(struct file_name_list): Add *alloc pointer for the sake of
the actual-directory chain.
Move definition of HOST_WIDE_INT here.
(cpp_parse_escape): Change prototype to match changes in
cppexp.c.
* cppfiles.c (actual_directory): New function.
(finclude): Use it to initialize the buffer's actual_dir
entry.
(find_include_file): We don't need to fix up max_include_len
here.
* cpplib.c (do_include): Don't allocate a file_name_list on
the fly for current directory "" includes, use the one that's
been preallocated in pfile->buffer->actual_dir.  Hoist out
duplicate code from the search_start selection logic.
(cpp_reader_init): Initialize pfile->actual_dirs.
Remove definition of HOST_WIDE_INT.  Change calls
to cpp_parse_escape to match changes in cppexp.c (note
hardcoded MASK, which is safe since this is the source
character set).
* cppexp.c: Bring over changes to cpp_parse_escape from cccp.c
to handle wide character constants in #if directives.  The
function now returns a HOST_WIDE_INT, and takes a third
argument which is a binary mask for all legal values (0x00ff
for 8-bit `char', 0xffff for 16-bit `wchar_t', etc.)  Define
MAX_CHAR_TYPE_MASK and MAX_WCHAR_TYPE_MASK.  Change callers of
cpp_parse_escape to match.  [Fixes c-torture/execute/widechar-1.c]

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24153 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoMon Dec 7 15:38:25 1998 Dave Brolley <brolley@cygnus.com>
brolley [Mon, 7 Dec 1998 12:42:21 +0000 (12:42 +0000)]
Mon Dec  7 15:38:25 1998  Dave Brolley  <brolley@cygnus.com>
* gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1.
Mon Dec  7 15:38:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
        * c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB.
        * cppalloc.c: Move function `xcalloc' from cpplib.c to here.
        * cpplib.c: Move function `xcalloc' from here to cppalloc.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24152 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoupdate
jason [Mon, 7 Dec 1998 12:27:51 +0000 (12:27 +0000)]
update

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24151 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (build_typename_type): Set DECL_ARTIFICIAL.
jason [Mon, 7 Dec 1998 12:27:47 +0000 (12:27 +0000)]
* decl.c (build_typename_type): Set DECL_ARTIFICIAL.
* error.c (dump_simple_decl): Also print namespace context.
(dump_function_decl): Likewise.
* decl2.c (ambiguous_decl): Don't print old value if it's
error_mark_node.
* decl.c (lookup_name_real): Fix handling of local types shadowed
by a non-type decl.  Remove obsolete code.
* cp-tree.h (DECL_FUNCTION_SCOPE_P): New macro.
Fixes g++.other/lookup6.C
* lang-options.h: Add -fpermissive.
* decl2.c: Likewise.
* cp-tree.h: Add flag_permissive.
* decl.c (init_decl_processing): If neither -fpermissive or -pedantic
were specified, set flag_pedantic_errors.
* call.c (build_over_call): Turn dropped qualifier messages
back into pedwarns.
* cvt.c (convert_to_reference): Likewise.
* typeck.c (convert_for_assignment): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24150 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoImprove -dp output by using tabs and including instruciton lengths
nickc [Mon, 7 Dec 1998 11:45:49 +0000 (11:45 +0000)]
Improve -dp output by using tabs and including instruciton lengths

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24149 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
law [Mon, 7 Dec 1998 09:56:56 +0000 (09:56 +0000)]
    * loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
        in the loop_info structure.
Should fix -O1 -funroll-loops bootstrap problems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24146 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoMon Dec 7 09:58:26 1998 Catherine Moore <clm@cygnus.com>
clm [Mon, 7 Dec 1998 09:15:34 +0000 (09:15 +0000)]
Mon Dec  7 09:58:26 1998  Catherine Moore  <clm@cygnus.com>
        * configure.in:  (arm*-*-ecos-elf):  New target.
        * configure:  Regenerated.
        * config/arm/elf.h (ASM_WEAKEN_LABEL):  Define.
        * config/arm/ecos-elf.h:  New file.
        * config/arm/unknown-elf.h (TARGET_VERSION):  Check
        for redefinition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24145 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * sh.c (output_far_jump): Emit braf only for TARGET_SH2.
amylaar [Mon, 7 Dec 1998 08:18:29 +0000 (08:18 +0000)]
* sh.c (output_far_jump): Emit braf only for TARGET_SH2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24144 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Mon, 7 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24142 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * jcf-dump.c (INVOKE): If invokeinterface, print number of args.
bothner [Sun, 6 Dec 1998 13:46:42 +0000 (13:46 +0000)]
* jcf-dump.c (INVOKE):  If invokeinterface, print number of args.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24140 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoBump for snapshot
law [Sun, 6 Dec 1998 04:19:49 +0000 (04:19 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24132 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * loop.c (check_dbra_loop): New argument loop_info. Update fields
law [Sun, 6 Dec 1998 04:19:20 +0000 (04:19 +0000)]
    * loop.c (check_dbra_loop): New argument loop_info.  Update fields
        as needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24131 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoBump for snapshot
law [Sun, 6 Dec 1998 03:40:17 +0000 (03:40 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24130 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoRevert accidental checkin from Oct 31 (egad).
law [Sun, 6 Dec 1998 03:02:47 +0000 (03:02 +0000)]
Revert accidental checkin from Oct 31 (egad).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24129 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.dg/ultrasp1.c: New test.
oliva [Sun, 6 Dec 1998 02:16:21 +0000 (02:16 +0000)]
* gcc.dg/ultrasp1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24127 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
oliva [Sun, 6 Dec 1998 02:01:26 +0000 (02:01 +0000)]
* gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
compressed reports are ok and preferred over URLs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24126 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * invoke.texi (Warning Options): Soften the tone of -pedantic
oliva [Sun, 6 Dec 1998 01:56:01 +0000 (01:56 +0000)]
* invoke.texi (Warning Options): Soften the tone of -pedantic

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24125 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agosort
jason [Sun, 6 Dec 1998 01:44:12 +0000 (01:44 +0000)]
sort

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24124 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoForgot to commit.
law [Sun, 6 Dec 1998 01:35:55 +0000 (01:35 +0000)]
Forgot to commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24123 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (coerce_new_type): Use same_type_p.
jason [Sun, 6 Dec 1998 01:33:10 +0000 (01:33 +0000)]
* decl2.c (coerce_new_type): Use same_type_p.
(coerce_delete_type): Likewise.
* call.c (check_dtor_name): Return 1, not error_mark_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24122 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * alias.c (memrefs_conflict_p): A second ANDed address
rth [Sun, 6 Dec 1998 01:23:01 +0000 (01:23 +0000)]
    * alias.c (memrefs_conflict_p): A second ANDed address
        disables the aligned address optimization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24121 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoupdate
jason [Sun, 6 Dec 1998 01:21:51 +0000 (01:21 +0000)]
update

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24120 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agofix size_t
jason [Sun, 6 Dec 1998 01:18:21 +0000 (01:18 +0000)]
fix size_t

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24119 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoNew test.
rth [Sun, 6 Dec 1998 00:46:00 +0000 (00:46 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24118 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sun, 6 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24117 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * print-rtl.c (print_rtx): Add prototype.
law [Sat, 5 Dec 1998 23:23:52 +0000 (23:23 +0000)]
    * print-rtl.c (print_rtx): Add prototype.
        * unroll.c (iteration_info): Make it static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24116 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.ns/template7.C: New test.
oliva [Sat, 5 Dec 1998 23:10:15 +0000 (23:10 +0000)]
* g++.old-deja/g++.ns/template7.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24115 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.other/expr1.C: New test.
oliva [Sat, 5 Dec 1998 22:46:57 +0000 (22:46 +0000)]
* g++.old-deja/g++.other/expr1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24114 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.eh/tmpl3.C: New test.
oliva [Sat, 5 Dec 1998 22:39:22 +0000 (22:39 +0000)]
* g++.old-deja/g++.eh/tmpl3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24113 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.eh/tmpl2.C: New test.
oliva [Sat, 5 Dec 1998 22:37:32 +0000 (22:37 +0000)]
* g++.old-deja/g++.eh/tmpl2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24112 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * alpha.c (alpha_emit_set_const_1): Fix parenthesis error
rth [Sat, 5 Dec 1998 18:51:00 +0000 (18:51 +0000)]
    * alpha.c (alpha_emit_set_const_1): Fix parenthesis error
        in -c << n case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24111 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * i960.h (BOOL_TYPE_SIZE): Define.
jason [Sat, 5 Dec 1998 15:17:24 +0000 (15:17 +0000)]
* i960.h (BOOL_TYPE_SIZE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24110 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
m.hayes [Sat, 5 Dec 1998 03:39:17 +0000 (03:39 +0000)]
* config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
from old valid_parallel_operands_4.
(valid_parallel_operands_4): Check that operands for 4 operand
parallel insns are valid, excluding load/store insns.
* config/c4x/c4x.h (valid_parallel_load_store): Add prototype.
* config/c4x/c4x.md (*movqf_parallel, *movqi_parallel): Use
valid_parallel_load_store instead of valid_parallel_operands_4.
(*absqf2_movqf_clobber, *floatqiqf2_movqf_clobber,
*negqf2_movqf_clobber, *absqi2_movqi_clobber,
*fixqfqi2_movqi_clobber, *negqi2_movqi_clobber,
*notqi_movqi_clobber): Use valid_parallel_operands_4.
(*subqf3_movqf_clobber, *ashlqi3_movqi_clobber,
*ashrqi3_movqi_clobber, *lshrqi3_movqi_clobber,
*subqi3_movqi_clobber): Use valid_parallel_operands_5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24108 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/c4x/c4x.c (iteration_info): Delete.
m.hayes [Sat, 5 Dec 1998 02:54:53 +0000 (02:54 +0000)]
* config/c4x/c4x.c (iteration_info): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24107 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sat, 5 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24106 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * lex.c (handle_cp_pragma): Disable #pragma interface/implementation
jason [Fri, 4 Dec 1998 21:39:25 +0000 (21:39 +0000)]
* lex.c (handle_cp_pragma): Disable #pragma interface/implementation
if MULTIPLE_SYMBOL_SPACES.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24104 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]

nortel regressions since 97r1

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24097 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]

nortel regressions since 97r1

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24096 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago*** empty log message ***
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24095 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoH
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]
H
nortel regressions since 97r1

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24094 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]

nortel regressions since 97r1

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24093 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.
crux [Fri, 4 Dec 1998 13:09:39 +0000 (13:09 +0000)]
* tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24092 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.other/using5.C: usified using[567].C here
oliva [Fri, 4 Dec 1998 12:57:50 +0000 (12:57 +0000)]
* g++.old-deja/g++.other/using5.C: usified using[567].C here
* g++.old-deja/g++.other/using6.C: removed
* g++.old-deja/g++.other/using7.C: Mark Mitchel removed it

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24091 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * final.c (cleanup_subreg_operands): Delete some unused code.
crux [Fri, 4 Dec 1998 12:55:59 +0000 (12:55 +0000)]
* final.c (cleanup_subreg_operands): Delete some unused code.
* recog.h (MAX_RECOG_ALTERNATIVES): New macro.
(struct insn_alternative): New structure definition.
(recog_op_alt): Declare variable.
(preprocess_constraints): Declare function.
* recog.c (recog_op_alt): New variable.
(extract_insn): Verify number of alternatives is in range.
(preprocess_constraints): New function.
* reg-stack.c: Include recog.h.
(constrain_asm_operands): Delete.
(get_asm_operand_lengths): Delete.
(get_asm_operand_n_inputs): New function.
(record_asm_reg_life): Delete OPERANDS, CONSTRAINTS, N_INPUTS and
N_OUTPUTS args.  All callers changed.
Compute number of inputs and outputs here by calling
get_asm_operand_n_inputs.
Instead of constrain_asm_operands, call extract_insn,
constrain_operands and preprocess_constaints.  Use information
computed by these functions throughout.
(record_reg_life): Delete code that is unused due to changes in
record_asm_reg_life.
(subst_asm_stack_regs): Delete OPERANDS, OPERAND_LOC, CONSTRAINTS,
N_INPUTS and N_OUTPUTS args.  All callers changed.
Similar changes as in record_asm_reg_life.
(subst_stack_regs): Move n_operands declaration into the if statement
where it's used.
Delete code that is unused due to changes in subst_asm_stack_regs.
* stmt.c (expand_asm_operands): Verify number of alternatives is in
range.
* Makefile.in (reg-stack.o): Depend on recog.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24090 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.pt/spec20.C: Re-insert non-bogus ERROR marks.
oliva [Fri, 4 Dec 1998 11:31:32 +0000 (11:31 +0000)]
* g++.old-deja/g++.pt/spec20.C: Re-insert non-bogus ERROR marks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24089 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (check_template_shadow): New fn.
jason [Fri, 4 Dec 1998 11:14:21 +0000 (11:14 +0000)]
* pt.c (check_template_shadow): New fn.
* decl2.c (grokfield): Use it.
* decl.c (pushdecl): Likewise.
(pushdecl_class_level): Likewise.
(start_method): Likewise.
(xref_tag): Don't try to use 't' if we're defining.
Fixes Sec14/7/C14387.cm.
* call.c (check_dtor_name): Just return an error_mark_node.
* pt.c (lookup_template_class): Complain about using non-template here.
* parse.y (apparent_template_type): Not here.
Fixes Sec14/C14339.cm.
* pt.c (check_explicit_specialization): Complain about specialization
with C linkage.
Fixes Sec14/C14340.cm.
* lang-options.h: Add -f{no-,}implicit-inline-templates.
* pt.c (convert_nontype_argument): Don't assume that any integer
argument is intended to be a constant-expression.
Fixes Sec14/7/P14245.C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24086 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * except.c (set_exception_version_code): Argument is an "int".
law [Fri, 4 Dec 1998 01:26:15 +0000 (01:26 +0000)]
    * except.c (set_exception_version_code): Argument is an "int".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24085 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pexecute.c: Remove obsolete ifdefed cygwin code.
law [Fri, 4 Dec 1998 01:21:00 +0000 (01:21 +0000)]
    * pexecute.c: Remove obsolete ifdefed cygwin code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24084 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Fri, 4 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24083 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pdp11.h: Use optimize_size for space optimizations.
law [Fri, 4 Dec 1998 00:40:21 +0000 (00:40 +0000)]
* pdp11.h: Use optimize_size for space optimizations.
* pdp11.c: Likewise.
* pdp11.md: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24082 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFri Dec 4 01:34:02 1998 Jeffrey A Law (law@cygnus.com)
law [Fri, 4 Dec 1998 00:36:49 +0000 (00:36 +0000)]
Fri Dec  4 01:34:02 1998  Jeffrey A Law  (law@cygnus.com)
        * config.guess: Improve detection of hppa2.0 processors.
Fri Dec  4 01:33:05 1998  Niall Smart <nialls@euristix.ie>
        * config.guess: Recognize FreeBSD using ELF automatically.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24081 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in (mipsel-*-linux*): New target.
law [Fri, 4 Dec 1998 00:32:33 +0000 (00:32 +0000)]
* configure.in (mipsel-*-linux*): New target.
* mips/linux.h: New file, based on other Linux targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24080 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gthr-vxworks.h (__ehdtor): Fix memory leak. The delete hook
law [Fri, 4 Dec 1998 00:28:34 +0000 (00:28 +0000)]
    * gthr-vxworks.h (__ehdtor): Fix memory leak.  The delete hook
        runs in the context of the deleter, not the deletee, so we must
        use taskVarGet to find the correct memory to free.
        (__gthread_key_create): Initialize the task
        variable subsystem so that the task variable is still active when
        the delete hook is run.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24079 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pdp11.h (TARGET_40_PLUS): Fix typo.
law [Fri, 4 Dec 1998 00:24:58 +0000 (00:24 +0000)]
    * pdp11.h (TARGET_40_PLUS): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24078 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoThu Dec 3 17:11:12 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 3 Dec 1998 17:53:02 +0000 (17:53 +0000)]
Thu Dec  3 17:11:12 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* java-tree.h (java_layout_seen_class_methods): New function
  prototype.
(LAYOUT_SEEN_CLASS_METHODS): Macro removed.
* jcf-parse.c (parse_class_file): Call java_layout_seen_class_methods.
* parse.h (PROMOTE_RECORD_IF_COMPLETE): New macro.
* parse.y (method_declarator:): Defined action.
(issue_warning_error_from_context): input_filename saved, set to
  the appropriate value and restored after java_error is called.
(build_unresolved_array_type): Fixed comment.
(register_fields): Use PROMOTE_RECORD_IF_COMPLETE.
(method_header): Deal with return type the same way type are
  handled for fields and method's parameters and local variables
  types are handled.
(check_method_redefinition): Removed extra CR.
(declare_local_variables): Use PROMOTE_RECORD_IF_COMPLETE.
(java_layout_seen_class_methods): New function.
(java_layout_classes): Call java_layout_seen_class_methods.
Handles an obsolete way of declaring methods returning an array. Does
a better job at laying out class methods before code generation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24077 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * class.c (handle_using_decl): Fix comment. Don't lookup
mmitchel [Thu, 3 Dec 1998 16:58:03 +0000 (16:58 +0000)]
* class.c (handle_using_decl): Fix comment.  Don't lookup
constructors in base classes.
(validate_lhs): Fix typo in comment.
* search.c (lookup_field_1): Don't return a USING_DECL.
* cp-tree.h (DECL_ACCESS): Improve documentation.
* decl.c (expand_static_init): Don't set the initialization-done
flag until the initialization is done.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24076 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
bothner [Thu, 3 Dec 1998 15:58:21 +0000 (15:58 +0000)]
* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24075 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
bothner [Thu, 3 Dec 1998 15:58:20 +0000 (15:58 +0000)]
8
* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24074 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * jcf-dump.c (main): Fix error message.
bothner [Thu, 3 Dec 1998 15:54:09 +0000 (15:54 +0000)]
* jcf-dump.c (main):  Fix error message.
* jcf-path.c (add_entry):  Style fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24073 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.pt/overload8.C: New test.
oliva [Thu, 3 Dec 1998 13:32:56 +0000 (13:32 +0000)]
* g++.old-deja/g++.pt/overload8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24072 138bc75d-0d04-0410-961f-82ee72b054a4