Commit Graph

14818 Commits

Author SHA1 Message Date
Jeffrey A Law
c30555846b * Makefile.in (install): Change gxx_includedir to gxx_include_dir.
From-SVN: r16785
1997-11-27 01:37:59 -07:00
Jeffrey A Law
96b0f1fc03 Makefile.in (INSTALL_TARGET): Do install-gcc first.
* Makefile.in (INSTALL_TARGET): Do install-gcc first.
        * configure (gxx_include_dir): Provide a definition for subdirs
        which do not use autoconf.

From-SVN: r16784
1997-11-27 01:37:03 -07:00
Jeff Law
93adf99417 New entry.
From-SVN: r16780
1997-11-27 00:31:04 -07:00
Jason Merrill
eb773359de decl2.c (import_export_vtable): If we support one_only but not weak symbols...
* decl2.c (import_export_vtable): If we support one_only but not
	weak symbols, mark instantiated template vtables one_only.
	(import_export_decl): Likewise for tinfo functions.
	(finish_vtable_vardecl): Also write out vtables from explicitly
	instantiated template classes.
	* pt.c (mark_class_instantiated): Revert last change.

From-SVN: r16779
1997-11-27 02:31:02 -05:00
Jason Merrill
e872bb7a78 except.c (expand_throw): Call mark_used on the destructor.
* except.c (expand_throw): Call mark_used on the destructor.

Fixes operator new on the PA.

From-SVN: r16773
1997-11-26 23:31:58 -05:00
Mark Mitchell
5ad5a5263d pt.c (unify): Handle `void' template parameters in specializations.
* pt.c (unify): Handle `void' template parameters in
	specializations.

From-SVN: r16772
1997-11-26 22:49:23 -05:00
Jeff Law
5f1a18f649 config.guess (alpha stuff): Merge with FSF to avoid incorrect guesses.
* config.guess (alpha stuff): Merge with FSF to avoid incorrect
        guesses.

From-SVN: r16770
1997-11-26 16:54:57 -07:00
Richard Henderson
20a2fbe20e configure.in (target frags): Add powerpc*-linux-gnulibc1.
* configure.in (target frags): Add powerpc*-linux-gnulibc1.
        (stdio-lock): Similarly.

        * configure.in (target frags): Add alpha*-linux-gnulibc1.
        (pic frags): Its alpha*- not alpha-.
        (stdio-lock): Kill everything.  Add alpha*-linux-gnulibc1.
        * libio.h: Check __GLIBC_MINOR__ to find stdio-lock.h.  If not
        _IO_MTSAFE_IO & GLIBC, make sure the lock pointer is still there.
        * libioP.h: Check __GLIBC_MINOR__ to find libc-lock.h.

        * config/linuxaxp1-libc-lock.h: New file.
        * config/linuxaxp1-stdio-lock.h: New file.
        * config/linuxaxp1.mt: New file.

        * gen-params (va_list): Check for and use __gnuc_va_list.
        (NULL): Work around some linux kernel headers and redefine NULL.

From-SVN: r16769
1997-11-26 16:54:30 -07:00
Michael Meissner
8fbd2dc7cb Fix -msdata=sysv and pass -dynamic-linker if not already passed
From-SVN: r16768
1997-11-26 23:16:39 +00:00
Michael Meissner
a226df4686 Use @local for local calls under System V
From-SVN: r16765
1997-11-26 22:59:52 +00:00
Michael Meissner
034e84c4a5 Fix System V profiling.
From-SVN: r16756
1997-11-26 21:04:33 +00:00
Michael Meissner
92dcf4c851 Pass 9th fp argument correctly on System V/eabi; Add @plt for -fPIC/-mrelocatable
From-SVN: r16746
1997-11-26 19:29:38 +00:00
Jason Merrill
33e5c8c3ae * toplev.c (main): Complain about -gdwarfn.
From-SVN: r16742
1997-11-26 14:13:02 -05:00
Jason Merrill
328d03d794 rtti.c (build_dynamic_cast): Handle template case here.
* rtti.c (build_dynamic_cast): Handle template case here.
	(build_dynamic_cast_1): Not here.

From-SVN: r16729
1997-11-26 05:14:51 -05:00
Jason Merrill
19754d4cf6 typeck2.c (digest_init): Make copies where appropriate.
* typeck2.c (digest_init): Make copies where appropriate.

	* decl2.c (delete_sanity): resolve_offset_ref.

From-SVN: r16727
1997-11-26 04:56:56 -05:00
Jason Merrill
92f5c1350c except.c (expand_start_catch_block): Fix catching a reference to pointer.
* except.c (expand_start_catch_block): Fix catching a reference
	to pointer.

	* init.c (build_new): Copy size to the saveable obstack.

	* init.c (build_new): Stick a CLEANUP_POINT_EXPR inside the
 	TRY_CATCH_EXPR for now.

From-SVN: r16726
1997-11-26 04:15:09 -05:00
Jason Merrill
f47448072a integrate.c (output_inline_function): Just unset DECL_INLINE.
* integrate.c (output_inline_function): Just unset DECL_INLINE.

Tue Nov 25 23:33:29 1997  scott snyder  <snyder@d0sgif.fnal.gov>

	* dwarf2out.c (outout_call_frame_info): Ensure that the info has
	proper alignment.

	* libgcc2.c (__throw): Initialize HANDLER.

From-SVN: r16724
1997-11-26 02:38:08 -05:00
Jason Merrill
f4f3e8fdf7 London changes to string:
* std/bastring.cc (check_realloc): Don't be selfish anymore.
	* std/bastring.h (non-const operator[]): Be selfish.
	(iterator forms of insert and erase): Stay selfish.

From-SVN: r16722
1997-11-26 02:19:11 -05:00
Jeff Law
11df6ae767 Fix typo.
From-SVN: r16720
1997-11-25 22:13:31 -07:00
Jeff Law
ba7d807a72 Fix goof.
From-SVN: r16718
1997-11-25 20:37:34 -07:00
Jeff Law
887c886b51 Fix from HJ.
From-SVN: r16716
1997-11-25 16:34:33 -07:00
Jeffrey A Law
6ba2ab5ff0 Make-lang.in (f77.all.build): Add $(exeext) to binary files.
* Make-lang.in (f77.all.build): Add $(exeext) to binary files.
        (f77.all.cross, f77.start.encap): Simliarly.

From-SVN: r16714
1997-11-25 16:32:19 -07:00
Jeff Law
18237274ca New entry.
From-SVN: r16712
1997-11-25 16:29:09 -07:00
Kate Hedstrom
10de6d35ba * lib/f-torture.exp: Improve error and loop detection.
From-SVN: r16711
1997-11-25 16:17:56 -07:00
Jeff Law
d674953288 xfail a couple tests for the release.
[[Split portion of a mixed commit.]]

From-SVN: r16709.2
1997-11-25 15:31:27 -07:00
H.J. Lu
6ec3cb8413 Makefile.in (stmp-complex, [...]): Changed to xxxx-complx.
* Makefile.in (stmp-complex, bigstmp-complex): Changed to
        xxxx-complx.

From-SVN: r16705
1997-11-25 14:02:19 -07:00
Richard Henderson
c905c10870 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
From-SVN: r16703
1997-11-25 13:54:43 -07:00
Jeffrey A Law
5041a61cfc * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
From-SVN: r16698
1997-11-25 11:55:32 -07:00
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