Commit Graph

14940 Commits

Author SHA1 Message Date
Jason Merrill
bb727b5ae3 [multiple changes]
Tue Nov 25 01:26:55 1997  Bruno Haible <haible@ilog.fr>:

	* dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.

Mon Nov 24 22:41:55 1997  Jason Merrill  <jason@yorick.cygnus.com>

	* except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
	* optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
	* expr.h: Likewise.

From-SVN: r16696
1997-11-25 04:30:38 -05:00
Jason Merrill
9b49329391 typeck.c (mark_addressable): Don't assume a FUNCTION_DECL has DECL_LANG_SPECIFIC.
* typeck.c (mark_addressable): Don't assume a FUNCTION_DECL
	has DECL_LANG_SPECIFIC.

From-SVN: r16695
1997-11-25 02:00:30 -05:00
Jason Merrill
20b9016983 exception.cc (struct cp_eh_info): Add handlers field.
* exception.cc (struct cp_eh_info): Add handlers field.
	(__cp_push_exception): Initialize it.
	(__cp_pop_exception): Decrement it.  Don't pop unless it's 0.
	(__throw_bad_exception): Remove.
	* except.c (call_eh_info): Add handlers field.
	(get_eh_handlers): New fn.
	(push_eh_cleanup): Increment handlers.

Fixes P15031.C, rethrow[45].C

From-SVN: r16694
1997-11-25 01:14:48 -05:00
Jeffrey A Law
c77289885d * Makefile.in: Use ln -f -s, not ln -s -f.
From-SVN: r16693
1997-11-24 14:41:29 -07:00
Jeff Law
a9f3e1a459 Doc fixes from stan.
From-SVN: r16691
1997-11-24 13:53:15 -07:00
Jeffrey A Law
ef85603ebd Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
* Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
        (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.

From-SVN: r16667
1997-11-22 00:55:18 -07:00
Manfred Hollstein
6aec4adf46 Makefile.in: Add --no-split argument to avoid creating files with names longer than 14...
* Makefile.in: Add --no-split argument to avoid creating files
	with names longer than 14 characters.

From-SVN: r16665
1997-11-21 20:36:36 -07:00
Manfred Hollstein
7b2f827617 Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to cope with filesystem not capable to handle...
* Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
	cope with filesystem not capable to handle names longer than
	14 characters.

From-SVN: r16664
1997-11-21 20:36:10 -07:00
Andrew Cagney
6cc1f5cbf4 patch from andrew cagney
* config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
 	TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
 	definition.

From-SVN: r16660
1997-11-21 14:23:26 -08:00
Bruno Haible
72eb10386d * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
From-SVN: r16654
1997-11-21 15:51:30 -05:00
Jason Merrill
6c20b7e97e except.c (expand_start_eh_spec): Use the try/catch code.
* except.c (expand_start_eh_spec): Use the try/catch code.
	(expand_end_eh_spec): Likewise.  Call __check_eh_spec instead of
	doing everything inline.
	(init_exception_processing): throw_type_match now takes
 	const void pointers.
	* exception.cc (__check_eh_spec): New fn.
	* inc/exception: Neither terminate nor unexpected return.
	* decl.c: Make const_ptr_type_node public.
	* tinfo2.cc (__throw_type_match_rtti): Take the typeinfos constly.

From-SVN: r16651
1997-11-21 15:29:06 -05:00
Jeff Law
d32ecec207 Fix typo.
From-SVN: r16649
1997-11-21 13:24:56 -07:00
Jason Merrill
25d5eb3f31 except.c (expand_start_catch_block): We only need the rethrow region for non-sjlj exceptions.
* except.c (expand_start_catch_block): We only need the rethrow
 	region for non-sjlj exceptions.
	(expand_end_catch_block): Likewise.  Use outer_context_label_stack.

From-SVN: r16648
1997-11-21 15:23:57 -05:00
Jason Merrill
1418bb67a3 except.h: Add outer_context_label_stack.
* except.h: Add outer_context_label_stack.
	* except.c: Likewise.
	(expand_start_all_catch): Push the outer_context for the try block
 	onto outer_context_label_stack.
	(expand_end_all_catch): Use it and pop it.

From-SVN: r16645
1997-11-21 15:20:41 -05:00
Fred Fish
e9295d5321 Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS to before override of CC so that the...
* Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
        to before override of CC so that the override works.

From-SVN: r16642
1997-11-21 10:21:34 -07:00
Robert Lipe
9dab78331a * i386/sco5.h (HAVE_ATEXIT): Revert last change.
From-SVN: r16641
1997-11-21 10:14:43 -07:00
Jeffrey A Law
83cfe7c011 config.guess (alpha stuff): Merge with FSF to avoid incorrect guesses.
* config.guess (alpha stuff): Merge with FSF to avoid incorrect
        guesses.

From-SVN: r16639
1997-11-21 10:07:04 -07:00
Jeff Law
ca20257b8d Initial revision
From-SVN: r16634
1997-11-21 04:46:43 -07:00
Jason Merrill
e03a602a7d tests
From-SVN: r16629
1997-11-20 23:05:13 -05:00
Richard Henderson
858e4e8cfd * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
From-SVN: r16627
1997-11-20 19:08:30 -07:00
Klaus Kaempf
a21d14e991 vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label to correspond with the change to...
* alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
        to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.

From-SVN: r16622
1997-11-20 16:36:55 -07:00
Jeffrey A Law
1b8b89f158 pa.md (pre_stwm, [...]): Base register is an in/out operand.
* pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
        is an in/out operand.
        (zero extended variants of stwm/stwm patterns): Similarly.

From-SVN: r16620
1997-11-20 16:21:45 -07:00
Jason Merrill
ced78d8b0c Makefile.in (LIB2FUNCS): Remove C++ memory management support.
./:	* Makefile.in (LIB2FUNCS): Remove C++ memory management support.
	* libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
	__builtin_delete, and __builtin_vec_delete.

	* except.c (output_exception_table): Don't bother with
 	__EXCEPTION_END__.

cp/:
	* Make-lang.in (CXX_LIB2FUNCS): Add new op new and op delete objs.
	(various.o): Likewise.
	* inc/new: Add placement deletes.  Add throw specs for default new.
	* new.cc (set_new_handler): Move here from libgcc2.
	* new1.cc (new (nothrow)): Catch a bad_alloc thrown from the handler.
	(new): Move from libgcc2.  Throw bad_alloc.
	* new2.cc: Move the rest of the op news and op deletes from libgcc2.
	* decl.c (init_decl_processing): Update exception specs on new and
	delete.

From-SVN: r16617
1997-11-20 18:17:48 -05:00
Jeffrey A Law
a09ff88bb3 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
From-SVN: r16616
1997-11-20 16:12:38 -07:00
Jason Merrill
047f64a30c method.c (build_decl_overload_real): Don't mess with global placement delete.
* method.c (build_decl_overload_real): Don't mess with global
	placement delete.

	* init.c (build_new): Check for null throw spec, not nothrow_t.

	* decl.c (duplicate_decls): Don't complain about different exceptions
	from an internal declaration.

	* call.c (build_op_delete_call): Fix check for member fns again.

	* decl2.c (import_export_decl): Interface hackery affects
	virtual synthesized methods.

From-SVN: r16612
1997-11-20 17:43:54 -05:00
Jason Merrill
7bb9fb0edf dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
* dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
	Use assemble_name.
	(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
	(output_call_frame_info): Emit a \n after using it.

From-SVN: r16609
1997-11-20 16:39:11 -05:00
Michael Meissner
72938a4c3a Add missing @item
From-SVN: r16597
1997-11-20 13:53:42 +00:00
H.J. Lu
dd5e269d22 * Make-lang.in (f77.install-info): Depend on f77.info.
From-SVN: r16595
1997-11-20 00:56:28 -07:00
Dave Love
9101297d83 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
From-SVN: r16593
1997-11-20 00:39:57 -07:00
Jason Merrill
f2d773a2fd decl.c (start_decl): Don't just complain about a mismatched scope, fix it.
* decl.c (start_decl): Don't just complain about a mismatched
	scope, fix it.

From-SVN: r16591
1997-11-19 23:43:53 -05:00
Jason Merrill
5951f637bc decl.c (make_implicit_typename): Handle case where t is not actually from context.
* decl.c (make_implicit_typename): Handle case where t is not
 	actually from context.
	* tree.c (get_type_decl): Lose identifier case.
	* spew.c (yylex): Lose useless call to identifer_typedecl_value.
	* parse.y (nonnested_type): Just use lookup_name.
	(complex_type_name): Just use IDENTIFIER_GLOBAL_VALUE.

Wed Nov 19 11:45:07 1997  Michael Tiemann  <tiemann@axon.cygnus.com>

	* error.c (dump_function_name): Test DECL_LANG_SPECIFIC in case
	T was built in C language context (for example, by
	output_func_start_profiler).

From-SVN: r16589
1997-11-19 23:07:26 -05:00
Michael Meissner
77643ab814 Add doc about SHORT_IMMEDIATES_SIGN_EXTEND
From-SVN: r16586
1997-11-19 22:20:01 +00:00
Philippe De Muyter
2ed2af28e4 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: r16584
1997-11-19 14:53:32 -05:00
Michael Meissner
f422e9a0f6 Size filler array smaller if STACK_SIZE is defined.
From-SVN: r16582
1997-11-19 19:36:18 +00:00
Jason Merrill
bd2a82a625 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: r16581
1997-11-19 13:42:13 -05:00
Jeff Law
8d31729fce New test.
From-SVN: r16578
1997-11-19 09:20:12 -07:00
J"orn Rennecke
4dff12bfa2 sh.md (attribute "type"): Add nil.
* sh.md (attribute "type"): Add nil.
        (movsi_ie): y/y alternative is type nil.
        (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
        alternatives.
        (movsf_ie+1): Delete.

From-SVN: r16575
1997-11-19 00:36:12 +00:00
Jim Wilson
218c2cdbed Fix gcc2 irix5 c-torture failures, EH/large frame errors
Fix gcc2 irix5 c-torture failures, EH/large frame errors
	* 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.  Add assert checking that
	cfa_reg is SP.

From-SVN: r16573
1997-11-18 15:42:00 -08:00
Jeff Law
15ec072935 Various changes from devo.
From-SVN: r16568
1997-11-18 12:36:21 -07:00
H.J. Lu
8677f9876b * stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.
From-SVN: r16567
1997-11-18 09:53:45 -07:00
Mumit Khan
68660571fc 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: r16565
1997-11-18 09:48:12 -07:00
Bruno Haible
8baa713c4f 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: r16558
1997-11-18 03:07:55 -05:00
Tom Tromey
d5b7936247 From Tom Tromey
* cccp.c (deps_output): Properly quote file names for make.

From-SVN: r16555
1997-11-17 15:41:05 -08:00
Jeffrey A Law
de1ea87ac2 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
From-SVN: r16553
1997-11-17 13:20:59 -07:00
Jason Merrill
37130ac372 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: r16551
1997-11-17 14:36:41 -05:00
Robert Lipe
cb0112a7f3 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
From-SVN: r16536
1997-11-16 23:54:20 -07:00
Jeffrey A Law
85c3ba60dd 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: r16534
1997-11-16 23:51:20 -07:00
J. Kean Johnston
9155d500fb 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: r16532
1997-11-16 23:01:57 -07:00
Manfred Hollstein
4931312c08 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: r16530
1997-11-16 22:46:29 -07:00
Jeffrey A Law
9671be8f8a * Makefile.in (SHLIB): Build with CC instead of CXX.
From-SVN: r16528
1997-11-16 22:41:36 -07:00