]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years agoMissed this from the -mmemory-latency commit.
Richard Henderson [Mon, 15 Dec 1997 18:40:42 +0000 (10:40 -0800)]
Missed this from the -mmemory-latency commit.

From-SVN: r17108

26 years ago* expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
Richard Henderson [Mon, 15 Dec 1997 18:39:02 +0000 (10:39 -0800)]
* expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.

From-SVN: r17107

26 years agoalpha.c (alpha_cpu_name): New variable.
Richard Henderson [Mon, 15 Dec 1997 18:33:21 +0000 (10:33 -0800)]
alpha.c (alpha_cpu_name): New variable.

* alpha.c (alpha_cpu_name): New variable.
(alpha_mlat_string): Likewise.
(alpha_memory_latency): Likewise.
(override_options): Handle -mmemory-latency.
(alpha_adjust_cost): Adjust load cost for latency.
* alpha.h (TARGET_OPTIONS): Add meory-latency.
(REGISTER_MOVE_COST): Define in terms of memory_latency.  Take
TARGET_CIX into account.
(MEMORY_MOVE_COST): Define in terms of memory_latency.
* invoke.texi (DEC Alpha Options): Document -mmemory-latency.
* alpha.h (ASM_COMMENT_START): New macro.

From-SVN: r17106

26 years agoreload.h, [...]: Revert March 15 change.
Richard Henderson [Mon, 15 Dec 1997 17:55:58 +0000 (09:55 -0800)]
reload.h, [...]: Revert March 15 change.

* reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
* reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
SUBREG_REG if the word count is unchanged.
* reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
subregs of identical word size for push_reload.

From-SVN: r17105

26 years agotoplev.c (rest_of_compilation): Don't call save_for_inline_copy if all we're doing...
Mark Mitchell [Mon, 15 Dec 1997 17:55:11 +0000 (10:55 -0700)]
toplev.c (rest_of_compilation): Don't call save_for_inline_copy if all we're doing is dealing with -Wreturn-type.

        * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
        if all we're doing is dealing with -Wreturn-type.

From-SVN: r17104

26 years agoalpha.md (zero_extendqihi2, [...]): Use and 255 instead of zapnot 1, since it schedul...
Richard Henderson [Mon, 15 Dec 1997 17:55:10 +0000 (09:55 -0800)]
alpha.md (zero_extendqihi2, [...]): Use and 255 instead of zapnot 1, since it schedules better.

        * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
        Use and 255 instead of zapnot 1, since it schedules better.

From-SVN: r17103

26 years ago* com.c (ffecom_type_vardesc_): Vardesc.dims is a `ftnlen*'.
Richard Henderson [Mon, 15 Dec 1997 17:34:23 +0000 (09:34 -0800)]
* com.c (ffecom_type_vardesc_): Vardesc.dims is a `ftnlen*'.

From-SVN: r17102

26 years agostmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as volatile.
Jeffrey A Law [Mon, 15 Dec 1997 15:46:40 +0000 (15:46 +0000)]
stmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as volatile.

* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
it as volatile.

From-SVN: r17100

26 years agoRebuild.
Jeff Law [Mon, 15 Dec 1997 15:08:30 +0000 (08:08 -0700)]
Rebuild.

From-SVN: r17099

26 years agocvt.c (cp_convert_to_pointer): Fix base conversion of pm's.
Jason Merrill [Mon, 15 Dec 1997 07:24:29 +0000 (07:24 +0000)]
cvt.c (cp_convert_to_pointer): Fix base conversion of pm's.

* cvt.c (cp_convert_to_pointer): Fix base conversion of pm's.

* pt.c (type_unification_real): Change __null to type void* with
a warning.

From-SVN: r17098

26 years agoBring over changes from latest gcc-2.8 pre-release.
Jeff Law [Mon, 15 Dec 1997 07:05:04 +0000 (00:05 -0700)]
Bring over changes from latest gcc-2.8 pre-release.

Mirror sched.c change into haifa-sched.c

From-SVN: r17097

26 years agoChange from latest gcc-2.8 prerelease
Jeff Law [Mon, 15 Dec 1997 06:11:01 +0000 (23:11 -0700)]
Change from latest gcc-2.8 prerelease

From-SVN: r17096

26 years agocall.c (implicit_conversion): Don't call build_user_type_conversion_1 with a NULL...
Mark Mitchell [Mon, 15 Dec 1997 04:40:01 +0000 (04:40 +0000)]
call.c (implicit_conversion): Don't call build_user_type_conversion_1 with a NULL expr, since it will crash.

* call.c (implicit_conversion): Don't call
build_user_type_conversion_1 with a NULL expr, since it will
crash.

* pt.c (unify): Don't try to unify array bounds if either array is
unbounded.

From-SVN: r17095

26 years agotweak
Jason Merrill [Mon, 15 Dec 1997 03:58:21 +0000 (22:58 -0500)]
tweak

From-SVN: r17094

26 years agotweak comment
Jason Merrill [Mon, 15 Dec 1997 03:58:03 +0000 (22:58 -0500)]
tweak comment

From-SVN: r17093

26 years ago* expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
Per Bothner [Sat, 13 Dec 1997 19:40:06 +0000 (19:40 +0000)]
* expr.c (expand_builtin):  Support BUILT_IN_FMOD - just call fmod.

From-SVN: r17090

26 years agoflow.c (flow_analysis): Be consistent with find_basic_blocks in determining when...
Jason Merrill [Sat, 13 Dec 1997 01:49:10 +0000 (01:49 +0000)]
flow.c (flow_analysis): Be consistent with find_basic_blocks in determining when a new basic block starts.

* flow.c (flow_analysis): Be consistent with find_basic_blocks in
determining when a new basic block starts.

From-SVN: r17085

26 years agoerrfn.c (cp_pedwarn, [...]): Replace extern decls with casts.
Jason Merrill [Sat, 13 Dec 1997 00:28:00 +0000 (00:28 +0000)]
errfn.c (cp_pedwarn, [...]): Replace extern decls with casts.

* errfn.c (cp_pedwarn, cp_pedwarn_at, cp_error_at, cp_warning_at):
Replace extern decls with casts.

* decl.c (expand_start_early_try_stmts): Don't mess with a sequence.
Update last_parm_cleanup_insn.
(store_after_parms): Remove.
* cp-tree.h: Adjust.

Fixes eh{39,40}.C

From-SVN: r17083

26 years agoadd dwarf2 note
Jason Merrill [Fri, 12 Dec 1997 23:30:45 +0000 (18:30 -0500)]
add dwarf2 note

From-SVN: r17082

26 years agointegrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL, look inside a (mem...
Richard Kenner [Fri, 12 Dec 1997 16:06:57 +0000 (16:06 +0000)]
integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL, look inside a (mem (addressof (mem ...))).

* integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL,
look inside a (mem (addressof (mem ...))).

From-SVN: r17075

26 years agoRebuild after recent changes.
Jeff Law [Fri, 12 Dec 1997 15:58:02 +0000 (08:58 -0700)]
Rebuild after recent changes.

From-SVN: r17074

26 years agoosf2or3.h (LIB_SPEC): Restore missing defn.
Jason Merrill [Fri, 12 Dec 1997 10:31:22 +0000 (10:31 +0000)]
osf2or3.h (LIB_SPEC): Restore missing defn.

* alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
Lost in 11/02 merge.

* pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
* pa.md (iorsi3): Add missing args to *_operand calls.
Simple bugs shown up by recent changes.

From-SVN: r17071

26 years agoexcept.c (call_get_eh_context): Don't mess with sequences.
Jason Merrill [Fri, 12 Dec 1997 09:23:52 +0000 (09:23 +0000)]
except.c (call_get_eh_context): Don't mess with sequences.

* except.c (call_get_eh_context): Don't mess with sequences.
(emit_eh_context): Include the call in the sequence here.

From-SVN: r17070

26 years agoFinish last change. I'm no emacs wizard :(
Jeff Law [Fri, 12 Dec 1997 09:00:19 +0000 (02:00 -0700)]
Finish last change.  I'm no emacs wizard :(

From-SVN: r17069

26 years agoFix minor bug in BeOS changes.
Jeff Law [Fri, 12 Dec 1997 08:50:19 +0000 (01:50 -0700)]
Fix minor bug in BeOS changes.

From-SVN: r17068

26 years agoRevert last change
Jeff Law [Fri, 12 Dec 1997 08:13:05 +0000 (01:13 -0700)]
Revert last change

From-SVN: r17067

26 years agocollect2.c (write_c_file_glob): Allocate initial frame object in static storage and...
Paul Eggert [Fri, 12 Dec 1997 07:37:57 +0000 (07:37 +0000)]
collect2.c (write_c_file_glob): Allocate initial frame object in static storage and pass its address.

        * collect2.c (write_c_file_glob): Allocate initial frame object
        in static storage and pass its address.

From-SVN: r17066

26 years agoexcept.c (call_get_eh_context): Don't take a parm.
Jason Merrill [Fri, 12 Dec 1997 07:35:04 +0000 (07:35 +0000)]
except.c (call_get_eh_context): Don't take a parm.

* except.c (call_get_eh_context): Don't take a parm.
Put the call at the top of the function.
(emit_eh_context): Adjust.
(get_eh_context): Replace with former use_eh_context.
(get_eh_context_once, get_saved_pc_ref): Remove.
(start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
* except.h: Adjust.
* integrate.c (expand_inline_function): Adjust.
* toplev.c (rest_of_compilation): Don't call emit_unwinder.

tidy tidy tidy

From-SVN: r17065

26 years agoxm-go32.h (EXECUTABLE_SUFFIX): Define.
Marc Lehmann [Fri, 12 Dec 1997 07:03:24 +0000 (07:03 +0000)]
xm-go32.h (EXECUTABLE_SUFFIX): Define.

        * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
        (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.

From-SVN: r17064

26 years agolinux.h (STACK_BOUNDARY): Define as 64 for glibc2.
Dave Love [Fri, 12 Dec 1997 06:55:33 +0000 (06:55 +0000)]
linux.h (STACK_BOUNDARY): Define as 64 for glibc2.

        * i386/linux.h (STACK_BOUNDARY): Define as 64 for glibc2.
        * i386/gnu.h (STACK_BOUNDARY): Define as 64.

From-SVN: r17063

26 years agofixincludes (str{len,spn,cspn} return value): Handle different layout on sysV88.
Manfred Hollstein [Fri, 12 Dec 1997 06:53:30 +0000 (06:53 +0000)]
fixincludes (str{len,spn,cspn} return value): Handle different layout on sysV88.

        * fixincludes (str{len,spn,cspn} return value): Handle different
        layout on sysV88.
        (hypot): Provide a fake for hypot which is broken on
        m88k-motorola-sysv3.

From-SVN: r17062

26 years agotree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from...
John F. Carr [Fri, 12 Dec 1997 06:49:29 +0000 (06:49 +0000)]
tree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from pointers to arrays.

        * tree.c, tree.h: Change tree_code_type, tree_code_length, and
        tree_code_name from pointers to arrays.
        * tree.c: Remove standard_tree_code_* variables, no longer used.
        * print-tree.c: Remove declaration of tree_code_name.

        * cp/lex.c (init_lex): Update for tree_code_* changes.
        * objc/objc-act.c (init_objc): Likewise.

        * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
        changes.

From-SVN: r17061

26 years agocvs commit ChangeLog config.sub configure configure.in toplev.c
Fred Fish [Fri, 12 Dec 1997 06:36:11 +0000 (06:36 +0000)]
cvs commit ChangeLog config.sub configure configure.in toplev.c

From-SVN: r17060

26 years ago* config.guess: Add BeOS support.
Fred Fish [Fri, 12 Dec 1997 06:28:39 +0000 (06:28 +0000)]
* config.guess: Add BeOS support.

From-SVN: r17059

26 years agom68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly old and broken Sun3...
Jeffrey A Law [Fri, 12 Dec 1997 06:23:19 +0000 (06:23 +0000)]
m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly old and broken Sun3 assemblers.

        * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
        old and broken Sun3 assemblers.  Newer versions handle large
        offsets correctly as does the GNU assembler.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>
From-SVN: r17058

26 years agoobjc-act.c (lang_report_error_function): Disable.
H.J. Lu [Fri, 12 Dec 1997 06:20:41 +0000 (06:20 +0000)]
objc-act.c (lang_report_error_function): Disable.

        * objc/objc-act.c (lang_report_error_function): Disable.
        * objc/objc-parse.y: Include "output.h".
        (yyerror): Remove redundant decl.
        (yyprint): Fix prototype.
        (apply_args_register_offset): Remove redundant decl.
        (get_file_function_name): Likewise.

From-SVN: r17057

26 years agodecl2.c (comdat_linkage): Also set DECL_COMDAT.
Jason Merrill [Fri, 12 Dec 1997 06:20:32 +0000 (06:20 +0000)]
decl2.c (comdat_linkage): Also set DECL_COMDAT.

* decl2.c (comdat_linkage): Also set DECL_COMDAT.
(finish_file): Check DECL_COMDAT instead of weak|one_only.
(import_export_vtable): Use make_decl_one_only instead of
  comdat_linkage for win32 tweak.
(import_export_decl): Likewise.
* pt.c (mark_decl_instantiated): Likewise.

Fix libgcc with -O3.

From-SVN: r17056

26 years agoflow.c (find_basic_blocks): A CALL_INSN that can throw starts a new basic block.
Jason Merrill [Fri, 12 Dec 1997 06:12:03 +0000 (06:12 +0000)]
flow.c (find_basic_blocks): A CALL_INSN that can throw starts a new basic block.

* flow.c (find_basic_blocks): A CALL_INSN that can throw starts
a new basic block.
(find_basic_blocks_1): Likewise.

From-SVN: r17055

26 years agoexcept.c (use_eh_context): Don't copy_rtx a REG.
Jason Merrill [Fri, 12 Dec 1997 05:15:30 +0000 (05:15 +0000)]
except.c (use_eh_context): Don't copy_rtx a REG.

* except.c (use_eh_context): Don't copy_rtx a REG.
(emit_throw): Lose old unwinder support.
(expand_internal_throw): Likewise.
* libgcc2.c (struct eh_context): Likewise.
(new_eh_context): Likewise.
(__get_eh_info): Lose redundant cast.
(__get_dynamic_handler_chain): Likewise.
(__get_saved_pc): Lose.
Lose all old unwinder support code.

* decl2.c (finish_file): Lose call to expand_builtin_throw.
* except.c (expand_builtin_throw): Remove.
* cp-tree.h: Remove ptr_ptr_type_node.
* decl.c: Likewise.

From-SVN: r17054

26 years agoThread-safe EH support for pthreads, DCE threads and Solaris threads.
Teemu Torma [Fri, 12 Dec 1997 04:54:37 +0000 (23:54 -0500)]
Thread-safe EH support for pthreads, DCE threads and Solaris threads.

Thu Dec 11 20:42:18 1997  Teemu Torma  <tot@trema.com>

Thread-safe EH support for pthreads, DCE threads and Solaris threads.

* integrate.c (expand_inline_function): If the inline fn uses eh
context, make sure that the current fn has one.
* toplev.c (rest_of_compilation): Call emit_eh_context.
* except.c (use_eh_context): New fn.
(get_eh_context_once): New fn.
(call_get_eh_context): New fn.
(emit_eh_context): New fn.
(get_eh_context): Call either get_eh_context_once or
call_get_eh_context, depending on what we have.
(get_dynamic_handler_chain): Call get_eh_context_once.
* except.h: Prototypes for fns above.
* optabs.c (get_eh_context_libfunc): Removed.
(init_optabs): Don't initialize it.
* expr.h (get_eh_context_libfunc): Removed.
* rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
* config/pa/pa.h (CPP_SPEC): Support for -threads.
* config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
* config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
New multilib for -threads.
* config/sparc/t-sol2: Added multilibs for -threads and
made -pthreads alias to it.
* config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
Added -threads and -pthreads options.
* libgcc-thr.h: New file.
* libgcc2.c: (__get_cpp_eh_context): Removed.
(struct cpp_eh_context): Removed.
(struct eh_context): Replaced cpp_eh_context with generic language
specific pointer.
(__get_eh_info): New function.
(__throw): Check eh_context::info.
(__sjthrow): Ditto.
* libgcc2.c: Include libgcc-thr.h.
(new_eh_context, __get_eh_context,
eh_pthread_initialize, eh_context_initialize, eh_context_static,
eh_context_specific, eh_context_free): New functions.
(get_eh_context, eh_context_key): New variables.
(__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
get_eh_context to get the context.
(longjmp): Move the declaration inside
#ifdef DONT_USE_BUILTIN_SETJMP.
* frame.c: Include libgcc-thr.h.
(object_mutex): Mutex to protect the object list.
(find_fde, __register_frame, __register_frame_table,
__deregister_frame): Hold the lock while accessing objects.
* except.h (get_eh_context): Declare.
* except.c (current_function_ehc): Define.
(current_function_dhc, current_function_dcc): Removed.
(get_eh_context): New function.
(get_dynamic_handler_chain): Use get_eh_context.
(get_saved_pc_ref): Ditto.
(get_dynamic_cleanup_chain): Removed references to
current_function_dcc.
(save_eh_status, restore_eh_status): Save and restore
current_function_ehc instead.
* optabs.c (get_eh_context_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_eh_context_libfunc.
* function.h (struct function): Replaced dhc and dcc with ehc.
* except.c (get_saved_pc_ref): New functions.
(eh_saved_pc_rtx, eh_saved_pc): Deleted.
(expand_internal_throw_indirect): Use get_saved_pc_ref() instead
of eh_saved_pc.
(end_eh_unwinder): Likewise.
(init_eh): Remove initialization of eh_saved_pc.
* optabs.c (get_saved_pc_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_saved_pc_libfunc.
* except.h (eh_saved_pc_rtx): Deleted.
(get_saved_pc_ref): Declared.

From Scott Snyder <snyder@d0sgif.fnal.gov>:
* libgcc2.c (__get_saved_pc): New.
(__eh_type, __eh_pc): Deleted.
(__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
(__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
this fcn.

From-SVN: r17053

26 years ago[multiple changes]
Teemu Torma [Fri, 12 Dec 1997 04:53:20 +0000 (04:53 +0000)]
[multiple changes]

Thu Dec 11 20:42:18 1997  Teemu Torma  <tot@trema.com>

Thread-safe EH support for pthreads, DCE threads and Solaris threads.

* integrate.c (expand_inline_function): If the inline fn uses eh
context, make sure that the current fn has one.
* toplev.c (rest_of_compilation): Call emit_eh_context.
* except.c (use_eh_context): New fn.
(get_eh_context_once): New fn.
(call_get_eh_context): New fn.
(emit_eh_context): New fn.
(get_eh_context): Call either get_eh_context_once or
call_get_eh_context, depending on what we have.
(get_dynamic_handler_chain): Call get_eh_context_once.
* except.h: Prototypes for fns above.
* optabs.c (get_eh_context_libfunc): Removed.
(init_optabs): Don't initialize it.
* expr.h (get_eh_context_libfunc): Removed.
* rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
* config/pa/pa.h (CPP_SPEC): Support for -threads.
* config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
* config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
New multilib for -threads.
* config/sparc/t-sol2: Added multilibs for -threads and
made -pthreads alias to it.
* config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
Added -threads and -pthreads options.
* libgcc-thr.h: New file.
* libgcc2.c: (__get_cpp_eh_context): Removed.
(struct cpp_eh_context): Removed.
(struct eh_context): Replaced cpp_eh_context with generic language
specific pointer.
(__get_eh_info): New function.
(__throw): Check eh_context::info.
(__sjthrow): Ditto.
* libgcc2.c: Include libgcc-thr.h.
(new_eh_context, __get_eh_context,
eh_pthread_initialize, eh_context_initialize, eh_context_static,
eh_context_specific, eh_context_free): New functions.
(get_eh_context, eh_context_key): New variables.
(__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
get_eh_context to get the context.
(longjmp): Move the declaration inside
#ifdef DONT_USE_BUILTIN_SETJMP.
* frame.c: Include libgcc-thr.h.
(object_mutex): Mutex to protect the object list.
(find_fde, __register_frame, __register_frame_table,
__deregister_frame): Hold the lock while accessing objects.
* except.h (get_eh_context): Declare.
* except.c (current_function_ehc): Define.
(current_function_dhc, current_function_dcc): Removed.
(get_eh_context): New function.
(get_dynamic_handler_chain): Use get_eh_context.
(get_saved_pc_ref): Ditto.
(get_dynamic_cleanup_chain): Removed references to
current_function_dcc.
(save_eh_status, restore_eh_status): Save and restore
current_function_ehc instead.
* optabs.c (get_eh_context_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_eh_context_libfunc.
* function.h (struct function): Replaced dhc and dcc with ehc.
* except.c (get_saved_pc_ref): New functions.
(eh_saved_pc_rtx, eh_saved_pc): Deleted.
(expand_internal_throw_indirect): Use get_saved_pc_ref() instead
of eh_saved_pc.
(end_eh_unwinder): Likewise.
(init_eh): Remove initialization of eh_saved_pc.
* optabs.c (get_saved_pc_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_saved_pc_libfunc.
* except.h (eh_saved_pc_rtx): Deleted.
(get_saved_pc_ref): Declared.

From Scott Snyder <snyder@d0sgif.fnal.gov>:
* libgcc2.c (__get_saved_pc): New.
(__eh_type, __eh_pc): Deleted.
(__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
(__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
this fcn.

cp/:
Thu Dec 11 20:43:33 1997  Teemu Torma  <tot@trema.com>

* decl.c (ptr_ptr_type_node): Define.
(init_decl_processing): Initialize it.
* cp-tree.h: Declare it.
* exception.cc (__cp_exception_info): Use __get_eh_info.
(__cp_push_exception): Ditto.
(__cp_pop_exception): Ditto.

From Scott Snyder <snyder@d0sgif.fnal.gov>:
        * except.c (expand_builtin_throw): Use get_saved_pc_ref instead of
saved_pc.
(init_exception_processing): Removed saved_pc initialization.

From-SVN: r17052

26 years agoRebuild after recent changes.
Jeff Law [Fri, 12 Dec 1997 03:49:00 +0000 (20:49 -0700)]
Rebuild after recent changes.

From-SVN: r17051

26 years agosol2.h: Use 64 bit multiply and divide functions in Solaris libc.
John F. Carr [Fri, 12 Dec 1997 00:39:47 +0000 (00:39 +0000)]
sol2.h: Use 64 bit multiply and divide functions in Solaris libc.

        * sparc/sol2.h: Use 64 bit multiply and divide functions in
        Solaris libc.  Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
        as 0.

From-SVN: r17050

26 years agortl.h (global_rtl): New variable, replacing separate variables for commonly used...
John F. Carr [Fri, 12 Dec 1997 00:27:40 +0000 (00:27 +0000)]
rtl.h (global_rtl): New variable, replacing separate variables for commonly used rtl.

        * rtl.h (global_rtl): New variable, replacing separate variables for
        commonly used rtl.
        (const_int_rtx): Now array of rtx_def, not rtx.
        * emit-rtl.c: Update for new rtl data structures.
        * genattrtab.c: Define global_rtl.

From-SVN: r17049

26 years agoconfigure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by default.
David Edelsohn [Thu, 11 Dec 1997 22:51:34 +0000 (22:51 +0000)]
configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by default.

        * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
        default.

From-SVN: r17046

26 years agoBring over from changes from devo.
Brendan Kehoe [Thu, 11 Dec 1997 18:46:55 +0000 (18:46 +0000)]
Bring over from changes from devo.

From-SVN: r17045

26 years agotFile.cc (t4): Cast TMPFILE to char* in the call to unlink...
Brendan Kehoe [Thu, 11 Dec 1997 18:44:36 +0000 (18:44 +0000)]
tFile.cc (t4): Cast TMPFILE to char* in the call to unlink...

        * tFile.cc (t4): Cast TMPFILE to char* in the call to unlink, to
        solve warning problems with vxworks headers that leave const off
        their declarations.
Brought over from devo.

From-SVN: r17044

26 years agolibio.h (__P): Name its arg `p' instead of `params'.
Brendan Kehoe [Thu, 11 Dec 1997 18:41:22 +0000 (11:41 -0700)]
libio.h (__P): Name its arg `p' instead of `params'.

        * libio.h (__P): Name its arg `p' instead of `params'.
        Avoids problems with an unchanged Solaris math.h header.
Bring over from devo.

From-SVN: r17043

26 years agostdiostream.cc (sys_read): Declare ch with int type, rather than without a type.
Michael Meissner [Thu, 11 Dec 1997 18:31:56 +0000 (18:31 +0000)]
stdiostream.cc (sys_read): Declare ch with int type, rather than without a type.

        * stdiostream.cc (sys_read): Declare ch with int type, rather than
        without a type.

Bring over from devo.

From-SVN: r17042

26 years ago* configure.in (target frags): Add *-linux-gnu.
H.J. Lu [Thu, 11 Dec 1997 18:19:38 +0000 (18:19 +0000)]
* configure.in (target frags): Add *-linux-gnu.

From-SVN: r17041

26 years agoAnother handful of gcc-2.8 changes (will it ever go out the door?).
Jeff Law [Thu, 11 Dec 1997 16:26:05 +0000 (09:26 -0700)]
Another handful of gcc-2.8 changes (will it ever go out the door?).

See ChangeLog.11 for details.

From-SVN: r17040

26 years ago* pt.c (instantiate_decl): Defer all templates but inline functions.
Jason Merrill [Thu, 11 Dec 1997 05:15:37 +0000 (05:15 +0000)]
* pt.c (instantiate_decl): Defer all templates but inline functions.

From-SVN: r17039

26 years ago* combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS.
Jeff Law [Thu, 11 Dec 1997 01:13:57 +0000 (18:13 -0700)]
* combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS.

From-SVN: r17038

26 years agoFixed typo.
Anthony Green [Wed, 10 Dec 1997 20:36:00 +0000 (20:36 +0000)]
Fixed typo.

From-SVN: r17036

26 years agoFix thinko.
Jeff Law [Tue, 9 Dec 1997 19:20:43 +0000 (12:20 -0700)]
Fix thinko.

From-SVN: r17032

26 years agoinit.c (expand_vec_init): Don't fold a list of parameters.
Jason Merrill [Tue, 9 Dec 1997 18:59:59 +0000 (18:59 +0000)]
init.c (expand_vec_init): Don't fold a list of parameters.

* init.c (expand_vec_init): Don't fold a list of parameters.

Fixes kde.

From-SVN: r17031

26 years agotoplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition to RLIMIT_STACK...
Manfred Hollstein [Tue, 9 Dec 1997 16:41:12 +0000 (16:41 +0000)]
toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition to RLIMIT_STACK to see if...

        * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
        to RLIMIT_STACK to see if we can call getrlimit and setrlimit.

From-SVN: r17030

26 years agors6000.h (FUNCTION_ARG_PADDING): Define.
David Edelsohn [Tue, 9 Dec 1997 16:35:56 +0000 (16:35 +0000)]
rs6000.h (FUNCTION_ARG_PADDING): Define.

        * rs6000.h (FUNCTION_ARG_PADDING): Define.
        * rs6000.c (function_arg_padding): New function.

From-SVN: r17029

26 years ago* m68k.c: Include tree.h only once.
Manfred Hollstein [Tue, 9 Dec 1997 16:33:10 +0000 (16:33 +0000)]
* m68k.c: Include tree.h only once.

From-SVN: r17028

26 years agointegrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
Richard Kenner [Tue, 9 Dec 1997 16:29:43 +0000 (16:29 +0000)]
integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.

        * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
From Kenner, fixes more ADDRESSOF problems.

From-SVN: r17027

26 years ago* Partially cleaned up prototyping code from HJ.
Jeffrey A Law [Tue, 9 Dec 1997 09:03:51 +0000 (09:03 +0000)]
* Partially cleaned up prototyping code from HJ.

        * tree.h: Add many prototypes.

From-SVN: r17025

26 years ago* Partially cleaned up prototyping code from HJ.
Jeffrey A Law [Tue, 9 Dec 1997 08:20:07 +0000 (08:20 +0000)]
* Partially cleaned up prototyping code from HJ.

        * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
        All references changed.
        * rtl.h: Protect from multiple inclusions.  Add many prototypes.

        * libgcc2.c (string.h): Hoist inclusion to occur before first use of
        string functions like strlen.
More pending patches.

From-SVN: r17024

26 years agoconfigure.in: Check for functions getrlimit and setrlimit.
Manfred Hollstein [Tue, 9 Dec 1997 07:55:17 +0000 (07:55 +0000)]
configure.in: Check for functions getrlimit and setrlimit.

        * configure.in: Check for functions getrlimit and setrlimit.
        * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
        to RLIMIT_STACK to see if we can call getrlimit and setrlimit.

From-SVN: r17023

26 years agodecl.c (copy_args_p): Handle copy elision for types with virtual bases.
Jason Merrill [Tue, 9 Dec 1997 07:26:26 +0000 (07:26 +0000)]
decl.c (copy_args_p): Handle copy elision for types with virtual bases.

* decl.c (copy_args_p): Handle copy elision for types with virtual
  bases.
   * call.c (build_over_call): Likewise.

From-SVN: r17022

26 years ago* Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
Jay Sachs [Tue, 9 Dec 1997 06:53:10 +0000 (06:53 +0000)]
* Makefile.in (compare*): Handle losing behavior from 4.4bsd make.

From-SVN: r17021

26 years agoalpha.c (REG_RA, [...]): Fix merge problems.
Richard Henderson [Tue, 9 Dec 1997 05:11:34 +0000 (21:11 -0800)]
alpha.c (REG_RA, [...]): Fix merge problems.

* alpha.c (REG_RA, alpha_return_addr, output_epilog):
Fix merge problems.

* alpha.c (override_options): Don't know about scheduling for EV6.
* alpha.md (ev5 function units): Don't overload as ev6.

* alpha.c (alpha_adjust_cost): Simplify.  Fix typo in ev5 mult case.
* alpha.md (define_attr type): Add mvi.
(ev5_e0): Define sceduling parameters for it.
(TARGET_MAX insns): Type is mvi not shift.

From-SVN: r17020

26 years ago* alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
Richard Henderson [Tue, 9 Dec 1997 02:17:09 +0000 (18:17 -0800)]
* alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.

From-SVN: r17019

26 years agoRemove suprious file.
Joern Rennecke [Tue, 9 Dec 1997 00:11:26 +0000 (00:11 +0000)]
Remove suprious file.

From-SVN: r17015

26 years agononcompile.exp (921102-1.c): Fixed comment.
J"orn Rennecke [Tue, 9 Dec 1997 00:05:54 +0000 (00:05 +0000)]
noncompile.exp (921102-1.c): Fixed comment.

* noncompile/noncompile.exp (921102-1.c): Fixed comment.
(940510-1.c): Removed duplicate.
(971104-1.c): New test.

From-SVN: r17013

26 years ago* cstamp-h, auto-config.h: Delete non-source files.
J"orn Rennecke [Mon, 8 Dec 1997 21:20:49 +0000 (21:20 +0000)]
* cstamp-h, auto-config.h: Delete non-source files.

From-SVN: r17012

26 years agoDelete bogus file from gcc-2.8 tarball.
Jeff Law [Mon, 8 Dec 1997 20:45:05 +0000 (13:45 -0700)]
Delete bogus file from gcc-2.8 tarball.

From-SVN: r17011

26 years agoAmend Copyright notice.
Joern Rennecke [Mon, 8 Dec 1997 20:31:19 +0000 (20:31 +0000)]
Amend Copyright notice.

From-SVN: r17010

26 years agoFix typo.
Jeff Law [Mon, 8 Dec 1997 19:39:42 +0000 (12:39 -0700)]
Fix typo.

From-SVN: r17008

26 years agopt.c (lookup_template_function): Copy the template arguments...
Mark Mitchell [Mon, 8 Dec 1997 06:41:17 +0000 (06:41 +0000)]
pt.c (lookup_template_function): Copy the template arguments...

* pt.c (lookup_template_function): Copy the template arguments,
not just the list containing them, to the permanent obstack.

From-SVN: r17006

26 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Mon, 8 Dec 1997 02:36:13 +0000 (02:36 +0000)]
* version.c: Bump for snapshot.

From-SVN: r17004

26 years agoexcept.c (expand_start_catch_block): suspend_momentary for the terminate handler.
Jason Merrill [Mon, 8 Dec 1997 02:25:36 +0000 (02:25 +0000)]
except.c (expand_start_catch_block): suspend_momentary for the terminate handler.

* except.c (expand_start_catch_block): suspend_momentary for the
terminate handler.

From-SVN: r17003

26 years agoUpdates from gcc-2.8 test tarball to current gcc-2.8 tarball.
Jeff Law [Mon, 8 Dec 1997 01:42:52 +0000 (18:42 -0700)]
Updates from gcc-2.8 test tarball to current gcc-2.8 tarball.

From-SVN: r17002

26 years agoerror.c (dump_decl): Handle LOOKUP_EXPR.
Jason Merrill [Mon, 8 Dec 1997 00:33:08 +0000 (19:33 -0500)]
error.c (dump_decl): Handle LOOKUP_EXPR.

* error.c (dump_decl): Handle LOOKUP_EXPR.

Sun Dec  7 15:45:07 1997  Mark Mitchell  <mmitchell@usa.net>

* rtti.c (build_dynamic_cast): Copy the cast-to type to the
permanent obstack if we are processing a template decl.
* typeck.c (build_static_cast): Likewise.
(build_const_cast): Likewise.
(build_reinterpret_cast): Likewise.

* pt.c (coerce_template_parms): Coerce some expressions, even
when processing_template_decl.

From-SVN: r17001

26 years agoNote point where we merged in changes from gcc-2.8.
Jeff Law [Sun, 7 Dec 1997 16:58:32 +0000 (09:58 -0700)]
Note point where we merged in changes from gcc-2.8.

From-SVN: r16999

26 years agobastring.h: Move closer to the draft standard implementation of basic_string by addin...
Jody Goldberg [Sun, 7 Dec 1997 10:41:01 +0000 (10:41 +0000)]
bastring.h: Move closer to the draft standard implementation of basic_string by adding 3...

Sun Dec  7 02:34:40 1997  Jody Goldberg <jodyg@idt.net>

* libstdc++/std/bastring.h : Move closer to the draft standard
implementation of basic_string by adding 3 paramter 'Allocator'.
NOTE: this still differs from the standard in not offering per
instance allocators.
* libstdc++/std/bastring.cc : Likewise.
* libstdc++/stlinst.cc : Handle thread safe allocators if they are the
default.

From-SVN: r16993

26 years agoiosfwd: New header.
Jason Merrill [Sun, 7 Dec 1997 10:33:36 +0000 (05:33 -0500)]
iosfwd: New header.

* iosfwd: New header.
* Makefile.in (HEADERS): Add it.

Sun Dec  7 02:32:20 1997  Gregory L. Galloway (gregg@eoeml.gtri.gatech.edu)

* Makefile.in (HEADERS): Modified list of headers to
install to include all of SGI STL headers especially hash_set and
hash_map, and added ANSI C++ style wrappers for fstream, iomanip,
iostream, and strstream.

* fstream, iomanip, iostream, strstream: New forwarding headers
added.

From-SVN: r16991

26 years ago[multiple changes]
Jason Merrill [Sun, 7 Dec 1997 10:01:16 +0000 (05:01 -0500)]
[multiple changes]

Sun Dec  7 01:46:33 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

* typeck.c (build_binary_op_nodefault, pointer_diff): Symmetric
handling of pointer difference expressions.

* typeck.c (comp_target_types): Comparison of function/method types
is independent of nptrs.

Sun Dec  7 01:40:27 1997  Mark Mitchell  <mmitchell@usa.net>

* pt.c (tsubst): Avoid creating pointer to reference and
reference to reference types.

From-SVN: r16990

26 years ago* cccp.c: Fix typo brought over in merge.
Jeffrey A Law [Sun, 7 Dec 1997 05:21:05 +0000 (05:21 +0000)]
* cccp.c: Fix typo brought over in merge.

From-SVN: r16989

26 years agoMerge from gcc-2.8
Jeff Law [Sun, 7 Dec 1997 00:31:01 +0000 (17:31 -0700)]
Merge from gcc-2.8

From-SVN: r16987

26 years agoThis commit was generated by cvs2svn to compensate for changes in r16983,
Jeff Law [Sat, 6 Dec 1997 17:30:09 +0000 (10:30 -0700)]
This commit was generated by cvs2svn to compensate for changes in r16983,

which included commits to RCS files with non-trunk default branches.

From-SVN: r16984

26 years agoInitial revision
Jeff Law [Sat, 6 Dec 1997 17:29:33 +0000 (10:29 -0700)]
Initial revision

From-SVN: r16981

26 years agoInitial revision
Jeff Law [Sat, 6 Dec 1997 17:18:39 +0000 (10:18 -0700)]
Initial revision

From-SVN: r16980

26 years agom68k.c: Include tree.h for dwarf2out_cfi_label.
Jeff Law [Sat, 6 Dec 1997 15:48:29 +0000 (08:48 -0700)]
m68k.c: Include tree.h for dwarf2out_cfi_label.

        * m68k.c: Include tree.h for dwarf2out_cfi_label.

        * gcc.c (process_command): Do not take address of function fatal when
        calling lang_specific_driver.

        * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
        doesn't work with it yet, so set it to 0.
        * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.

        * cse.c (cse_insn): Check for invalid entries when taking references.
More assorted pending patches.

From-SVN: r16978

26 years agoFix bug in test
Jeff Law [Sat, 6 Dec 1997 15:45:59 +0000 (08:45 -0700)]
Fix bug in test

From-SVN: r16977

26 years agoparse.y (do_id): New nonterminal.
Jason Merrill [Sat, 6 Dec 1997 09:34:46 +0000 (09:34 +0000)]
parse.y (do_id): New nonterminal.

* parse.y (do_id): New nonterminal.
(template_id): Use it.

From-SVN: r16974

26 years agoloop.c (invariant_p): Don't test flag_rerun_loop_opt.
Jeff Law [Sat, 6 Dec 1997 07:38:01 +0000 (00:38 -0700)]
loop.c (invariant_p): Don't test flag_rerun_loop_opt.

        * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
        (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
        * toplev.c (rest_of_compilation): Pass it.  Remove code to
        save / clear / restore flag_unroll_{,all_}loops.

        * i386.c (notice_update_cc): Remove bogus pentium GCC code.

        * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
Various pending patches.

From-SVN: r16973

26 years agostreambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout...
H.J. Lu [Sat, 6 Dec 1997 07:32:08 +0000 (00:32 -0700)]
streambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout/_IO_stderr.

        * streambuf.cc (streambuf::~streambuf): Don't delete _lock
        for _IO_stdin/_IO_stdout/_IO_stderr.

From-SVN: r16972

26 years agoparse.y (template_id): do_identifier for PFUNCNAMEs, too.
Jason Merrill [Sat, 6 Dec 1997 03:43:05 +0000 (03:43 +0000)]
parse.y (template_id): do_identifier for PFUNCNAMEs, too.

* parse.y (template_id): do_identifier for PFUNCNAMEs, too.
* spew.c (yylex): Don't do_identifier here.
* decl2.c (build_expr_from_tree): Revert last change.

* decl2.c (build_expr_from_tree): Expand the name for a method call.
* parse.y (object_template_id): Don't try to take the DECL_NAME.

From-SVN: r16971

26 years agorelease branch changes from 11-27 snapshot to egcs-1.0.
Jeff Law [Fri, 5 Dec 1997 22:13:17 +0000 (15:13 -0700)]
release branch changes from 11-27 snapshot to egcs-1.0.

From-SVN: r16970

26 years agotypo in last delta.
Jeff Law [Fri, 5 Dec 1997 05:55:31 +0000 (22:55 -0700)]
typo in last delta.

From-SVN: r16956

26 years agoexcept.c (get_dynamic_handler_chain): Only make the call once per function.
Jason Merrill [Fri, 5 Dec 1997 03:06:17 +0000 (03:06 +0000)]
except.c (get_dynamic_handler_chain): Only make the call once per function.

* except.c (get_dynamic_handler_chain): Only make the call once per
  function.

From-SVN: r16955

26 years agoAdd patch from release branch accidentally left off the mainline.
Jim Wilson [Fri, 5 Dec 1997 01:10:51 +0000 (01:10 +0000)]
Add patch from release branch accidentally left off the mainline.

* mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
fix_truncsfdi2): Change *X to ?*X.

From-SVN: r16954

26 years agomissing part of Sept 22 change brought over:
Benjamin Kosnik [Fri, 5 Dec 1997 00:48:46 +0000 (00:48 +0000)]
missing part of Sept 22 change brought over:

* decl.c (cp_finish_decl): Mark decls used if type has TREE_USED
set,don't clear TREE_USED wholesale.

From-SVN: r16953

26 years ago* strsignal.c (sys_nsig): Try NSIG and _NSIG.
Jeffrey A Law [Fri, 5 Dec 1997 00:22:32 +0000 (00:22 +0000)]
* strsignal.c (sys_nsig): Try NSIG and _NSIG.

From-SVN: r16952

26 years agoMoved to noncompile.
Joern Rennecke [Thu, 4 Dec 1997 21:17:39 +0000 (21:17 +0000)]
Moved to noncompile.

From-SVN: r16951

This page took 0.114162 seconds and 5 git commands to generate.