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
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
Jeff Law [Fri, 12 Dec 1997 09:00:19 +0000 (02:00 -0700)]
Finish last change. I'm no emacs wizard :(
From-SVN: r17069
Jeff Law [Fri, 12 Dec 1997 08:50:19 +0000 (01:50 -0700)]
Fix minor bug in BeOS changes.
From-SVN: r17068
Jeff Law [Fri, 12 Dec 1997 08:13:05 +0000 (01:13 -0700)]
Revert last change
From-SVN: r17067
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
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
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
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
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
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
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
Fred Fish [Fri, 12 Dec 1997 06:28:39 +0000 (06:28 +0000)]
* config.guess: Add BeOS support.
From-SVN: r17059
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
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
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
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
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
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
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
Jeff Law [Fri, 12 Dec 1997 03:49:00 +0000 (20:49 -0700)]
Rebuild after recent changes.
From-SVN: r17051
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
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
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
Brendan Kehoe [Thu, 11 Dec 1997 18:46:55 +0000 (18:46 +0000)]
Bring over from changes from devo.
From-SVN: r17045
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
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
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
H.J. Lu [Thu, 11 Dec 1997 18:19:38 +0000 (18:19 +0000)]
* configure.in (target frags): Add *-linux-gnu.
From-SVN: r17041
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
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
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
Anthony Green [Wed, 10 Dec 1997 20:36:00 +0000 (20:36 +0000)]
Fixed typo.
From-SVN: r17036
Jeff Law [Tue, 9 Dec 1997 19:20:43 +0000 (12:20 -0700)]
Fix thinko.
From-SVN: r17032
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
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
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
Manfred Hollstein [Tue, 9 Dec 1997 16:33:10 +0000 (16:33 +0000)]
* m68k.c: Include tree.h only once.
From-SVN: r17028
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
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
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
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
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
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
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
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
Joern Rennecke [Tue, 9 Dec 1997 00:11:26 +0000 (00:11 +0000)]
Remove suprious file.
From-SVN: r17015
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
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
Jeff Law [Mon, 8 Dec 1997 20:45:05 +0000 (13:45 -0700)]
Delete bogus file from gcc-2.8 tarball.
From-SVN: r17011
Joern Rennecke [Mon, 8 Dec 1997 20:31:19 +0000 (20:31 +0000)]
Amend Copyright notice.
From-SVN: r17010
Jeff Law [Mon, 8 Dec 1997 19:39:42 +0000 (12:39 -0700)]
Fix typo.
From-SVN: r17008
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
Jeffrey A Law [Mon, 8 Dec 1997 02:36:13 +0000 (02:36 +0000)]
* version.c: Bump for snapshot.
From-SVN: r17004
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
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
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
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
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
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
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
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
Jeff Law [Sun, 7 Dec 1997 00:31:01 +0000 (17:31 -0700)]
Merge from gcc-2.8
From-SVN: r16987
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
Jeff Law [Sat, 6 Dec 1997 17:29:33 +0000 (10:29 -0700)]
Initial revision
From-SVN: r16981
Jeff Law [Sat, 6 Dec 1997 17:18:39 +0000 (10:18 -0700)]
Initial revision
From-SVN: r16980
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
Jeff Law [Sat, 6 Dec 1997 15:45:59 +0000 (08:45 -0700)]
Fix bug in test
From-SVN: r16977
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
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
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
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
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
Jeff Law [Fri, 5 Dec 1997 05:55:31 +0000 (22:55 -0700)]
typo in last delta.
From-SVN: r16956
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
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
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
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
Joern Rennecke [Thu, 4 Dec 1997 21:17:39 +0000 (21:17 +0000)]
Moved to noncompile.
From-SVN: r16951
Jason Merrill [Thu, 4 Dec 1997 19:52:49 +0000 (19:52 +0000)]
* except.c (expand_end_all_catch): Fix for sjlj exceptions.
From-SVN: r16950
J"orn Rennecke [Thu, 4 Dec 1997 17:45:10 +0000 (17:45 +0000)]
sh.c (final_prescan_insn): Use local label prefix when emitting .uses pseudo-ops.
* sh.c (final_prescan_insn): Use local label prefix
when emitting .uses pseudo-ops.
From-SVN: r16949
Jason Merrill [Thu, 4 Dec 1997 10:03:02 +0000 (10:03 +0000)]
init.c (build_new): Use a TARGET_EXPR instead of SAVE_EXPR for alloc_expr.
* init.c (build_new): Use a TARGET_EXPR instead of SAVE_EXPR for
alloc_expr.
* call.c (build_op_delete_call): Adjust.
From-SVN: r16939
Jason Merrill [Thu, 4 Dec 1997 09:41:53 +0000 (04:41 -0500)]
oops
From-SVN: r16938
Jason Merrill [Thu, 4 Dec 1997 09:41:38 +0000 (09:41 +0000)]
./: * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
* except.c: Lose outer_context_label_stack.
(expand_eh_region_end): Rethrow from outer_context here.
(expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
(expand_internal_throw): Take no args.
(expand_internal_throw_indirect): Lose.
(expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
(expand_start_all_catch): Start a rethrow region.
(expand_end_all_catch): End it.
(expand_rethrow): New fn.
* except.h: Reflect above changes.
cp/: * except.c (expand_end_catch_block): Lose rethrow region.
(expand_start_catch_block): Likewise.
(expand_end_catch_block): Don't expand_leftover_cleanups.
From-SVN: r16937
Jason Merrill [Thu, 4 Dec 1997 09:16:21 +0000 (04:16 -0500)]
tweak
From-SVN: r16936
Jeffrey A Law [Thu, 4 Dec 1997 07:26:05 +0000 (07:26 +0000)]
* i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
From-SVN: r16935
Jason Merrill [Thu, 4 Dec 1997 07:22:02 +0000 (02:22 -0500)]
update
From-SVN: r16934
Joern Rennecke [Wed, 3 Dec 1997 23:37:38 +0000 (23:37 +0000)]
Added some words on FLOAT_WORDS_BIG_ENDIAN.
From-SVN: r16932
Benjamin Kosnik [Wed, 3 Dec 1997 21:25:10 +0000 (21:25 +0000)]
pt.c (tsubst): Remove tree_cons call (places redundant info into DECL_TEMPLATE_INSTANTIATION).
* pt.c (tsubst): Remove tree_cons call (places redundant info into
DECL_TEMPLATE_INSTANTIATION).
From-SVN: r16931
Jason Merrill [Wed, 3 Dec 1997 20:29:19 +0000 (15:29 -0500)]
new
From-SVN: r16930
Jason Merrill [Wed, 3 Dec 1997 20:04:31 +0000 (20:04 +0000)]
except.c (expand_fixup_region_end): New fn.
* except.c (expand_fixup_region_end): New fn.
(expand_fixup_region_start): Likewise.
(expand_eh_region_start_tree): Store cleanup into finalization here.
* stmt.c (expand_cleanups): Use them to protect fixups.
From-SVN: r16929
Jason Merrill [Wed, 3 Dec 1997 19:46:56 +0000 (14:46 -0500)]
tree.c (is_overloaded_fn): Handle getting a fn template.
* tree.c (is_overloaded_fn): Handle getting a fn template.
(really_overloaded_fn): Likewise.
* error.c (dump_decl): Handle TEMPLATE_ID_EXPRs better.
* pt.c (check_explicit_specialization): Tweak.
(determine_explicit_specialization): Tweak.
* tree.c, cp-tree.h (get_target_expr): New fn.
1997-12-02 Mark Mitchell <mmitchell@usa.net>
* pt.c (determine_explicit_specialization): Avoid an internal
error for bad specializations.
* method.c (build_overload_value): Handle SCOPE_REF.
From-SVN: r16928
Gavin Koch [Wed, 3 Dec 1997 16:47:25 +0000 (16:47 +0000)]
mips.md (muldi3_r4000): Broaden the output template and attribute assignments to handle three operand...
* mips/mips.md (muldi3_r4000): Broaden the output template
and attribute assignments to handle three operand dmult;
rename to muldi3_internal2.
(muldi3): Call the new muldi3_internal2 for R4000, and
any GENERATE_MULT3 chip.
From-SVN: r16927
Jason Merrill [Wed, 3 Dec 1997 03:42:32 +0000 (03:42 +0000)]
* stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
From-SVN: r16896
Jason Merrill [Wed, 3 Dec 1997 03:37:17 +0000 (22:37 -0500)]
[multiple changes]
Tue Dec 2 19:18:50 1997 Mike Stump <mrs@wrs.com>
* class.c (prepare_fresh_vtable): Enable even more complex MI
vtable names.
Tue Dec 2 01:37:19 1997 Jason Merrill <jason@yorick.cygnus.com>
* exception.cc (__check_eh_spec): Optimize a bit.
* exception.cc (__cp_pop_exception): Lose handler arg.
* except.c (do_pop_exception): Likewise.
(push_eh_cleanup): Let the cleanup mechanism supply the handler.
(expand_end_catch_block): Likewise.
From-SVN: r16895
Jim Wilson [Tue, 2 Dec 1997 20:57:41 +0000 (20:57 +0000)]
Better fix for loop unrolling problem.
* unroll.c (find_splittable_givs): Remove last change. Handle givs
with a dest_reg that was created by loop.
From-SVN: r16893
Jeff Law [Tue, 2 Dec 1997 20:16:00 +0000 (13:16 -0700)]
More doc junk.
From-SVN: r16891
Jeffrey A Law [Tue, 2 Dec 1997 17:53:36 +0000 (17:53 +0000)]
Makefile.in (INSTALL_TARGET_CROSS): Define.
* Makefile.in (INSTALL_TARGET_CROSS): Define.
(install-cross, install-gcc-cross): New targets.
From-SVN: r16888
Jeff Law [Tue, 2 Dec 1997 17:01:35 +0000 (10:01 -0700)]
C9X draft.
From-SVN: r16885
Jeffrey A Law [Tue, 2 Dec 1997 16:54:03 +0000 (16:54 +0000)]
* Make-lang.in (f77.clean): Remove g77.c.
From-SVN: r16883