Commit Graph

14467 Commits

Author SHA1 Message Date
Jeff Law
8c0a849156 Bring over from devo.
From-SVN: r15892
1997-10-13 10:03:04 -06:00
Doug Evans
d60bee3a82 (INCOMING_RETURN_ADDR_RTX,INCOMING_FRAME_SP_OFFSET): Move definitions
to a more sane place.

From-SVN: r15891
1997-10-10 22:33:24 +00:00
Doug Evans
992b2778ce * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
From-SVN: r15890
1997-10-10 20:49:12 +00:00
Doug Evans
dec883836b 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
1997-10-10 20:48:55 +00:00
Jason Merrill
7ac63bcadb * pt.c (instantiate_decl): Fix previous change.
From-SVN: r15888
1997-10-10 15:22:04 -04:00
Jason Merrill
9cd60aa99b 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
1997-10-10 03:44:56 -04:00
Jason Merrill
38bab5d4c6 * tstring.cc (identitytest): s/remove/erase/.
From-SVN: r15886
1997-10-10 03:43:28 -04:00
Jason Merrill
da8c445d07 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
1997-10-10 02:56:56 -04:00
Brendan Kehoe
5b76d03baa add GPL comment at the top
From-SVN: r15884
1997-10-09 21:18:29 -04:00
Brendan Kehoe
e050253aa5 add an initial very rough description of how `explicit' is handled
From-SVN: r15883
1997-10-09 20:05:55 -04:00
Jason Merrill
fee23f5442 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
1997-10-09 15:13:22 -04:00
Jeffrey A Law
c89078531b 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
1997-10-08 22:45:14 -06:00
Jeffrey A Law
0e1f3f5eb4 Fix typo.
From-SVN: r15880
1997-10-08 14:37:08 -06:00
Jeffrey A Law
12504ae0b9 * version.c: Bump for snapshot.
From-SVN: r15878
1997-10-08 08:55:00 -06:00
Jason Merrill
3bd1e206cb 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
1997-10-08 03:19:53 -04:00
Jason Merrill
ffb690bd08 [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
1997-10-08 02:04:28 -04:00
Jeff Law
51cbea761b One more thinko.
From-SVN: r15875
1997-10-07 23:23:19 -06:00
Jeff Law
253a01b4a6 Fix thinko in last change.
From-SVN: r15874
1997-10-07 23:18:17 -06:00
Jason Merrill
a6f025879b 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
1997-10-08 00:26:17 -04:00
Richard Henderson
7e9e3823c7 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
1997-10-07 18:20:24 -06:00
Jeff Law
d1c32bc7ac Undo last incorrect change.
From-SVN: r15871
1997-10-07 17:21:42 -06:00
Jeff Law
5d52c1c3c8 Remove include of <std>
From-SVN: r15870
1997-10-07 16:41:18 -06:00
Manfred Hollstein
e1feece83e 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
1997-10-07 16:38:40 -06:00
Manfred Hollstein
5643c767f4 aclocal.m4: Substitute INSTALL.
* aclocal.m4: Substitute INSTALL.
        * configure: Re-built.

From-SVN: r15868
1997-10-07 16:26:56 -06:00
Jeff Law
c986829edf Handle std.h -> std rename.
From-SVN: r15867
1997-10-07 16:20:35 -06:00
Jeffrey A Law
f644bd1425 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
1997-10-07 15:43:02 -06:00
Jeffrey A Law
aa0c140117 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
1997-10-07 15:35:54 -06:00
Jim Wilson
6c2df6c96e Remove incorrect change from Manfred Hollstein.
* dwarf2out.c (output_call_frame_info): Remove last change.

From-SVN: r15864
1997-10-07 12:58:36 -07:00
Andreas Schwab
13ab2b8367 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
1997-10-07 14:42:54 -04:00
Jason Merrill
066c2fea8d 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
1997-10-07 14:36:48 -04:00
Jason Merrill
c0da11c40a * toplev.c (rest_of_compilation): Defer all non-nested inlines.
From-SVN: r15861
1997-10-07 14:04:33 -04:00
Jeff Law
6714c1ae69 REG_BR_PRED docs.
From-SVN: r15860
1997-10-07 11:15:27 -06:00
Richard Henderson
2f308fec0e 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
1997-10-07 10:53:16 -06:00
Thomas Koenig
43984e2969 * reload.c (decompose): Always initialize val.base.
From-SVN: r15858
1997-10-07 10:50:13 -06:00
Manfred Hollstein
d4dae59c22 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
1997-10-07 10:22:48 -06:00
Manfred Hollstein
e9e3025300 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
1997-10-07 10:20:44 -06:00
Michael Meissner
496651db26 Declare get_file_function_name
From-SVN: r15855
1997-10-07 16:07:46 +00:00
Chip Salzenberg
e634745692 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
1997-10-07 09:59:26 -06:00
Jeffrey A Law
1447b516d2 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
1997-10-07 09:52:32 -06:00
Richard Henderson
1a42ead7f3 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
From-SVN: r15852
1997-10-07 09:45:43 -06:00
Jason Merrill
c32381b187 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
1997-10-07 03:50:21 -04:00
Brendan Kehoe
45f22fa255 add missing tests, put in various test adjustments from devo
From-SVN: r15850
1997-10-06 20:08:46 -04:00
Brendan Kehoe
3f2270ec44 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
1997-10-06 17:09:49 -04:00
Brendan Kehoe
bfcbf73e1d 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
1997-10-06 17:09:23 -04:00
Jeffrey A Law
ba0cfe5bd1 * Makefile.in (distclean): Do a better job at cleaning up.
From-SVN: r15847
1997-10-06 14:14:47 -06:00
Jeffrey A Law
bac2a45427 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
1997-10-06 14:13:30 -06:00
Manfred Hollstein
4b6140f1c1 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
From-SVN: r15845
1997-10-06 12:45:32 -06:00
Jeff Law
6cb68ff4c1 Initial revision
From-SVN: r15841
1997-10-06 12:08:35 -06:00
Jeffrey A Law
dc84d7bca1 Makefile.in (check-g77): New test target.
* Makefile.in (check-g77): New test target.
        (CHECK-TARGETS): Add check-g77.

From-SVN: r15840
1997-10-06 12:02:25 -06:00
Jeffrey A Law
335043a81b * lib/g77.exp, lib/f-torture.exp: New files.
From-SVN: r15839
1997-10-06 12:00:04 -06:00