Jeff Law
dc994f8461
C9X draft.
...
From-SVN: r16885
1997-12-02 10:01:35 -07:00
Jeffrey A Law
561b3c6ad5
* Make-lang.in (f77.clean): Remove g77.c.
...
From-SVN: r16883
1997-12-02 09:54:03 -07:00
Jeff Law
fbdd9d76bf
From egcs release branch
...
From-SVN: r16867
1997-12-01 11:18:10 -07:00
Jeff Law
f45ebe4754
O Bring in changes from release branch (egcs_ss_971127).
...
From-SVN: r16866
1997-12-01 10:53:12 -07:00
Jeffrey A Law
7dfef6ed40
Bring in changes from release branch (egcs_ss_971127).
...
From-SVN: r16865
1997-12-01 10:45:00 -07:00
Jeffrey A Law
b4dfb70720
* configure.in: Fix NCR entries.
...
From-SVN: r16821
1997-11-28 10:04:14 -07:00
Jason Merrill
74cd8397f8
pt.c (check_explicit_specialization): Complain about using a template-id for a non-specialization.
...
* pt.c (check_explicit_specialization): Complain about using a
template-id for a non-specialization.
Fri Nov 28 01:56:35 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
* error.c (dump_decl): Handle TEMPLATE_ID_EXPR.
From-SVN: r16818
1997-11-28 05:30:44 -05:00
Jason Merrill
6a0d3671ed
fix
...
From-SVN: r16817
1997-11-28 05:28:34 -05:00
Jeff Law
2d2e705431
Grr. Used the wrong patchfile last time.
...
From-SVN: r16816
1997-11-27 21:42:28 -07:00
Jeffrey A Law
586a5f993a
flow.c (find_basic_blocks): Handle cfg issues for rethrows and nested exceptions correctly.
...
* flow.c (find_basic_blocks): Handle cfg issues for rethrows and
nested exceptions correctly.
From-SVN: r16812
1997-11-27 20:10:10 -07:00
Jason Merrill
c2840dfb8a
typeck.c (build_const_cast): Handle references here instead of handing off to convert_to_reference.
...
* typeck.c (build_const_cast): Handle references here instead of
handing off to convert_to_reference.
From-SVN: r16810
1997-11-27 17:18:28 -05:00
Jason Merrill
fb98cff689
except.c: Lose Unexpected, SetTerminate, SetUnexpected, TerminateFunctionCall.
...
* except.c: Lose Unexpected, SetTerminate, SetUnexpected,
TerminateFunctionCall.
(init_exception_processing): Likewise. Terminate et al are now
the fns, not ADDR_EXPRs.
(various): Lose redundant assemble_external calls.
(do_unwind): s/BuiltinReturnAddress/builtin_return_address_fndecl/.
From-SVN: r16805
1997-11-27 15:55:44 -05:00
Jason Merrill
77be6f8209
cp-tree.h (struct lang_decl_flags): Add comdat.
...
* cp-tree.h (struct lang_decl_flags): Add comdat.
(DECL_COMDAT): New macro.
* decl.c (duplicate_decls): Propagate it.
(cp_finish_decl): Handle it.
* decl2.c (import_export_decl): Just set DECL_COMDAT on VAR_DECLs.
From-SVN: r16804
1997-11-27 14:26:15 -05:00
Jeffrey A Law
80c2681c0a
unroll.c (find_splittable_givs): Don't split givs with a dest_reg that was created by loop.
...
* unroll.c (find_splittable_givs): Don't split givs with a dest_reg
that was created by loop.
From-SVN: r16803
1997-11-27 12:24:06 -07:00
Jason Merrill
aa59881828
class.c: Remove static pending_hard_virtuals.
...
* class.c: Remove static pending_hard_virtuals.
(add_virtual_function): Take pointers to pending_virtuals
and pending_hard_virtuals.
(finish_struct_1): Pass them. Declare pending_hard_virtuals.
From-SVN: r16787
1997-11-27 04:45:25 -05:00
Jeffrey A Law
0632562c8a
Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.
...
* Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.
* config.shared (gxx_includedir): Remove default definition.
* config/linux.mt: Change gxx_includedir to gxx_include_dir.
* config/linuxaxp1.mt: Likewise.
From-SVN: r16786
1997-11-27 01:39:12 -07:00
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