Richard Henderson [Mon, 13 Oct 1997 18:09:13 +0000 (11:09 -0700)]
Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
* Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
* g77spec.c: New file, mostly copied from g++spec.c
* g77.c: Removed.
From-SVN: r15893
Jeff Law [Mon, 13 Oct 1997 16:03:04 +0000 (10:03 -0600)]
Bring over from devo.
From-SVN: r15892
Doug Evans [Fri, 10 Oct 1997 22:33:24 +0000 (22:33 +0000)]
(INCOMING_RETURN_ADDR_RTX,INCOMING_FRAME_SP_OFFSET): Move definitions
to a more sane place.
From-SVN: r15891
Doug Evans [Fri, 10 Oct 1997 20:49:12 +0000 (20:49 +0000)]
* sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
From-SVN: r15890
Doug Evans [Fri, 10 Oct 1997 20:48:55 +0000 (20:48 +0000)]
configure.in: Handle --with-newlib.
* configure.in: Handle --with-newlib.
* Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
* sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
From-SVN: r15889
Jason Merrill [Fri, 10 Oct 1997 19:22:04 +0000 (19:22 +0000)]
* pt.c (instantiate_decl): Fix previous change.
From-SVN: r15888
Jason Merrill [Fri, 10 Oct 1997 07:44:56 +0000 (07:44 +0000)]
bastring.h: Use ibegin internally.
* std/bastring.h: Use ibegin internally. Return passed iterator
instead of recalculating it were appropriate.
* std/bastring.cc: Adjust for erase.
From Yotam Medini:
* std/bastring.h: Replace remove with erase.
From-SVN: r15887
Jason Merrill [Fri, 10 Oct 1997 07:43:28 +0000 (07:43 +0000)]
* tstring.cc (identitytest): s/remove/erase/.
From-SVN: r15886
Jason Merrill [Fri, 10 Oct 1997 06:56:56 +0000 (06:56 +0000)]
stdexcepti.cc (__out_of_range): New fn.
* stdexcepti.cc (__out_of_range): New fn.
(__length_error): New fn.
* std/bastring.h (OUTOFRANGE): Fix logic. Use throwing functions.
(LENGTHERROR): Likewise.
Revert Oct 2 changes.
* string: Revert Oct 2 changes.
* std/{f,d,ld}complex.h: Replace guiding fns if not -ansi.
From-SVN: r15885
Brendan Kehoe [Fri, 10 Oct 1997 01:18:29 +0000 (21:18 -0400)]
add GPL comment at the top
From-SVN: r15884
Brendan Kehoe [Fri, 10 Oct 1997 00:05:55 +0000 (20:05 -0400)]
add an initial very rough description of how `explicit' is handled
From-SVN: r15883
Jason Merrill [Thu, 9 Oct 1997 19:13:22 +0000 (19:13 +0000)]
pt.c (tsubst): Fix thinko.
* pt.c (tsubst): Fix thinko.
(instantiate_decl): Really use the original template.
* call.c (build_new_method_call): Use simple constructor_name for
error messages.
From-SVN: r15882
Jeffrey A Law [Thu, 9 Oct 1997 04:45:14 +0000 (04:45 +0000)]
method.c (build_underscore_int): Don't use ANSI specific features.
* method.c (build_underscore_int): Don't use ANSI specific
features.
From-SVN: r15881
Jeffrey A Law [Wed, 8 Oct 1997 20:37:08 +0000 (20:37 +0000)]
Fix typo.
From-SVN: r15880
Jeffrey A Law [Wed, 8 Oct 1997 14:55:00 +0000 (14:55 +0000)]
* version.c: Bump for snapshot.
From-SVN: r15878
Jason Merrill [Wed, 8 Oct 1997 07:19:53 +0000 (07:19 +0000)]
decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN for our key method; it might have been inlined by -O3.
* decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN
for our key method; it might have been inlined by -O3.
From-SVN: r15877
Jason Merrill [Wed, 8 Oct 1997 06:04:28 +0000 (02:04 -0400)]
[multiple changes]
Tue Oct 7 23:00:12 1997 Mark Mitchell <mmitchell@usa.net>
* decl.c (make_typename_type): Do not try to call lookup_field for
non-aggregate types.
Tue Oct 7 22:52:10 1997 Jason Merrill <jason@yorick.cygnus.com>
* typeck.c (build_reinterpret_cast): Tweak.
Tue Oct 7 22:45:31 1997 Alexandre Oliva <oliva@dcc.unicamp.br>
* typeck.c (build_reinterpret_cast): converting a void pointer
to function pointer with a reinterpret_cast produces a warning
if -pedantic is issued
Tue Oct 7 22:43:43 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
* typeck.c (c_expand_return): Don't warn about returning a
reference-type variable as a reference.
From-SVN: r15876
Jeff Law [Wed, 8 Oct 1997 05:23:19 +0000 (23:23 -0600)]
One more thinko.
From-SVN: r15875
Jeff Law [Wed, 8 Oct 1997 05:18:17 +0000 (23:18 -0600)]
Fix thinko in last change.
From-SVN: r15874
Jason Merrill [Wed, 8 Oct 1997 04:26:17 +0000 (00:26 -0400)]
method.c (build_static_name): Fix typo.
* method.c (build_static_name): Fix typo.
1997-10-07 Brendan Kehoe <brendan@lisa.cygnus.com>
* decl.c (duplicate_decls): Make sure DECL_LANG_SPECIFIC is set on
OLDDECL before we try to do DECL_USE_TEMPLATE.
From-SVN: r15873
Richard Henderson [Wed, 8 Oct 1997 00:20:24 +0000 (17:20 -0700)]
Makefile.in (CGFLAGS): Don't force -g0.
* Makefile.in (CGFLAGS): Don't force -g0.
* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in: Likewise.
From-SVN: r15872
Jeff Law [Tue, 7 Oct 1997 23:21:42 +0000 (17:21 -0600)]
Undo last incorrect change.
From-SVN: r15871
Jeff Law [Tue, 7 Oct 1997 22:41:18 +0000 (16:41 -0600)]
Remove include of <std>
From-SVN: r15870
Manfred Hollstein [Tue, 7 Oct 1997 22:38:40 +0000 (22:38 +0000)]
cp-tree.h (JOINER): Define to '_' if no '$' or '.' characters are allowed.
* cp-tree.h (JOINER): Define to '_' if no '$' or '.' characters
are allowed.
From-SVN: r15869
Manfred Hollstein [Tue, 7 Oct 1997 22:26:56 +0000 (22:26 +0000)]
aclocal.m4: Substitute INSTALL.
* aclocal.m4: Substitute INSTALL.
* configure: Re-built.
From-SVN: r15868
Jeff Law [Tue, 7 Oct 1997 22:20:35 +0000 (16:20 -0600)]
Handle std.h -> std rename.
From-SVN: r15867
Jeffrey A Law [Tue, 7 Oct 1997 21:43:02 +0000 (21:43 +0000)]
integrate.c (save_for_inline_copying): Avoid undefined pointer operations.
* integrate.c (save_for_inline_copying): Avoid undefined pointer
operations.
(expand_inline_function): Likewise.
From-SVN: r15866
Jeffrey A Law [Tue, 7 Oct 1997 21:35:54 +0000 (21:35 +0000)]
dwarf2out.c (output_call_frame_info): Reinstate last change using flag_debug_asm check instead of flag_verbose_asm.
* dwarf2out.c (output_call_frame_info): Reinstate last change
using flag_debug_asm check instead of flag_verbose_asm.
From-SVN: r15865
Jim Wilson [Tue, 7 Oct 1997 19:58:36 +0000 (19:58 +0000)]
Remove incorrect change from Manfred Hollstein.
* dwarf2out.c (output_call_frame_info): Remove last change.
From-SVN: r15864
Andreas Schwab [Tue, 7 Oct 1997 18:42:54 +0000 (18:42 +0000)]
frame.c (__frame_state_for): Execute the FDE insns until the current pc value is strictly bigger than the...
* frame.c (__frame_state_for): Execute the FDE insns until the
current pc value is strictly bigger than the target pc value.
From-SVN: r15863
Jason Merrill [Tue, 7 Oct 1997 18:36:48 +0000 (18:36 +0000)]
regclass.c (init_reg_modes): If we can't find a mode for the register, use the previous one.
* regclass.c (init_reg_modes): If we can't find a mode for the
register, use the previous one.
From-SVN: r15862
Jason Merrill [Tue, 7 Oct 1997 18:04:33 +0000 (18:04 +0000)]
* toplev.c (rest_of_compilation): Defer all non-nested inlines.
From-SVN: r15861
Jeff Law [Tue, 7 Oct 1997 17:15:27 +0000 (11:15 -0600)]
REG_BR_PRED docs.
From-SVN: r15860
Richard Henderson [Tue, 7 Oct 1997 16:53:16 +0000 (09:53 -0700)]
haifa-sched.c (print_block_visualization): Call fprintf directly, don't sprintf through an alloca'ed buffer.
* haifa-sched.c (print_block_visualization): Call fprintf directly,
don't sprintf through an alloca'ed buffer.
From-SVN: r15859
Thomas Koenig [Tue, 7 Oct 1997 16:50:13 +0000 (16:50 +0000)]
* reload.c (decompose): Always initialize val.base.
From-SVN: r15858
Manfred Hollstein [Tue, 7 Oct 1997 16:22:48 +0000 (16:22 +0000)]
man.c (SIGCHLD): Define to SIGCLD if <sys/signal.h> fails to provide it.
* info/man.c (SIGCHLD): Define to SIGCLD if <sys/signal.h>
fails to provide it.
From-SVN: r15857
Manfred Hollstein [Tue, 7 Oct 1997 16:20:44 +0000 (16:20 +0000)]
mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment instead of aborting.
* m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
instead of aborting.
* dwarf2out.c (output_call_frame_info): Call app_enable and
app_disable to let GNU as accept the generated comments.
From-SVN: r15856
Michael Meissner [Tue, 7 Oct 1997 16:07:46 +0000 (16:07 +0000)]
Declare get_file_function_name
From-SVN: r15855
Chip Salzenberg [Tue, 7 Oct 1997 15:59:26 +0000 (15:59 +0000)]
Makefile.in (program_transform_name): Let autoconf substitute the correct value.
* Makefile.in (program_transform_name): Let autoconf substitute
the correct value.
From-SVN: r15854
Jeffrey A Law [Tue, 7 Oct 1997 15:52:32 +0000 (15:52 +0000)]
haifa-sched.c (schedule_block): If the first real insn in a block has any special notes attached to it, remove them.
* haifa-sched.c (schedule_block): If the first real insn in a
block has any special notes attached to it, remove them.
Fixes bug reported by Weiwen Liu.
From-SVN: r15853
Richard Henderson [Tue, 7 Oct 1997 15:45:43 +0000 (08:45 -0700)]
* alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
From-SVN: r15852
Jason Merrill [Tue, 7 Oct 1997 07:50:21 +0000 (03:50 -0400)]
decl.c (duplicate_decls): Don't warn about template instances.
* decl.c (duplicate_decls): Don't warn about template instances.
* typeck.c (mark_addressable): Lose ancient code that unsets
DECL_EXTERNAL.
* pt.c (do_decl_instantiation): Lose support for instantiating
non-templates.
* call.c (build_new_function_call): Fix handling of null explicit
template args.
(build_new_method_call): Likewise.
Mon Oct 6 23:44:34 1997 Mark Mitchell <mmitchell@usa.net>
* method.c (build_underscore_int): Fix typo.
From-SVN: r15851
Brendan Kehoe [Tue, 7 Oct 1997 00:08:46 +0000 (20:08 -0400)]
add missing tests, put in various test adjustments from devo
From-SVN: r15850
Brendan Kehoe [Mon, 6 Oct 1997 21:09:49 +0000 (17:09 -0400)]
tree.c (print_lang_statistics): #if 0 call to print_inline_obstack_statistics until its definition is checked in.
* tree.c (print_lang_statistics): #if 0 call to
print_inline_obstack_statistics until its definition is checked in.
the definition of the fn's not checked in yet by jason
From-SVN: r15849
Brendan Kehoe [Mon, 6 Oct 1997 21:09:23 +0000 (17:09 -0400)]
tree.c (print_lang_statistics): #if 0 call to print_inline_obstack_statistics until its definition is checked in.
* tree.c (print_lang_statistics): #if 0 call to
print_inline_obstack_statistics until its definition is checked in.
the definition of the fn's not checked in yet by jason
From-SVN: r15848
Jeffrey A Law [Mon, 6 Oct 1997 20:14:47 +0000 (20:14 +0000)]
* Makefile.in (distclean): Do a better job at cleaning up.
From-SVN: r15847
Jeffrey A Law [Mon, 6 Oct 1997 20:13:30 +0000 (20:13 +0000)]
Make-lang.in (f77.mostlyclean): Clean up stuff in the object tree too.
* Make-lang.in (f77.mostlyclean): Clean up stuff in the
object tree too.
(f77.clean, f77.distclean, f77.maintainer-clean): Likewise.
From-SVN: r15846
Manfred Hollstein [Mon, 6 Oct 1997 18:45:32 +0000 (18:45 +0000)]
* m88k.c (m88k_begin_prologue): Remove superfluous backslash.
From-SVN: r15845
Jeff Law [Mon, 6 Oct 1997 18:08:35 +0000 (12:08 -0600)]
Initial revision
From-SVN: r15841
Jeffrey A Law [Mon, 6 Oct 1997 18:02:25 +0000 (18:02 +0000)]
Makefile.in (check-g77): New test target.
* Makefile.in (check-g77): New test target.
(CHECK-TARGETS): Add check-g77.
From-SVN: r15840
Jeffrey A Law [Mon, 6 Oct 1997 18:00:04 +0000 (18:00 +0000)]
* lib/g77.exp, lib/f-torture.exp: New files.
From-SVN: r15839
Jason Merrill [Mon, 6 Oct 1997 16:37:44 +0000 (16:37 +0000)]
pt.c (instantiate_decl): Look for the original template.
Mon Oct 6 09:27:29 1997 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (instantiate_decl): Look for the original template.
(tsubst): Set DECL_IMPLICIT_INSTANTIATION on partial instantiations
of member templates.
Fixes tstring.
From-SVN: r15838
Michael Meissner [Fri, 3 Oct 1997 19:51:50 +0000 (19:51 +0000)]
Cast alloca return value for char *
From-SVN: r15837
Jason Merrill [Fri, 3 Oct 1997 17:14:05 +0000 (13:14 -0400)]
iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if.
* iostream.cc, libio.h: Convert other uses of #ifdef
_G_HAVE_PRINTF_FP to #if.
From-SVN: r15836
Richard Henderson [Fri, 3 Oct 1997 04:15:56 +0000 (21:15 -0700)]
Patch from Richard Henderson to make __builtin_return_address(0) work.
* i386.h (RETURN_ADDR_RTX): New definition that works for
__builtin_return_address(0) and -fomit-frame-pointer.
From-SVN: r15835
Brendan Kehoe [Thu, 2 Oct 1997 22:52:19 +0000 (22:52 +0000)]
iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
... since it comes in defined, either 0 or 1
From-SVN: r15834
Jason Merrill [Thu, 2 Oct 1997 17:39:40 +0000 (13:39 -0400)]
[multiple changes]
Thu Oct 2 10:36:49 1997 Jason Merrill <jason@yorick.cygnus.com>
* gen-params: Fix __printf_fp test.
* config/linuxlibc1.mt (gxx_includedir): Don't define.
Thu Oct 2 10:36:26 1997 Ulrich Drepper <drepper@rtl.cygnus.com>
* config/linuxlibc1.mt (_G_CONFIG_H): Don't define.
* gen-params: Add test for __printf_fp.
Getting closer...
From-SVN: r15833
Jason Merrill [Thu, 2 Oct 1997 17:26:16 +0000 (17:26 +0000)]
bastring.h: Move exception stuff after definition of string.
* std/bastring.h: Move exception stuff after definition of string.
Move typedef of string here.
* string: From here.
From-SVN: r15832
Jim Wilson [Wed, 1 Oct 1997 20:49:25 +0000 (20:49 +0000)]
Fix 961223-1.c irix6 c-torture failure.
* mips.c (function_arg): Handle passing a struct
containing a double in a DFmode register without the PARALLEL.
From-SVN: r15830
Jason Merrill [Wed, 1 Oct 1997 17:56:23 +0000 (13:56 -0400)]
tweak
From-SVN: r15828
Jason Merrill [Wed, 1 Oct 1997 17:50:03 +0000 (17:50 +0000)]
Makefile.in (g++FAQ.*): New rules.
* Makefile.in (g++FAQ.*): New rules.
(CONFLICTS): Update.
* g++FAQ.texi: Moved from libg++.
* parse.y (PFUNCNAME): Only specify the type once.
From-SVN: r15827
Brendan Kehoe [Wed, 1 Oct 1997 16:56:13 +0000 (16:56 +0000)]
lex.c (real_yylex): Clean up the code to fully behave the way the c-lex.c parser does for complex...
* lex.c (real_yylex): Clean up the code to fully behave the way
the c-lex.c parser does for complex and real numbers.
From-SVN: r15826
Ian Lance Taylor [Wed, 1 Oct 1997 15:15:06 +0000 (15:15 +0000)]
pexecute.c: Use spawn if __CYGWIN32__.
* pexecute.c: Use spawn if __CYGWIN32__.
* pexecute.c: Include "config.h" first, as per autoconf manual
(from Paul Eggert <eggert@twinsun.com>).
From-SVN: r15825
Jeff Law [Wed, 1 Oct 1997 13:52:31 +0000 (07:52 -0600)]
Fix typo.
From-SVN: r15824
Philippe De Muyter [Wed, 1 Oct 1997 07:43:22 +0000 (09:43 +0200)]
sys_clock_.c: File renamed from system_clock_.c.
* libU77/sys_clock_.c: File renamed from system_clock_.c.
libU77/Makefile.in, Makefile.in : Reference sys_clock_.*, not
system_clock_.*.
* libU77/dtime_.c (clk_tck): Try also HZ macro.
* libU77/access.c (G77_access_0): Check malloc return value against 0,
not NULL.
libU77/getlog_.c, libU77/ttynam_.c, libU77/chdir_.c: Ditto.
libU77/chmod_.c, libU77/rename_.c: Ditto.
From-SVN: r15821
Philippe De Muyter [Wed, 1 Oct 1997 07:42:36 +0000 (01:42 -0600)]
* g77.c (pexecute, main): Use unlink, not remove.
From-SVN: r15820
Philippe De Muyter [Wed, 1 Oct 1997 07:41:57 +0000 (09:41 +0200)]
x-mot3300 (XCFLAGS): Disable as's long/short jump optimisation for f/expr.o and f/stb.o.
* config/m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
optimisation for f/expr.o and f/stb.o.
From-SVN: r15819
Jeff Law [Wed, 1 Oct 1997 07:28:03 +0000 (01:28 -0600)]
Update to 0.5.22-
19970929.
From-SVN: r15818
Thomas Koenig [Wed, 1 Oct 1997 06:22:46 +0000 (06:22 +0000)]
* cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
From-SVN: r15817
Jeffrey A Law [Wed, 1 Oct 1997 05:46:27 +0000 (05:46 +0000)]
* cse.c (this_insn_cc0_mode): Initialize.
From-SVN: r15816
Thomas Koenig [Wed, 1 Oct 1997 05:08:31 +0000 (05:08 +0000)]
* haifa-sched.c: (get_block_head_tail) Remove unneeded initialization.
From-SVN: r15815
Richard Henderson [Wed, 1 Oct 1997 05:04:30 +0000 (22:04 -0700)]
alpha.md (beq): For registers and ints 0-255...
* alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
that pair will dual-issue on the 21164 and plus+beq won't.
(bne): Likewise for cmpeq+beq.
From-SVN: r15814
Jim Wilson [Tue, 30 Sep 1997 23:15:58 +0000 (23:15 +0000)]
Fix error in immediately preceeding patch.
* except.c (find_exception_handler_labels): Correct argument to free.
From-SVN: r15812
Brendan Kehoe [Tue, 30 Sep 1997 19:15:20 +0000 (15:15 -0400)]
adjust date to be the old form, instead of the emacs 20.x shortened style,
for now.
From-SVN: r15811
Brendan Kehoe [Tue, 30 Sep 1997 18:25:09 +0000 (18:25 +0000)]
except.c (find_exception_handler_labels): Free LABELS when we're done.
* except.c (find_exception_handler_labels): Free LABELS when we're
done.
fixes memory leak
From-SVN: r15808
Jason Merrill [Tue, 30 Sep 1997 17:49:34 +0000 (13:49 -0400)]
add -Wold-style-cast
From-SVN: r15807
Jason Merrill [Tue, 30 Sep 1997 17:47:48 +0000 (13:47 -0400)]
revert gratuitous whitespace changes
From-SVN: r15806
Jason Merrill [Tue, 30 Sep 1997 15:53:04 +0000 (15:53 +0000)]
* method.c (build_decl_overload_real): Reformat.
From-SVN: r15804
Jason Merrill [Tue, 30 Sep 1997 07:20:00 +0000 (07:20 +0000)]
* method.c (synthesize_method): If at_eof, determine our linkage.
From-SVN: r15803
Paul Eggert [Tue, 30 Sep 1997 05:32:19 +0000 (05:32 +0000)]
lex.c (real_yylex): Treat `$' just like `_'...
1997-09-29 Paul Eggert <eggert@twinsun.com>
* lex.c (real_yylex): Treat `$' just like `_', except issue a
diagnostic if !dollars_in_ident or if pedantic.
* lang-specs.h (@c++): -ansi no longer implies -$.
* decl2.c (lang_decode_option):
-traditional and -ansi now do not mess with
dollars_in_ident.
From-SVN: r15802
H.J. Lu [Tue, 30 Sep 1997 03:36:39 +0000 (03:36 +0000)]
Makefile.in (parse.o, decl.o): Also depend on $(srcdir)/../except.h $(srcdir)/../output.h.
Mon Sep 29 19:57:51 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* Makefile.in (parse.o, decl.o): Also depend on
$(srcdir)/../except.h $(srcdir)/../output.h.
(decl2.o): Also depend on $(srcdir)/../expr.h ../insn-codes.h
$(srcdir)/../except.h $(srcdir)/../output.h.
(typeck.o, init.o): Also depend on $(srcdir)/../expr.h
../insn-codes.h.
* call.c, cp-tree.h, decl.c, tree.c: Finish prototyping.
* expr.c (cplus_expand_expr): Make it static.
* decl2.c, init.c, typeck.c: Include "expr.h".
(expand_expr): Use proper values when calling the function.
From-SVN: r15801
Jeffrey A Law [Mon, 29 Sep 1997 20:02:27 +0000 (20:02 +0000)]
* version.c: Bump for snapshot.
From-SVN: r15795
Jason Merrill [Mon, 29 Sep 1997 19:05:04 +0000 (15:05 -0400)]
[multiple changes]
Mon Sep 29 11:05:54 1997 Alexandre Oliva <oliva@dcc.unicamp.br>
* lang-options.h: new -Wold-style-cast flag.
* cp-tree.h (warn_old_style_cast): new variable.
* decl2.c (warn_old_style_cast): ditto.
(lang_decode_option): support -Wold-style-cast.
(reparse_absdcl_as_casts): produce old-style-cast warning.
Mon Sep 29 09:20:53 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* decl.c (cp_finish_decl): Allow expand_aggr_init to set
TREE_USED, reset value based on already_used.
* init.c (expand_member_init): Revert change.
From-SVN: r15793
Jason Merrill [Mon, 29 Sep 1997 16:49:57 +0000 (16:49 +0000)]
flow.c (find_basic_blocks): Mark calls as potentially jumping to the EH labels.
* flow.c (find_basic_blocks): Mark calls as potentially jumping
to the EH labels.
From-SVN: r15792
Jeffrey A Law [Mon, 29 Sep 1997 16:35:19 +0000 (16:35 +0000)]
* intdoc.c (main): Remove unused attribute for main's arguments.
From-SVN: r15791
Jason Merrill [Mon, 29 Sep 1997 16:08:34 +0000 (16:08 +0000)]
cp-tree.h, [...]: Lose DECL_C_STATIC and DECL_PUBLIC.
* cp-tree.h, decl.c, decl2.c, pt.c:
Lose DECL_C_STATIC and DECL_PUBLIC. Don't pretend statics are public.
* decl2.c (lang_decode_option): Add missing ;.
From-SVN: r15789
Jeffrey A Law [Mon, 29 Sep 1997 16:00:50 +0000 (16:00 +0000)]
configure.in: Substitute for "install" too.
* configure.in: Substitute for "install" too.
* configure: Rebuilt.
From-SVN: r15788
Aaron Jackson [Mon, 29 Sep 1997 06:37:11 +0000 (06:37 +0000)]
Makefile.in (bootstrap-lean): New target.
* Makefile.in (bootstrap-lean): New target.
* gcc/Makefile.in (bootstrap-lean, compare-lean): New targets.
From-SVN: r15786
Richard Henderson [Mon, 29 Sep 1997 06:21:18 +0000 (23:21 -0700)]
alias.c (base_alias_check): Two symbols can conflict if they are accessed via AND.
* alias.c (base_alias_check): Two symbols can conflict if they
are accessed via AND.
(memrefs_conflict_p): Likewise.
From-SVN: r15785
Richard Henderson [Mon, 29 Sep 1997 06:18:28 +0000 (23:18 -0700)]
alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn after flushing argument registers to the stack.
* alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
after flushing argument registers to the stack.
From-SVN: r15784
Richard Henderson [Mon, 29 Sep 1997 06:16:21 +0000 (23:16 -0700)]
* Makefile.in (mostlyclean): Remove .regmove files.
From-SVN: r15783
Jason Merrill [Mon, 29 Sep 1997 02:02:26 +0000 (02:02 +0000)]
* libgcc2.c (__throw): Fix thinko.
From-SVN: r15781
Mark Mitchell [Sun, 28 Sep 1997 19:59:54 +0000 (19:59 +0000)]
cplus-dem.c (demangle_template): Add new parameter.
Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
* cplus-dem.c (demangle_template): Add new parameter. Handle new
template-function mangling.
(consume_count_with_underscores): New function.
(demangle_signature): Handle new name-mangling scheme.
From-SVN: r15780
Mark Mitchell [Sun, 28 Sep 1997 19:37:05 +0000 (19:37 +0000)]
cplus-dem.c (demangle_template): Add new parameter.
Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
* cplus-dem.c (demangle_template): Add new parameter. Handle new
template-function mangling.
(consume_count_with_underscores): New function.
(demangle_signature): Handle new name-mangling scheme.
From-SVN: r15778
Jason Merrill [Sun, 28 Sep 1997 19:26:50 +0000 (15:26 -0400)]
new tests and adjustments for explicit function template qualification
From-SVN: r15777
Jason Merrill [Sun, 28 Sep 1997 19:21:52 +0000 (15:21 -0400)]
[multiple changes]
Sat Sep 27 16:48:00 1997 Jason Merrill <jason@yorick.cygnus.com>
* std/complext.h: Lose injection decls.
* std/fcomplex.h: Likewise.
* std/dcomplex.h: Likewise.
* std/ldcomplex.h: Likewise.
Sat Sep 27 16:47:35 1997 Mark Mitchell <mmitchell@usa.net>
* std/complext.h: Declare templates before making them
friends. Use new friend <> syntax.
* std/complext.cc: Don't rely on guiding declarations.
* std/fcomplex.h: Use new friend <> syntax.
* std/dcomplex.h: Likewise.
* std/ldcomplex.h: Likewise.
From-SVN: r15776
Mark Mitchell [Sun, 28 Sep 1997 19:18:16 +0000 (19:18 +0000)]
iomanip.h: Use new friend <> syntax.
Sun Sep 28 12:09:04 1997 Mark Mitchell <mmitchell@usa.net>
* iomanip.h: Use new friend <> syntax.
From-SVN: r15775
Jason Merrill [Sun, 28 Sep 1997 19:16:59 +0000 (15:16 -0400)]
[multiple changes]
Sat Sep 27 16:22:48 1997 Jason Merrill <jason@yorick.cygnus.com>
* friend.c (do_friend): Disable injection for all template-derived
decls.
* decl2.c (lang_decode_option): Handle -fguiding-decls.
* parse.y (notype_template_declarator): New nonterminal.
(direct_notype_declarator): Use it.
(complex_direct_notype_declarator): Likewise.
(object_template_id): Accept any kind of identifier after TEMPLATE.
(notype_qualified_id): Don't add template declarators here.
Sat Sep 27 16:21:58 1997 Mark Mitchell <mmitchell@usa.net>
* call.c (add_template_candidate): Add explicit_targs parameter.
(build_scoped_method_call): Use it.
(build_overload_call_real): Likewise.
(build_user_type_conversion_1): Likewise.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
(build_new_function_call): Handle TEMPLATE_ID_EXPR.
(build_new_method_call): Likewise.
* class.c (finish_struct_methods): Add specialization pass to
determine which methods were specializing which other methods.
(instantiate_type): Handle TEMPLATE_ID_EXPR.
* cp-tree.def (TEMPLATE_ID_EXPR): New tree code.
* cp-tree.h (name_mangling_version): New variable.
(flag_guiding_decls): Likewise.
(build_template_decl_overload): New function.
(begin_specialization): Likewise.
(reset_specialization): Likewise.
(end_specialization): Likewise.
(determine_explicit_specialization): Likewise.
(check_explicit_specialization): Likewise.
(lookup_template_function): Likewise.
(fn_type_unification): Add explicit_targs parameter.
(type_unification): Likewise.
* decl.c (duplicate_decls): Add smarts for explicit
specializations.
(grokdeclarator): Handle TEMPLATE_ID_EXPR, and function
specializations.
(grokfndecl): Call check_explicit_specialization.
* decl2.c (lang_decode_option): Handle -fname-mangling-version.
(build_expr_from_tree): Handle TEMPLATE_ID_EXPR.
(check_classfn): Handle specializations.
* error.c (dump_function_name): Print specialization arguments.
* friend.c (do_friend): Don't call pushdecl for template
instantiations.
* init.c (build_member_call): Handle TEMPLATE_ID_EXPR.
* lang-options.h: Add -fname-mangling-version, -fguiding-decls,
and -fno-guiding-decls.
* lex.c (identifier_type): Return PFUNCNAME for template function
names.
* method.c (build_decl_overload_real): New function.
(build_template_parm_names): New function.
(build_overload_identifier): Use it.
(build_underscore_int): New function.
(build_overload_int): Use it. Add levels for template
parameters.
(build_overload_name): Likewise. Also, handle TYPENAME_TYPEs.
(build_overload_nested_names): Handle template type parameters.
(build_template_decl_overload): New function.
* parse.y (YYSTYPE): New ntype member.
(nested_name_specifier): Use it.
(nested_name_specifier_1): Likewise.
(PFUNCNAME): New token.
(template_id, object_template_id): New non-terminals.
(template_parm_list): Note specializations.
(template_def): Likewise.
(structsp): Likewise.
(fn.def2): Handle member template specializations.
(component_decl_1): Likewise.
(direct_notype_declarator): Handle template-ids.
(component_decl_1): Likewise.
(direct_notype_declarator): Handle template-ids.
(primary): Handle TEMPLATE_ID_EXPR, and template-ids.
* pt.c (processing_specializations): New variable.
(template_header_count): Likewise.
(type_unification_real): New function.
(processing_explicit_specialization): Likewise.
(note_template_header): Likewise.
(is_member_template): Handle specializations.
(end_template_decl): Call reset_specialization.
(push_template_decl): Handle member template specializations.
(tsubst): Likewise.
(tsubst_copy): Handle TEMPLATE_ID_EXPR.
(instantiate_template): Handle specializations.
(instantiate_decl): Likewise.
(fn_type_unification): Handle explicit_targs.
(type_unification): Likewise. Allow incomplete unification
without an error message, if allow_incomplete.
(get_bindings): Use new calling sequence for fn_type_unification.
* spew.c (yylex): Handle PFUNCNAME.
* tree.c (is_overloaded_fn): Handle TEMPLATE_ID_EXPR.
(really_overloaded_fn): Likewise.
(get_first_fn): Handle function templates.
* typeck.c (build_x_function_call): Use really_overloaded_fn.
Handle TEMPLATE_ID_EXPR.
(build_x_unary_op): Likewise.
(build_unary_op): Likewise.
(mark_addressable): Templates whose address is taken are marked
as used.
From-SVN: r15774
Jason Merrill [Sun, 28 Sep 1997 19:08:43 +0000 (19:08 +0000)]
* libio.h: Don't use _IO_LOCK_T if it's not defined.
From-SVN: r15773
Jason Merrill [Sun, 28 Sep 1997 19:02:46 +0000 (15:02 -0400)]
update
From-SVN: r15772