Commit Graph

14579 Commits

Author SHA1 Message Date
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
Jason Merrill
236bdb77b5 tweak
From-SVN: r15828
1997-10-01 13:56:23 -04:00
Jason Merrill
5408ce7864 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
1997-10-01 13:50:03 -04:00
Brendan Kehoe
a3f44a1337 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
1997-10-01 12:56:13 -04:00
Ian Lance Taylor
281de624e3 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
1997-10-01 15:15:06 +00:00
Jeff Law
0d9011fd81 Fix typo.
From-SVN: r15824
1997-10-01 07:52:31 -06:00
Philippe De Muyter
56f21d6ffd 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
1997-10-01 01:43:22 -06:00
Philippe De Muyter
3c8f617e2f * g77.c (pexecute, main): Use unlink, not remove.
From-SVN: r15820
1997-10-01 01:42:36 -06:00
Philippe De Muyter
3cbdd5fc16 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
1997-10-01 01:41:57 -06:00
Jeff Law
82d109f263 Update to 0.5.22-19970929.
From-SVN: r15818
1997-10-01 01:28:03 -06:00
Thomas Koenig
d3878e4948 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
From-SVN: r15817
1997-10-01 00:22:46 -06:00
Jeffrey A Law
135d84b899 * cse.c (this_insn_cc0_mode): Initialize.
From-SVN: r15816
1997-09-30 23:46:27 -06:00
Thomas Koenig
55d8971965 * haifa-sched.c: (get_block_head_tail) Remove unneeded initialization.
From-SVN: r15815
1997-09-30 23:08:31 -06:00
Richard Henderson
e9d0757e5c 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
1997-09-30 23:04:30 -06:00
Jim Wilson
3f34faec1a Fix error in immediately preceeding patch.
* except.c (find_exception_handler_labels): Correct argument to free.

From-SVN: r15812
1997-09-30 16:15:58 -07:00
Brendan Kehoe
3226dac5e0 adjust date to be the old form, instead of the emacs 20.x shortened style,
for now.

From-SVN: r15811
1997-09-30 15:15:20 -04:00
Brendan Kehoe
988cea7dd5 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
1997-09-30 14:25:09 -04:00
Jason Merrill
d770d3b33c add -Wold-style-cast
From-SVN: r15807
1997-09-30 13:49:34 -04:00
Jason Merrill
8c81598dba revert gratuitous whitespace changes
From-SVN: r15806
1997-09-30 13:47:48 -04:00
Jason Merrill
5a45bc3e5b * method.c (build_decl_overload_real): Reformat.
From-SVN: r15804
1997-09-30 11:53:04 -04:00
Jason Merrill
b7067a12bf * method.c (synthesize_method): If at_eof, determine our linkage.
From-SVN: r15803
1997-09-30 03:20:00 -04:00
Paul Eggert
4f6140be61 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
1997-09-30 01:32:19 -04:00
H.J. Lu
9f6177175d 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
1997-09-29 23:36:39 -04:00
Jeffrey A Law
3a6eabfad6 * version.c: Bump for snapshot.
From-SVN: r15795
1997-09-29 14:02:27 -06:00
Jason Merrill
0c4b14c4d3 [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
1997-09-29 15:05:04 -04:00
Jason Merrill
974c50f907 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
1997-09-29 10:49:57 -06:00
Jeffrey A Law
2b67aa29e5 * intdoc.c (main): Remove unused attribute for main's arguments.
From-SVN: r15791
1997-09-29 10:35:19 -06:00
Jason Merrill
893de33c13 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
1997-09-29 12:08:34 -04:00
Jeffrey A Law
9b16d2c4ef configure.in: Substitute for "install" too.
* configure.in: Substitute for "install" too.
        * configure: Rebuilt.

From-SVN: r15788
1997-09-29 10:00:50 -06:00
Aaron Jackson
b1e3ddfd29 Makefile.in (bootstrap-lean): New target.
* Makefile.in (bootstrap-lean): New target.
        * gcc/Makefile.in (bootstrap-lean, compare-lean): New targets.

From-SVN: r15786
1997-09-29 00:37:11 -06:00
Richard Henderson
c02f035f40 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
1997-09-29 00:21:18 -06:00