]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
27 years agodwarf2out.c (CIE_LENGTH_LABEL, [...]): New macros.
Philippe De Muyter [Wed, 19 Nov 1997 19:51:48 +0000 (20:51 +0100)] 
dwarf2out.c (CIE_LENGTH_LABEL, [...]): New macros.

Wed Nov 19 12:03:04 1997  Philippe De Muyter  <phdm@macqel.be>

* dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
(ASM_OUTPUT_DWARF_VALUE4): New macro.
(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
defined.
(output_call_frame_info): Do not output forward label differences
if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
* m68k/mot3300.h (SET_ASM_OP): Define when not using gas.

From-SVN: r16583

27 years agodecl.c (make_implicit_typename): New fn.
Jason Merrill [Wed, 19 Nov 1997 18:41:17 +0000 (18:41 +0000)] 
decl.c (make_implicit_typename): New fn.

* decl.c (make_implicit_typename): New fn.
(lookup_name_real): Use it.  Use current_class_type as the context.

From-SVN: r16580

27 years agoNew test.
Jeff Law [Wed, 19 Nov 1997 16:19:25 +0000 (09:19 -0700)] 
New test.

From-SVN: r16577

27 years agomips.c (save_restore_insns): If gp_offset or fp_offset are large_int...
Jim Wilson [Wed, 19 Nov 1997 05:49:11 +0000 (05:49 +0000)] 
mips.c (save_restore_insns): If gp_offset or fp_offset are large_int...

        * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
        large_int, emit two insns instead of one splitable insn.
        * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
        from cfa_temp_value, use cfa_offset.  Abort if cfa_reg is not SP.

From-SVN: r16576

27 years ago* stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.
H.J. Lu [Tue, 18 Nov 1997 16:51:39 +0000 (16:51 +0000)] 
* stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.

From-SVN: r16566

27 years agoclose.c (f_exit): Reset f__init so that f_clos does not (incorrectly) think there...
Mumit Khan [Tue, 18 Nov 1997 16:47:23 +0000 (16:47 +0000)] 
close.c (f_exit): Reset f__init so that f_clos does not (incorrectly) think there is an I/O...

        * libI77/close.c (f_exit): Reset f__init so that f_clos does not
        (incorrectly) think there is an I/O recursion when program is
        interrupted.

From-SVN: r16564

27 years agopt.c (do_poplevel): Don't prohibit jumps into this contour.
Bruno Haible [Tue, 18 Nov 1997 08:10:11 +0000 (09:10 +0100)] 
pt.c (do_poplevel): Don't prohibit jumps into this contour.

Mon Nov 17 23:42:03 1997  Bruno Haible <haible@ilog.fr>

* pt.c (do_poplevel): Don't prohibit jumps into this contour.

From-SVN: r16559

27 years agocall.c (build_new_method_call): Handle getting a TEMPLATE_ID_EXPR around a TEMPLATE_DECL.
Jason Merrill [Tue, 18 Nov 1997 06:54:29 +0000 (01:54 -0500)] 
call.c (build_new_method_call): Handle getting a TEMPLATE_ID_EXPR around a TEMPLATE_DECL.

* call.c (build_new_method_call): Handle getting a
  TEMPLATE_ID_EXPR around a TEMPLATE_DECL.  Don't look for a field
  if we got template parms.
* typeck.c (build_x_function_call): Remember the TEMPLATE_ID_EXPR,
  not just the args.
* decl2.c (build_expr_from_tree): Tweak last change.
* pt.c (tsubst_copy): Use get_first_fn instead of TREE_VALUE.
(maybe_fold_nontype_arg): Split out from tsubst_copy.
* tree.c (get_first_fn): Just return a TEMPLATE_ID_EXPR.

Mon Nov 10 20:08:38 1997  Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>

* pt.c (tsubst_copy): Handle explicit template arguments in
function calls.
* typeck.c (build_x_function_call): Likewise.
* decl2.c (build_expr_from_tree): Lookup function name if it
hasn't been done.

* pt.c (tsubst): Instantiate template functions properly when
template parameter does not appear in function arguments and return
type.
(comp_template_args): Handle member templates required by tsubst.

Mon Nov 10 20:08:29 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

* pt.c (coerce_template_parms): Tweak error message.

From-SVN: r16556

27 years agosearch.c (dfs_record_inheritance): Ignore template type parms.
Jason Merrill [Mon, 17 Nov 1997 19:37:07 +0000 (19:37 +0000)] 
search.c (dfs_record_inheritance): Ignore template type parms.

* search.c (dfs_record_inheritance): Ignore template type parms.

Fixes 13688.

* friend.c (do_friend): Warn about non-template friends in templates.

* call.c (build_op_delete_call): Fix handling of inherited delete.

From-SVN: r16552

27 years agosco5.h (HAVE_ATEXIT): Delete definition.
Robert Lipe [Mon, 17 Nov 1997 06:53:51 +0000 (06:53 +0000)] 
sco5.h (HAVE_ATEXIT): Delete definition.

Fri Nov  7 15:33:11 1997  Robert Lipe (robertl@dgii.com)

        * i386/sco5.h (HAVE_ATEXIT): Delete definition.

From-SVN: r16535

27 years agocse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl return.
Jeffrey A Law [Mon, 17 Nov 1997 06:50:55 +0000 (06:50 +0000)] 
cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl return.

        * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
        return.
        (cse_end_of_basic_block): Similarly.

From-SVN: r16533

27 years agosco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
J. Kean Johnston [Mon, 17 Nov 1997 06:01:16 +0000 (06:01 +0000)] 
sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.

        * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
        (SELECT_RTX_SECTION): Define.
        (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.

From-SVN: r16531

27 years agoMakefile.in (compare, [...]): Define $stage for each shell command.
Manfred Hollstein [Mon, 17 Nov 1997 05:45:46 +0000 (05:45 +0000)] 
Makefile.in (compare, [...]): Define $stage for each shell command.

        * Makefile.in (compare, compare-lean): Define $stage for each
        shell command.
        (gnucompare, gnucompare-lean): Likewise.

From-SVN: r16529

27 years ago* Makefile.in (SHLIB): Build with CC instead of CXX.
Jeffrey A Law [Mon, 17 Nov 1997 05:40:38 +0000 (05:40 +0000)] 
* Makefile.in (SHLIB): Build with CC instead of CXX.

From-SVN: r16527

27 years agowin-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
Richard Henderson [Mon, 17 Nov 1997 05:02:57 +0000 (21:02 -0800)] 
win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.

        * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.

        * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
        to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.

From-SVN: r16525

27 years agocall.c (build_new_op): Fix copy error.
Jason Merrill [Sat, 15 Nov 1997 08:36:08 +0000 (08:36 +0000)] 
call.c (build_new_op): Fix copy error.

* call.c (build_new_op): Fix copy error.
(build_op_new_call): New fn.
(build_op_delete_call): New fn.
* cp-tree.h: Declare them.
* init.c (build_new): Use them.  Support placement delete.
(build_x_delete): Use build_op_delete_call.
(build_delete): Likewise.
* decl2.c (delete_sanity): Likewise.
(coerce_delete_type): Don't complain about placement delete.

Support placement delete.

From-SVN: r16500

27 years agointrin.def: Supply gfrt for CPU_TIME.
Dave Love [Fri, 14 Nov 1997 15:12:42 +0000 (15:12 +0000)] 
intrin.def: Supply gfrt for CPU_TIME.

1997-11-14  Dave Love  <d.love@dl.ac.uk>

* intrin.def: Supply gfrt for CPU_TIME.  Generalize arg types of
INT2, INT8, per doc.

From-SVN: r16494

27 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Fri, 14 Nov 1997 14:59:09 +0000 (14:59 +0000)] 
* version.c: Bump for snapshot.

From-SVN: r16493

27 years agoexpr.c (expand_builtin_setjmp): Set current_function_has_nonlocal_label.
Richard Henderson [Fri, 14 Nov 1997 14:48:31 +0000 (06:48 -0800)] 
expr.c (expand_builtin_setjmp): Set current_function_has_nonlocal_label.

        * expr.c (expand_builtin_setjmp): Set
        current_function_has_nonlocal_label.
        * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
        call-saved registers across calls.

        * alpha.md (exception_receiver): Remove.
        (nonlocal_goto_receiver_osf): New
        (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
        (nonlocal_goto_receiver): New, select _osf or _vms.

From-SVN: r16491

27 years agoalpha.c (output_prolog [*]): Prefix entry labels with '$' to keep them from being...
Richard Henderson [Fri, 14 Nov 1997 14:42:27 +0000 (06:42 -0800)] 
alpha.c (output_prolog [*]): Prefix entry labels with '$' to keep them from being propogated to the object file.

        * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
        keep them from being propogated to the object file.
        (alpha_write_linkage): Likewise.
        * alpha.md (call_vms): Likewise.
        (call_value_vms): Likewise.
        (unnamed osf call insns): Likewise.

        * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
        (ASM_GENERATE_INTERNAL_LABEL): Likewise.

From-SVN: r16489

27 years agoFix some confusion with IEEE minus zero.
Paul Eggert [Fri, 14 Nov 1997 14:30:01 +0000 (14:30 +0000)] 
Fix some confusion with IEEE minus zero.

        * real.h (REAL_VALUES_IDENTICAL): New macro.

        * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
        * fold-const.c (operand_equal_p): Don't consider -0.0 to be
        identical to 0.0.
        * tree.c (simple_cst_equal): Don't consider -0.0 to have the
        same tree structure as 0.0.

        * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
        macro instead of doing it by hand.

From-SVN: r16488

27 years agoalpha.c (call_operand): Any reg is valid for WinNT.
Richard Henderson [Fri, 14 Nov 1997 14:22:13 +0000 (06:22 -0800)] 
alpha.c (call_operand): Any reg is valid for WinNT.

        * alpha.c (call_operand): Any reg is valid for WinNT.
        * alpha.md (call_nt, call_value_nt): Don't force address into $27.
        (anon nt calls): Add 'R' alternative.
        * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
        INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.

From-SVN: r16486

27 years agoAdd -frepo docs.
Jeff Law [Fri, 14 Nov 1997 01:57:05 +0000 (18:57 -0700)] 
Add -frepo docs.

From-SVN: r16479

27 years agoflow.c (find_basic_blocks): During marking phase...
Jeffrey A Law [Thu, 13 Nov 1997 23:08:15 +0000 (23:08 +0000)] 
flow.c (find_basic_blocks): During marking phase...

        * flow.c (find_basic_blocks): During marking phase, if we encounter
        an insn with a REG_LABEL note, make the target block live and
        create an edge from the insn to the target block.  Do not make
        edges from all blocks to the target block.
Another crack at the flow control problem.

From-SVN: r16468

27 years agomips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0...
Jim Wilson [Thu, 13 Nov 1997 21:08:05 +0000 (21:08 +0000)] 
mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0 is not a register.

* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
xplus1 when xplus0 is not a register.

From-SVN: r16466

27 years agoremoved unused parm to build_new_function_call
Jason Merrill [Thu, 13 Nov 1997 20:03:31 +0000 (20:03 +0000)] 
removed unused parm to build_new_function_call

From-SVN: r16465

27 years ago* m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
Jeffrey A Law [Thu, 13 Nov 1997 18:51:56 +0000 (18:51 +0000)] 
* m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.

From-SVN: r16461

27 years agors6000.md (lshrdi3_power): Delete '&' from first alternative and swap instruction...
David Edelsohn [Thu, 13 Nov 1997 18:49:31 +0000 (18:49 +0000)] 
rs6000.md (lshrdi3_power): Delete '&' from first alternative and swap instruction order.

        * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
        swap instruction order.

From-SVN: r16460

27 years agors6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to pick apart floatin...
Michael Meissner [Thu, 13 Nov 1997 18:46:01 +0000 (18:46 +0000)] 
rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to pick apart floating point values...

        * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
        pick apart floating point values, instead of using CONST_DOUBLE_LOW
        and CONST_DOUBLE_HIGH.

        * rs6000.md (define_splits for DF constants): Use the appropriate
        REAL_VALUE_* interface to pick apart DF floating point constants in
        a machine independent fashion.

From-SVN: r16459

27 years agoconfiugre.in: Tweak NCR entries.
Jeffrey A Law [Thu, 13 Nov 1997 18:39:51 +0000 (18:39 +0000)] 
confiugre.in: Tweak NCR entries.

        * confiugre.in: Tweak NCR entries.
        * configure: Rebuilt.

From-SVN: r16457

27 years ago* configure.in (i[3456]86-ncr-sysv4.3*): Tweak.
Jeffrey A Law [Thu, 13 Nov 1997 18:37:27 +0000 (18:37 +0000)] 
* configure.in (i[3456]86-ncr-sysv4.3*): Tweak.

From-SVN: r16456

27 years agoinit.c (build_new): Make the cleanup last longer.
Jason Merrill [Thu, 13 Nov 1997 10:11:07 +0000 (10:11 +0000)] 
init.c (build_new): Make the cleanup last longer.

* init.c (build_new): Make the cleanup last longer.
(expand_vec_init): Call do_pending_stack_adjust.

From-SVN: r16450

27 years agothinko
Jason Merrill [Wed, 12 Nov 1997 20:16:34 +0000 (20:16 +0000)] 
thinko

From-SVN: r16447

27 years agopt.c (do_type_instantiation): Fix typo.
Jason Merrill [Wed, 12 Nov 1997 19:53:33 +0000 (14:53 -0500)] 
pt.c (do_type_instantiation): Fix typo.

* pt.c (do_type_instantiation): Fix typo.
(mark_class_instantiated): If we support one_only but not weak
symbols, don't mark this as known.

* init.c (build_new): Handle cookies in EH cleanup.

Wed Nov 12 08:11:55 1997  Benjamin Kosnik  <bkoz@rhino.cygnus.com>

* call.c (build_method_call): Call complete_type before checking
  for destructor.

From-SVN: r16445

27 years agoexcept.c: Do not include "assert.h".
Jeffrey A Law [Wed, 12 Nov 1997 17:01:12 +0000 (17:01 +0000)] 
except.c: Do not include "assert.h".

        * except.c: Do not include "assert.h".
        (save_eh_status): Turn asserts into conditional aborts.
        (restore_eh_status, scan_region): Likewise.
        * dwarfout.c: Do not include "assert.h".
        (bit_offset_attribute): Turn asserts into conditional aborts.
        (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
        (output_inlined_structure_type_die): Likewise.
        (output_inlined_union_type_die): Likewise
        (output_tagged_type_instantiation): Likewise.
        (dwarfout_file_scope_decl): Likewise.
        * dwarf2out.c: Do not include "assert.h"
        (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
        (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
        (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
        (add_bit_size_attribute, scope_die_for): Likewise.
        (output_pending_types_for_scope): Likewise.
        (get_inlined_enumeration_type_die): Likewise.
        (get_inlined_structure_type_die): Likewise.
        (get_inlined_union_type_die, gen_subprogram_die): Likewise.
        (gen_tagged_type_instantiation_die): Likewise.

From-SVN: r16441

27 years agoflow.c (find_basic_blocks): Refine further to get a more correct cfg...
Jeffrey A Law [Wed, 12 Nov 1997 16:35:41 +0000 (16:35 +0000)] 
flow.c (find_basic_blocks): Refine further to get a more correct cfg...

        * flow.c (find_basic_blocks): Refine further to get a more correct
        cfg, especially in the presense of exception handling, computed
        gotos, and other non-trivial cases.  Call abort if an inaccuracy
        is detected in the cfg.

From-SVN: r16439

27 years agoinit.c (build_new): Handle freeing allocated memory when the constructor throws.
Jason Merrill [Wed, 12 Nov 1997 09:19:26 +0000 (09:19 +0000)] 
init.c (build_new): Handle freeing allocated memory when the constructor throws.

* init.c (build_new): Handle freeing allocated memory when the
constructor throws.

* call.c (build_new_method_call): Fix flags arg.

* pt.c (do_type_instantiation): Don't try to instantiate
member templates.
(mark_decl_instantiated): If we support one_only but not
weak symbols, mark this one_only.
* decl2.c (import_export_vtable): Don't defer handling of vtables
if MULTIPLE_SYMBOL_SPACES.

From-SVN: r16437

27 years agoexcept.c (expand_end_catch_block): Lose call to __sjpopnthrow.
Jason Merrill [Wed, 12 Nov 1997 03:54:47 +0000 (03:54 +0000)] 
except.c (expand_end_catch_block): Lose call to __sjpopnthrow.

* except.c (expand_end_catch_block): Lose call to __sjpopnthrow.

Fixes sjlj failures.

From-SVN: r16434

27 years agoexcept.c (do_pop_exception): Return a value.
Jason Merrill [Tue, 11 Nov 1997 10:59:14 +0000 (10:59 +0000)] 
except.c (do_pop_exception): Return a value.

* except.c (do_pop_exception): Return a value.

Oops.

From-SVN: r16430

27 years agoiomanip.h: Fix guiding decls.
Oleg Krivosheev [Tue, 11 Nov 1997 09:43:35 +0000 (09:43 +0000)] 
iomanip.h: Fix guiding decls.

Tue Nov 11 01:40:17 1997  Oleg Krivosheev <kriol@fnal.gov>

* iomanip.h: Fix guiding decls.

From-SVN: r16429

27 years ago[multiple changes]
Jason Merrill [Tue, 11 Nov 1997 02:32:50 +0000 (21:32 -0500)] 
[multiple changes]

Sun Oct 19 09:07:38 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* stmt.c (using_eh_for_cleanups_p): New variable.
(using_eh_for_cleanups): New function.
(expand_decl_cleanup): Don't call expand_eh_region_start_tree
unless using EH for cleanups.

Sun Oct 26 01:28:29 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* decl.c (init_decl_processing): Call using_eh_for_cleanups.

From-SVN: r16424

27 years agostmt.c (expand_decl_cleanup_no_eh): New fn.
Jason Merrill [Mon, 10 Nov 1997 20:06:56 +0000 (15:06 -0500)] 
stmt.c (expand_decl_cleanup_no_eh): New fn.

* stmt.c (expand_decl_cleanup_no_eh): New fn.

* except.c (expand_leftover_cleanups): do_pending_stack_adjust.

Complete nested exception support.
* except.c (do_pop_exception): Split out...
(push_eh_cleanup): From here.  Handle the EH region by hand.
(expand_start_catch_block): Add a new level for the catch parm.
Move the rethrow region outside the two cleanup regions.
Protect the initializer for the catch parm with terminate.
(expand_end_catch_block): Likewise.  End the region for the eh_cleanup.
* exception.cc (__cp_pop_exception): Now takes two parms.  Handle
popping off the middle of the stack.
* tree.c (lvalue_p, real_lvalue_p): Handle TRY_CATCH_EXPR,
WITH_CLEANUP_EXPR, and UNSAVE_EXPR.
(build_cplus_new): Only wrap CALL_EXPRs.
* init.c (expand_default_init): Handle a TRY_CATCH_EXPR around
the constructor call.

Sun Nov  9 18:00:26 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* Make-lang.in (c++.distdir): Make inc subdirectory.

From-SVN: r16420

27 years agoalias.c (MAX_ALIAS_LOOP_PASSES): Define.
Jeffrey A Law [Mon, 10 Nov 1997 07:03:51 +0000 (07:03 +0000)] 
alias.c (MAX_ALIAS_LOOP_PASSES): Define.

        * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
        (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.

From-SVN: r16414

27 years ago* fixinc.svr4 (__STDC__): Add another case.
Jeffrey A Law [Sun, 9 Nov 1997 09:05:40 +0000 (09:05 +0000)] 
* fixinc.svr4 (__STDC__): Add another case.

From-SVN: r16395

27 years agoa29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying addresses in the epilo...
J"orn Rennecke [Sun, 9 Nov 1997 08:59:10 +0000 (08:59 +0000)] 
a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying addresses in the epilogue delay slot.

        * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
        addresses in the epilogue delay slot.

From-SVN: r16393

27 years agodgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace in generated `specs...
Manfred Hollstein [Sun, 9 Nov 1997 08:39:09 +0000 (08:39 +0000)] 
dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace in generated `specs' file.

Sun Nov  9 01:40:40 1997  Manfred Hollstein  (manfred@s-direktnet.de)

        * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
        in generated `specs' file.

From-SVN: r16390

27 years agodecl.c (add_block_current_level): Delete.
Jim Wilson [Sun, 9 Nov 1997 08:28:43 +0000 (08:28 +0000)] 
decl.c (add_block_current_level): Delete.

        * decl.c (add_block_current_level): Delete.
        * init.c (build_vec_delete_1): Delete build_block and
        add_block_current_level calls.

From-SVN: r16387

27 years agoNew entry.
Jeff Law [Sun, 9 Nov 1997 05:12:23 +0000 (22:12 -0700)] 
New entry.

From-SVN: r16386

27 years agofix typo
Jason Merrill [Sat, 8 Nov 1997 08:51:40 +0000 (08:51 +0000)] 
fix typo

From-SVN: r16365

27 years agoflags.h (flag_rerun_loop_opt): Declare.
Jim Wilson [Fri, 7 Nov 1997 23:36:53 +0000 (23:36 +0000)] 
flags.h (flag_rerun_loop_opt): Declare.

        * flags.h (flag_rerun_loop_opt): Declare.
        * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
        * toplev.c (flag_rerum_loop_opt): Delete static.

From-SVN: r16362

27 years ago* method.c (emit_thunk): Don't let the backend defer generic thunks.
Jason Merrill [Fri, 7 Nov 1997 19:57:13 +0000 (19:57 +0000)] 
* method.c (emit_thunk): Don't let the backend defer generic thunks.

From-SVN: r16360

27 years agoframe.c (add_fdes, count_fdes): Go back to checking pc_begin for linked once FDEs.
Jason Merrill [Fri, 7 Nov 1997 18:57:23 +0000 (18:57 +0000)] 
frame.c (add_fdes, count_fdes): Go back to checking pc_begin for linked once FDEs.

* frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
  linked once FDEs.

From-SVN: r16358

27 years agofix typo
Jason Merrill [Fri, 7 Nov 1997 18:28:58 +0000 (18:28 +0000)] 
fix typo

From-SVN: r16356

27 years agostl_algo.h, [...]: Update to October 28 SGI release.
Jason Merrill [Thu, 6 Nov 1997 19:21:18 +0000 (19:21 +0000)] 
stl_algo.h, [...]: Update to October 28 SGI release.

* stl_algo.h, stl_algobase.h, stl_bvector.h,
  stl_deque.h: Update to October 28 SGI release.

From-SVN: r16350

27 years agoexcept.c (call_eh_info): Split out...
Jason Merrill [Thu, 6 Nov 1997 08:01:26 +0000 (08:01 +0000)] 
except.c (call_eh_info): Split out...

* except.c (call_eh_info): Split out...
(push_eh_info): From here.
(expand_builtin_throw): Use it.
(expand_start_catch_block): Move region start back.

* class.c (build_vbase_path): Propagate the result type properly.

From-SVN: r16348

27 years agoalias.c (find_base_value): Only return the known base value for pseudo registers.
Jeffrey A Law [Wed, 5 Nov 1997 21:17:36 +0000 (21:17 +0000)] 
alias.c (find_base_value): Only return the known base value for pseudo registers.

        * alias.c (find_base_value): Only return the known base value for
        pseudo registers.

From-SVN: r16343

27 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Wed, 5 Nov 1997 08:41:31 +0000 (08:41 +0000)] 
* version.c: Bump for snapshot.

From-SVN: r16341

27 years ago* fixincludes: Fix "hypot" prototype in NeXT math.h.
Jeffrey A Law [Wed, 5 Nov 1997 03:08:06 +0000 (03:08 +0000)] 
* fixincludes: Fix "hypot" prototype in NeXT math.h.

From-SVN: r16337

27 years agoMakefile.in (USE_ALLOCA): Always include alloca.o.
Jeffrey A Law [Wed, 5 Nov 1997 02:22:37 +0000 (02:22 +0000)] 
Makefile.in (USE_ALLOCA): Always include alloca.o.

        * Makefile.in (USE_ALLOCA): Always include alloca.o.
        (USE_HOST_ALLOCA): Likewise.

From-SVN: r16335

27 years agoMove test from execute to compile.
Jeff Law [Tue, 4 Nov 1997 23:20:23 +0000 (16:20 -0700)] 
Move test from execute to compile.

From-SVN: r16320

27 years agoalias.c (find_base_value): When copying arguments, return the tenative value for...
Jeffrey A Law [Tue, 4 Nov 1997 23:07:18 +0000 (23:07 +0000)] 
alias.c (find_base_value): When copying arguments, return the tenative value for a hard register.

        * alias.c (find_base_value): When copying arguments, return the
        tenative value for a hard register.
Fixes infinite loop.

From-SVN: r16318

27 years agoalpha.c (summarize_insn): Handle ASM_OPERANDS.
Richard Henderson [Tue, 4 Nov 1997 21:15:45 +0000 (13:15 -0800)] 
alpha.c (summarize_insn): Handle ASM_OPERANDS.

        * alpha.c (summarize_insn): Handle ASM_OPERANDS.  Don't recurse
        for SUBREG, just fall through.

        * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.

        * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.

        * combine.c (try_combine): When setting elim_i1, check if newi2pat
        sets i1dest.

        * combine.c (try_combine): When setting elim_i2, check whether newi2pat
        sets i2dest.  When calling distribute_notes for i3dest_killed, pass
        elim_i2 and elim_i1.

Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r16313

27 years agoupdate to 10/27 STL snapshot
Jason Merrill [Tue, 4 Nov 1997 20:14:50 +0000 (20:14 +0000)] 
update to 10/27 STL snapshot

From-SVN: r16311

27 years agoRemove last combine patch. rth & jim are working on a better one.
Jeff Law [Mon, 3 Nov 1997 21:57:49 +0000 (14:57 -0700)] 
Remove last combine patch.  rth & jim are working on a better one.

From-SVN: r16305

27 years agoconfigure.in (sco5): Use cpio to install header files.
Jeffrey A Law [Mon, 3 Nov 1997 21:38:32 +0000 (21:38 +0000)] 
configure.in (sco5): Use cpio to install header files.

        * configure.in (sco5): Use cpio to install header files.
So make install works properly.

From-SVN: r16302

27 years agoconfigure.in: Use delta.mt for m68k-motorola-sysv.
Manfred Hollstein [Mon, 3 Nov 1997 06:33:59 +0000 (06:33 +0000)] 
configure.in: Use delta.mt for m68k-motorola-sysv.

Sun Nov  2 23:34:09 1997  Manfred Hollstein  <manfred@s-direktnet.de>

        * configure.in: Use delta.mt for m68k-motorola-sysv.
        * config/delta.mt: New makefile fragment.

From-SVN: r16301

27 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 3 Nov 1997 06:33:59 +0000 (06:33 +0000)] 
This commit was manufactured by cvs2svn to create branch
'egcs_1_00_branch'.

From-SVN: r16300

27 years agoaclocal.m4 (conftestdata_from, [...]): Names shortened to 14 char length.
Manfred Hollstein [Mon, 3 Nov 1997 06:29:08 +0000 (06:29 +0000)] 
aclocal.m4 (conftestdata_from, [...]): Names shortened to 14 char length.

        * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
        14 char length.
        * configure: Rebuild.

From-SVN: r16297

27 years agocombine.c (try_combine): Don't elim_i1 when it is used in i2src.
Richard Henderson [Mon, 3 Nov 1997 06:21:13 +0000 (22:21 -0800)] 
combine.c (try_combine): Don't elim_i1 when it is used in i2src.

        * combine.c (try_combine): Don't elim_i1 when it is used in i2src.

        * combine.c (try_combine): When setting elim_i2, check whether newi2pat
        sets i2dest.  When calling distribute_notes for i3dest_killed, pass
        elim_i2 and elim_i1.

Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r16295

27 years agoInitialize I.
Jeff Law [Mon, 3 Nov 1997 06:11:55 +0000 (23:11 -0700)] 
Initialize I.

From-SVN: r16294

27 years ago*** empty log message ***
Jeff Law [Mon, 3 Nov 1997 06:05:40 +0000 (23:05 -0700)] 
*** empty log message ***

From-SVN: r16290

27 years agoImportant patch from Burley.
Craig Burley [Mon, 3 Nov 1997 06:04:01 +0000 (06:04 +0000)] 
Important patch from Burley.

From-SVN: r16289

27 years agoarm.c (load_multiple_sequence): Support SUBREG of MEM.
Richard Earnshaw [Mon, 3 Nov 1997 05:52:42 +0000 (05:52 +0000)] 
arm.c (load_multiple_sequence): Support SUBREG of MEM.

        * arm.c (load_multiple_sequence): Support SUBREG of MEM.
        (store_multiple_sequence): Likewise.
Brought over from gcc2.

From-SVN: r16288

27 years agocom.c (ffecom_expr_): Only use TREE_TYPE argument for simple arithmetic...
Richard Henderson [Mon, 3 Nov 1997 02:48:50 +0000 (18:48 -0800)] 
com.c (ffecom_expr_): Only use TREE_TYPE argument for simple arithmetic...

        * com.c (ffecom_expr_): Only use TREE_TYPE argument for simple
        arithmetic; convert types as necessary; recurse with target tree type.

From-SVN: r16286

27 years ago* i386/sco5.h: enable -gstabs once again.
Robert Lipe [Mon, 3 Nov 1997 02:43:37 +0000 (02:43 +0000)] 
* i386/sco5.h: enable -gstabs once again.

From-SVN: r16285

27 years agoarm.c (output_move_double): Allocate 3 entries in otherops array.
Jeffrey A Law [Mon, 3 Nov 1997 02:28:13 +0000 (02:28 +0000)] 
arm.c (output_move_double): Allocate 3 entries in otherops array.

Sun Nov  2 19:27:21 1997  Jeffrey A Law  (law@cygnus.com)

        * arm.c (output_move_double): Allocate 3 entries in otherops array.

From-SVN: r16283

27 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 3 Nov 1997 02:28:13 +0000 (02:28 +0000)] 
This commit was manufactured by cvs2svn to create branch
'egcs_1_00_branch'.

From-SVN: r16282

27 years agoInitial revision
Jeff Law [Sun, 2 Nov 1997 08:39:28 +0000 (01:39 -0700)] 
Initial revision

From-SVN: r16272

27 years agoalias.c (init_alias_analysis): Handle -fno-alias-check when optimizing correctly.
Jeffrey A Law [Sun, 2 Nov 1997 06:28:31 +0000 (06:28 +0000)] 
alias.c (init_alias_analysis): Handle -fno-alias-check when optimizing correctly.

        * alias.c (init_alias_analysis): Handle -fno-alias-check when
        optimizing correctly.

From-SVN: r16268

27 years agoexpr.c (expand_builtin_setjmp): Don't emit a SETJMP note or set current_function_call...
Jeffrey A Law [Sun, 2 Nov 1997 05:15:13 +0000 (05:15 +0000)] 
expr.c (expand_builtin_setjmp): Don't emit a SETJMP note or set current_function_calls_setjmp anymore.

        * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
        or set current_function_calls_setjmp anymore.

From-SVN: r16267

27 years agoexcept.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG notes for sjlj excepti...
Mike Stump [Sun, 2 Nov 1997 04:43:34 +0000 (04:43 +0000)] 
except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG notes for sjlj exceptions too.

        * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
        notes for sjlj exceptions too.
        (expand_eh_region_end): Similarly for EH_REGION_END notes.
        (exception_optimize): Optimize EH regions for sjlj exceptions too.
        * final.c (final_scan_insn): Don't output labels for EH REGION
        notes if doing sjlj exceptions.

From-SVN: r16266

27 years agoflow.c (find_basic_blocks): If we delete the label for an exception handler...
Jeffrey A Law [Sun, 2 Nov 1997 02:15:01 +0000 (02:15 +0000)] 
flow.c (find_basic_blocks): If we delete the label for an exception handler...

        * flow.c (find_basic_blocks): If we delete the label for an
        exception handler, remove it from the EH label list and remove
        the EH_BEGIN/EH_END notes for that EH region.

From-SVN: r16265

27 years ago* libF77/signal_.c: Undo last change until we can fix it right.
Jeffrey A Law [Sun, 2 Nov 1997 01:02:05 +0000 (01:02 +0000)] 
* libF77/signal_.c: Undo last change until we can fix it right.

From-SVN: r16264

27 years agoflow.c (find_basic_blocks): Generate correct flow control information when exception...
Jason Merrill [Sat, 1 Nov 1997 23:45:10 +0000 (23:45 +0000)] 
flow.c (find_basic_blocks): Generate correct flow control information when exception handling notes are present.

        * flow.c (find_basic_blocks): Generate correct flow control
        information when exception handling notes are present.

From-SVN: r16263

27 years agodwarf2out.c (output_call_frame_info): Fix length argument to ASM_OUTPUT_ASCII.
Jeffrey A Law [Sat, 1 Nov 1997 20:43:02 +0000 (20:43 +0000)] 
dwarf2out.c (output_call_frame_info): Fix length argument to ASM_OUTPUT_ASCII.

        * dwarf2out.c (output_call_frame_info): Fix length argument
        to ASM_OUTPUT_ASCII.
        (output_die, output_pubnames, output_line_info): Likewise.

From-SVN: r16262

27 years agolex.c (FILE_NAME_NONDIRECTORY): Delete macro.
Brendan Kehoe [Sat, 1 Nov 1997 19:50:18 +0000 (19:50 +0000)] 
lex.c (FILE_NAME_NONDIRECTORY): Delete macro.

        * lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
        (file_name_nondirectory): New function, doing the same as the macro.
        (set_typedecl_interface_info): Use it instead of the macro.
        (check_newline): Likewise.
        (handle_cp_pragma): Likewise.

        * repo.c (get_base_filename): Cast result of rindex to char*.
        (open_repo_file): Likewise.
        * xref.c (open_xref_file): Likewise.
        * error.c (dump_char): Make its arg int, not char.

bring over the changes that went in yesterday to fix irix6 native cc
build problems

From-SVN: r16261

27 years agoexcept.c (expand_builtin_throw): Replace remaining use of saved_throw_type with a...
Brendan Kehoe [Sat, 1 Nov 1997 18:38:16 +0000 (18:38 +0000)] 
except.c (expand_builtin_throw): Replace remaining use of saved_throw_type with a call to get_eh_type.

        * except.c (expand_builtin_throw) [!DWARF2_UNWIND_INFO]: Replace
        remaining use of saved_throw_type with a call to get_eh_type.

From-SVN: r16260

27 years agoexcept.c (push_eh_info): Pass the number of fields - 1 down, not the exact number...
Brendan Kehoe [Fri, 31 Oct 1997 23:17:35 +0000 (23:17 +0000)] 
except.c (push_eh_info): Pass the number of fields - 1 down, not the exact number of fields.

        * except.c (push_eh_info): Pass the number of fields - 1 down, not
        the exact number of fields.

cuz in finish_builtin_type, its comment sez

   LEN is the number of elements
   in FIELDS minus one, or put another way, it is the maximum subscript
   used in FIELDS.

and its code does

  for (i = 0; i < len; i++)
    {
      layout_type (TREE_TYPE (fields[i]));
      DECL_FIELD_CONTEXT (fields[i]) = type;
      TREE_CHAIN (fields[i]) = fields[i+1];
    }
  DECL_FIELD_CONTEXT (fields[i]) = type;
  DECL_CLASS_CONTEXT (fields[i]) = type;

thus expecting the final ones to be fields[4], not fields[5] (which is
the actual size from 0, not the last field member)

From-SVN: r16257

27 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Fri, 31 Oct 1997 16:47:28 +0000 (16:47 +0000)] 
* version.c: Bump for snapshot.

From-SVN: r16255

27 years agoFix typo.
Jeff Law [Fri, 31 Oct 1997 16:41:19 +0000 (09:41 -0700)] 
Fix typo.

From-SVN: r16253

27 years agoMakefile.in (install targets): Add a dummy target for sunos make.
Jeffrey A Law [Fri, 31 Oct 1997 16:38:44 +0000 (16:38 +0000)] 
Makefile.in (install targets): Add a dummy target for sunos make.

        * Makefile.in (install targets): Add a dummy target for sunos make.
        (SUBDIR): Remove 'info'.  It's unneeded.

From-SVN: r16252

27 years agodwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to output ASCII by default.
Jeffrey A Law [Fri, 31 Oct 1997 16:30:48 +0000 (16:30 +0000)] 
dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to output ASCII by default.

        * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
        output ASCII by default.  Only use ASM_OUTPUT_DWARF_STRING if
        flag_debug_asm is on.
        (output_die, output_pubnames, output_line_info): Likewise.

From-SVN: r16251

27 years agoalias.c (init_alias_analysis): Add struct_value_incoming_rtx and static_chain_rtx...
Jeffrey A Law [Fri, 31 Oct 1997 15:35:31 +0000 (15:35 +0000)] 
alias.c (init_alias_analysis): Add struct_value_incoming_rtx and static_chain_rtx into the potential base...

        * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
        and static_chain_rtx into the potential base values array if
        they are registers.
Fixes bugs exposed by improved alias propagation code.

        * alias.c (new_reg_base_value): New array of potential base values.
        (unique_id): Now file scoped static.
        (find_base_value, case REG): Return the value in reg_base_value
        array for the REG if it exists.  Else, return the value from
        new_reg_base_value if copying args and REG is a hard register.
        (find_base_value, case PLUS): If either operand of the PLUS is
        a REG, try to get its base value.  Handle base + index and
        index + base.
        (record_set): Use new_reg_base_value instead of reg_base_value.
        (init_alias_analysis): Allocate space for new_reg_base_value too.
        Rework code to iterate over the insns propagating base value
        information until nothing changes.
Improve alias propagation significantly.

From-SVN: r16250

27 years agoglobal.c (global_alloc): Free the conflict matrix after reload has finished.
Jeffrey A Law [Fri, 31 Oct 1997 14:08:40 +0000 (14:08 +0000)] 
global.c (global_alloc): Free the conflict matrix after reload has finished.

        * global.c (global_alloc): Free the conflict matrix after
        reload has finished.

From-SVN: r16249

27 years ago[multiple changes]
Jason Merrill [Fri, 31 Oct 1997 09:52:55 +0000 (09:52 +0000)] 
[multiple changes]

Fri Oct 31 01:45:31 1997  Jason Merrill  <jason@yorick.cygnus.com>

* libgcc2.c (L_eh): Define __eh_pc.
Replace __eh_type with generic pointer __eh_info.

Fri Oct 31 01:47:57 1997  Jason Merrill  <jason@yorick.cygnus.com>

Support for nested exceptions.
* tinfo2.cc (__is_pointer): New fn.
* exception.cc (struct cp_eh_info): Define.
(__cp_exception_info, __uncatch_exception): New fns.
(__cp_push_exception, __cp_pop_exception): New fns.
* except.c: Lose saved_throw_{type,value,cleanup,in_catch}.
  Lose empty_fndecl.
(init_exception_processing): Likewise.  __eh_pc is now external.
(push_eh_info): New fn.
(get_eh_{info,value,type,caught}): New fns.
(push_eh_cleanup): Just call __cp_pop_exception.
(expand_start_catch_block): Use push_eh_info.  Start the eh region
sooner.
(expand_end_eh_spec): Use push_eh_info.
(expand_throw): Call __cp_push_exception to set up the exception info.
Just pass the destructor or 0 as the cleanup.  Call __uncatch_exception
when we rethrow.
(expand_builtin_throw): Don't refer to empty_fndecl.

From-SVN: r16248

27 years agoexpr.c (expand_increment): When enqueing a postincrement for a MEM...
J"orn Rennecke [Fri, 31 Oct 1997 00:40:46 +0000 (00:40 +0000)] 
expr.c (expand_increment): When enqueing a postincrement for a MEM...

* expr.c (expand_increment): When enqueing a postincrement for a MEM,
use copy_to_reg if address is not a general_operand.

From-SVN: r16247

27 years agoprofile.c (output_func_start_profiler): Clear flag_inline_functions for the duration...
J"orn Rennecke [Fri, 31 Oct 1997 00:23:07 +0000 (00:23 +0000)] 
profile.c (output_func_start_profiler): Clear flag_inline_functions for the duration of the call to rest_of_compilation.

* profile.c (output_func_start_profiler): Clear flag_inline_functions
for the duration of the call to rest_of_compilation.

From-SVN: r16246

27 years agoClean up pass over sparc -m{cpu,tune} docs.
Doug Evans [Thu, 30 Oct 1997 23:01:26 +0000 (23:01 +0000)] 
Clean up pass over sparc -m{cpu,tune} docs.

From-SVN: r16245

27 years agoconfigure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
Doug Evans [Thu, 30 Oct 1997 22:52:41 +0000 (22:52 +0000)] 
configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.

* configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
Set extra_parts.
(sparc*-*-*): Recognize --with-cpu=v9.
* sparc/elf.h: New file.
* sparc/t-elf: New file.

From-SVN: r16243

27 years agoNew files for embedded sparc/elf support.
Doug Evans [Thu, 30 Oct 1997 22:38:32 +0000 (22:38 +0000)] 
New files for embedded sparc/elf support.

From-SVN: r16240