Commit Graph

14459 Commits

Author SHA1 Message Date
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
Jason Merrill 27bb83393c 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
1997-10-06 12:37:44 -04:00
Michael Meissner d8d64559de Cast alloca return value for char *
From-SVN: r15837
1997-10-03 19:51:50 +00:00
Jason Merrill c44e099f65 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
1997-10-03 13:14:05 -04:00
Richard Henderson e414ab2935 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
1997-10-02 21:15:56 -07:00
Brendan Kehoe 808d0b1063 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
1997-10-02 18:52:19 -04:00
Jason Merrill 5a3a2567e9 [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
1997-10-02 13:39:40 -04:00
Jason Merrill b6aa195e20 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
1997-10-02 13:26:16 -04:00
Jim Wilson 15039abedc 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
1997-10-01 13:49:25 -07:00