Commit Graph

14372 Commits

Author SHA1 Message Date
Jeff Law
981c1e246f Initial revision
From-SVN: r15438
1997-09-14 13:34:57 -06:00
Fred Fish
a9aaedc9f7 * proj.h (isascii): Provide a default definition if none is available.
From-SVN: r15437
1997-09-14 12:36:19 -06:00
Jeff Law
be1ed94f89 fixinc.math: New file to fix math.h on some systems.
* fixinc.math: New file to fix math.h on some systems.
        * configure.in (freebsd, netbsd): Use fixinc.math on these
        systems.
        * configure: Rebuilt.
Should fix struct exception problems for freebsd, netbsd.  Can be used
for others.

From-SVN: r15436
1997-09-14 12:29:43 -06:00
Jeffrey A Law
124da27518 regmove.c (regmove_optimize): If we end up moving the original insn due to lifetime overlaps...
* regmove.c (regmove_optimize): If we end up moving the
	original insn due to lifetime overlaps, make sure to move
	REG_NOTES too.
Fixes x86 (and maybe h8) failure.

From-SVN: r15435
1997-09-14 11:11:52 -06:00
Manfred Hollstein
fca9d4b0d4 Patch from Manfred Hollstein, don't set execute bits when installing data files
* Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.

From-SVN: r15431
1997-09-13 15:52:49 -07:00
Jeffrey A Law
326ee7a3fe haifa-sched.c (add_branch_dependences): Make each insn in a SCHED_GROUP_P block explicitly depend on the previous insn.
* haifa-sched.c (add_branch_dependences): Make each insn in
        a SCHED_GROUP_P block explicitly depend on the previous insn.
Fixes x86 abort.

From-SVN: r15430
1997-09-13 13:00:22 -06:00
Per Bothner
0520f6c01a * Makefile.in, config-lang.in: Convert to autoconf.
From-SVN: r15429
1997-09-12 16:25:29 -07:00
Dave Love
3c5b8fa6b4 Patch from Dave Love
* config-lang.in: Remove the messages about possible build problems.

From-SVN: r15425
1997-09-11 19:27:51 -07:00
Jason Merrill
810b9f2c0e * Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.
From-SVN: r15424
1997-09-11 22:16:24 -04:00
Jason Merrill
2a32969dd4 bastring.h (class basic_string): Add global scope to use of reverse_iterator.
* std/bastring.h (class basic_string): Add global scope to
	use of reverse_iterator.

From-SVN: r15423
1997-09-11 21:56:59 -04:00
Jason Merrill
85b71cf211 [multiple changes]
Thu Sep 11 17:14:55 1997  Jason Merrill  <jason@yorick.cygnus.com>

	* decl.c (lookup_name_real): Add implicit 'typename' to types from
	base classes.

	* pt.c (most_specialized_class): Fix typo.
	(tsubst): Move constant folding to TREE_VEC case.

Thu Sep 11 10:08:45 1997  Mark Mitchell  <mmitchell@usa.net>

	* pt.c (do_poplevel): Don't warn about unused local variables
	while processing_template_decl since we don't always know whether
	or not they will need constructing/destructing.

	* pt.c (uses_template_parms): Check the values of an enumeration
	type to make sure they don't depend on template parms.

	* decl.c (make_typename_type): Don't lookup the field if the
	context uses template parms, even if we're not
	processing_template_decl at the moment.

	* pt.c (coerce_template_parms): Avoid looking at the
	TYPE_LANG_DECL portion of a typename type, since there won't be
	one.
	(tsubst): Do constant folding as necessary to make sure that
	arguments passed to lookup_template_class really are constants.

From-SVN: r15422
1997-09-11 21:53:33 -04:00
Jim Wilson
5188d2b2fa Never set prefix=/usr by default.
* configure.in (native_prefix): Delete.
	(mips-dec-netbsd): Don't set prefix.
	(*linux*): Don't set prefix.

From-SVN: r15421
1997-09-11 17:51:01 -07:00
Fred Fish
70988851ef Patches from Fred Fish for systems with sys/varargs.h but not varargs.h.
* protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
	defined.  If not defined, include <sys/varargs.h> if
	HAVE_SYS_VARARGS_H is defined.
	* configure.in: Test for varargs.h and sys/varargs.h.
	* configure: Regenerate with autoconf.
	* config.in: Regenerate with autoheader.

From-SVN: r15420
1997-09-11 17:39:10 -07:00
Jim Wilson
f401679ee1 Patches from H.J. Lu for alpha-linux -fPIC --enable-shared problem.
* Makefile.in (local-distclean): Also remove mh-frag mt-frag.
	* configure.in (skipdirs): Add target-librx for Linux.
	(alpha-*-linux*): Use config/mh-elfalphapic and config/mt-elfalphapic.
	* mh-elfalphapic, mt-elfalphapic: New files.

From-SVN: r15419
1997-09-11 16:44:33 -07:00
Fred Fish
2e384318d3 From Fred Fish, fix BeOS (I assume) related problem with mixing char pointers.
* cpplib.c (quote_string): Cast first arg of sprintf call
	from "unsigned char *" to "char *".
	(output_line_command): Ditto.
	(macroexpand): Ditto.
	(do_line): Cast atoi arg from "unsigned char *" to "char *".

From-SVN: r15418
1997-09-11 15:51:33 -07:00
Jim Wilson
ac64120eeb Add Fred Fish's LN/LN_S patch.
From-SVN: r15415
1997-09-11 13:39:08 -07:00
Jeffrey A Law
7f69978172 scope4.C: No longer expected to fail.
* g++.old-deja/g++.brendan/scope4.C: No longer expected to fail.
        * g++.old-deja/g++.mike/p7325.C: Likewise.
        * g++.old-deja/g++.mike/eh51.C: No longer expected to fail on the PA.

From-SVN: r15413
1997-09-11 13:53:52 -06:00
Jeffrey A Law
432438724e * loop.c (strength_reduce): Fix typo.
From-SVN: r15408
1997-09-11 11:08:01 -06:00
Alexandre Oliva
45591aaf4d crash20.C: Rework to avoid libg++.
* g++.old-deja/g++.brendan/crash20.C: Rework to avoid libg++.
        * g++.old-deja/g++.brendan/crash30.C: Likewise.
        * g++.old-deja/g++.brendan/crash39.C: Likewise.
        * g++.old-deja/g++.law/operators4.C: Likewise.

From-SVN: r15407
1997-09-11 10:00:02 -06:00
Joe Buck
9687fea5e0 p658.C: eliminate <bool.h> use.
* g++.old-deja/g++.mike/p658.C: eliminate <bool.h> use.
        * g++.old-deja/g++.mike/p784.C: Ditto.
        * g++.old-deja/g++.mike/p785.C: Ditto.
Avoid libg++ specific stuff.

From-SVN: r15406
1997-09-11 09:52:11 -06:00
Jeff Law
0326887985 Back out Kenner's Makefile.in patch.
From-SVN: r15403
1997-09-10 22:18:16 -06:00
Jeffrey A Law
f2e4e16f79 Bump for snapshot.
From-SVN: r15402
1997-09-10 22:11:01 -06:00
Michael Meissner
3b33f637d9 fix typo
From-SVN: r15401
1997-09-11 03:52:26 +00:00
Jeffrey A Law
3fb2f40127 Makefile (compare): Exit with nonzero status if there are comparison failures.
* Makefile (compare): Exit with nonzero status if there
        are comparison failures.  Note which files failed the
        comparison test in .bad_compare.
For toplevel "make bootstrap".

From-SVN: r15400
1997-09-10 21:36:41 -06:00
Jeffrey A Law
ec20b1b98c * Makefile.in (bootstrap): New target.
From-SVN: r15399
1997-09-10 21:32:08 -06:00
Michael Meissner
1791f8e236 make change to spacing for Kenner
From-SVN: r15398
1997-09-11 03:27:50 +00:00
Jeff Law
22cbb540d0 Remove last change. Not needed for egcs yet.
From-SVN: r15397
1997-09-10 21:01:15 -06:00
H.J. Lu
d26cb66831 Patch from H.J. Lu for alpha-linux.
* config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.

From-SVN: r15394
1997-09-10 17:07:06 -07:00
Jim Wilson
db87ec0b58 Clean up patches for delta88 nested function support.
* m88k/m88k.c (struct option): Rename to struct options.
	* m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
	* m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
	* libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
	__DOLPHIN__ or sysV88.

From-SVN: r15393
1997-09-10 16:34:58 -07:00
Richard Kenner
dc3fce9020 Makefile.in (LN): Add new symbol.
* Makefile.in (LN): Add new symbol.
        (FLAGS_TO_PASS): Pass it down.
        (stage[1-4]-start): Use $(LN), not "ln -s".
Bring over from gcc2.

From-SVN: r15392
1997-09-10 16:14:29 -06:00
Jim Wilson
04395f964f Fix problem reported by chris@lslsun.epfl.ch (Christian Iseli)
Fix problem reported by chris@lslsun.epfl.ch (Christian Iseli)
	* emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
	create new subreg.

From-SVN: r15391
1997-09-10 15:04:24 -07:00
Jeffrey A Law
becdcf6da0 * config.sub: Accept 'amigados' for backward compatability.
From-SVN: r15389
1997-09-10 15:18:25 -06:00
Jim Wilson
3979dfb8b6 Install patch from H.J. Lu to make parallel make check work.
* Makefile.in (testsuite/site.exp): New target.
	(check-gcc, check-g++): Depend on testsuite/site.exp.
	Don't stop for failure.

From-SVN: r15269
1997-09-10 14:06:59 -07:00
Jason Merrill
81e98a98dc missing entry
From-SVN: r15268
1997-09-10 16:15:23 -04:00
Jim Wilson
0c65e50c07 Rebuild from source files.
From-SVN: r15264
1997-09-10 12:33:33 -07:00
H.J. Lu
1d11dd74fa Patch to fix parallel makes from H.J. Lu.
* Makefile (all): Remove sub-all.
	(stmp-sub-all): New target. Renamed from sub-all.
	(info, texinfo): Also depend on stmp-sub-all.
	(clean): Also remove stmp*.
	(maintainer-clean): New target. Same as realclean.

From-SVN: r15263
1997-09-10 11:54:55 -07:00
Jeff Law
2c3c65d745 Opps. Forgot part of the patch for $(srcdir)/INSTALL change.
From-SVN: r15262
1997-09-10 12:16:50 -06:00
Jason Merrill
4877a06fa4 dwarf2 EH support
From-SVN: r15257
1997-09-10 14:02:36 -04:00
Manfred Hollstein
9dfc6eba89 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
* libgcc2.c (__enable_execute_stack): Provide for sysV88 too.

From-SVN: r15256
1997-09-10 12:02:16 -06:00
Jason Merrill
0021b564f4 dwarf2 EH support
From-SVN: r15255
1997-09-10 14:00:28 -04:00
Jeffrey A Law
0680d17043 * expr.c (emit_block_move): Always return a value.
From-SVN: r15252
1997-09-10 10:52:45 -06:00
Jeff Law
8eb30e12b6 Arc changes I forgot in last commit.
From-SVN: r15221
1997-09-10 01:53:17 -06:00
Jeff Law
b4d940a26d Add port done awhile ago for the ARC cpu.
* arc/arc.h: New file.
        * arc/arc.c: New file.
        * arc/arc.md: New file.
        * arc/initfini.c: New file.
        * arc/lib1funcs.asm: New file.
        * arc/t-arc: New file.
        * arc/xm-arc.h: New file.
        * ginclude/va-arc.h: New file.
        * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
        * ginclude/varargs.h: Likewise.
        * Makefile.in (USER_H): Add va-arc.h.
        * configure.in (arc-*-elf*): Recognize.
        * longlong.h: Add ARC support.
Mostly so I can test changes in snapshot scripts.

        * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
        when clearing non-BLKmode data.
Fixes sparc problem.

From-SVN: r15220
1997-09-10 01:50:16 -06:00
Jeff Law
003455d9aa Forgot to commit..
From-SVN: r15219
1997-09-10 00:42:02 -06:00
Manfred Hollstein
552592195e * xm-m88k.h (USG): Only define if it hasn't already been defined.
From-SVN: r15218
1997-09-10 00:37:46 -06:00
Manfred Hollstein
ee2910692e * Makefile.in (clean): Delete libgcc1-test.
From-SVN: r15217
1997-09-10 00:32:10 -06:00
Jeff Law
102115816c Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
* Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
(Until we start building all this gunk in objdir...)

From-SVN: r15216
1997-09-10 00:29:35 -06:00
Stan Cox
48f0be1b36 m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list template.
* m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
        template.

Also invoke.texi tweaks for v850.

From-SVN: r15215
1997-09-09 21:57:12 -06:00
Jason Merrill
1dec6c7b3d new testcases
From-SVN: r15214
1997-09-09 23:34:51 -04:00
Jason Merrill
2ca340aed3 * pt.c (unify): Just return 0 for a TYPENAME_TYPE.
From-SVN: r15213
1997-09-09 22:53:42 -04:00