platform/upstream/gcc.git
26 years agoaclocal.m4: Add replacement for AC_PROG_INSTALL.
Jeffrey A Law [Tue, 16 Sep 1997 05:01:43 +0000 (05:01 +0000)]
aclocal.m4: Add replacement for AC_PROG_INSTALL.

        * aclocal.m4: Add replacement for AC_PROG_INSTALL.
        * configure.in: Use EGCS_PROG_INSTALL.

From-SVN: r15472

26 years agoaclocal.m4: New file with replacement for AC_PROG_INSTALL.
Jeffrey A Law [Tue, 16 Sep 1997 04:55:29 +0000 (04:55 +0000)]
aclocal.m4: New file with replacement for AC_PROG_INSTALL.

        * aclocal.m4: New file with replacement for AC_PROG_INSTALL.
        * configure.in: Use EGCS_PROG_INSTALL.

From-SVN: r15471

26 years agodwarf2out.c (gen_subprogram_die): Handle redefinition of an extern inline function.
Jeff Law [Tue, 16 Sep 1997 04:39:46 +0000 (22:39 -0600)]
dwarf2out.c (gen_subprogram_die): Handle redefinition of an extern inline function.

        * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
        extern inline function.

        * dwarf2out.c (reg_loc_descriptor): Fix prototype.
        (concat_loc_descriptor): New function.
        (loc_descriptor): Call it.
        (add_AT_location_description): Also elide the descriptor if both
        halves of a CONCAT are pseudos.
        (add_location_or_const_value_attribute): Recognize CONCAT too.
Bring over from devo/fsf.

From-SVN: r15470

26 years agoUse @code instead of @uref until we upgrade texinfo.
Jeff Law [Tue, 16 Sep 1997 04:35:37 +0000 (22:35 -0600)]
Use @code instead of @uref  until we upgrade texinfo.

From-SVN: r15469

26 years agoRenamed fixinc.math to fixinc.wrap
Manfred Hollstein [Tue, 16 Sep 1997 03:59:48 +0000 (03:59 +0000)]
Renamed fixinc.math to fixinc.wrap

From-SVN: r15465

26 years agodwarf2 EH support
Jason Merrill [Tue, 16 Sep 1997 02:07:50 +0000 (22:07 -0400)]
dwarf2 EH support

From-SVN: r15464

26 years ago* call.c (null_ptr_cst_p): Integer type, not integral type.
Jason Merrill [Mon, 15 Sep 1997 23:35:18 +0000 (23:35 +0000)]
* call.c (null_ptr_cst_p): Integer type, not integral type.

From-SVN: r15463

26 years agoPatch from Richard Henderson for alpha-linux ld.so bug.
Richard Henderson [Mon, 15 Sep 1997 22:36:34 +0000 (15:36 -0700)]
Patch from Richard Henderson for alpha-linux ld.so bug.

* alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.

From-SVN: r15459

26 years agoPatch from Richard Henderson for large frames.
Richard Henderson [Mon, 15 Sep 1997 22:28:34 +0000 (15:28 -0700)]
Patch from Richard Henderson for large frames.

* alpha/alpha.c (output_prolog): New variable sa_reg.  Use it for
out-or-range reg_offset.
(output_epilog): Likewise.

From-SVN: r15458

26 years agodwarf2 EH support
Jason Merrill [Mon, 15 Sep 1997 22:25:30 +0000 (18:25 -0400)]
dwarf2 EH support

From-SVN: r15455

26 years agocse.c (simplify_relational_operation): If MODE specifies a mode wider than HOST_WIDE_...
Jeffrey A Law [Mon, 15 Sep 1997 21:37:39 +0000 (21:37 +0000)]
cse.c (simplify_relational_operation): If MODE specifies a mode wider than HOST_WIDE_INT...

        * cse.c (simplify_relational_operation): If MODE specifies a
        mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
        is derived from the sign bit of the low word.

Brought over from r5900 branch.

From-SVN: r15454

26 years agoDocument -ms for the H8/S.
Jeff Law [Mon, 15 Sep 1997 19:15:35 +0000 (13:15 -0600)]
Document -ms for the H8/S.

From-SVN: r15453

26 years agoexcept.c (find_exception_handler_labels): Use xmalloc instead of alloca...
Brendan Kehoe [Mon, 15 Sep 1997 19:07:05 +0000 (19:07 +0000)]
except.c (find_exception_handler_labels): Use xmalloc instead of alloca...

* except.c (find_exception_handler_labels): Use xmalloc instead of
alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
in some cases.

From-SVN: r15452

26 years agocall.c (joust): Disable warnings until they can be moved to the right place.
Jason Merrill [Mon, 15 Sep 1997 18:53:28 +0000 (18:53 +0000)]
call.c (joust): Disable warnings until they can be moved to the right place.

* call.c (joust): Disable warnings until they can be moved to the
right place.

From-SVN: r15450

26 years ago* lib/g++.exp (g++_init): Look for xgcc in $basedir too.
Jeffrey A Law [Mon, 15 Sep 1997 06:38:11 +0000 (06:38 +0000)]
* lib/g++.exp (g++_init): Look for xgcc in $basedir too.

From-SVN: r15449

26 years agoMakefile.in: Various changes to build info files in the object tree rather than the...
Jeffrey A Law [Mon, 15 Sep 1997 03:04:48 +0000 (03:04 +0000)]
Makefile.in: Various changes to build info files in the object tree rather than the source tree.

        * Makefile.in: Various changes to build info files
        in the object tree rather than the source tree.

From-SVN: r15448

26 years agoMake-lang.in: Various changes to build info files in the object tree rather than...
Jeffrey A Law [Mon, 15 Sep 1997 03:02:41 +0000 (03:02 +0000)]
Make-lang.in: Various changes to build info files in the object tree rather than the source tree.

        * Make-lang.in: Various changes to build info files
        in the object tree rather than the source tree.

        * proj.h: Include ctype.h.

From-SVN: r15447

26 years agoWe're moving away from distributing generated files.
Jeff Law [Mon, 15 Sep 1997 02:55:47 +0000 (20:55 -0600)]
We're moving away from distributing generated files.

From-SVN: r15446

26 years agoForgot to commit.
Jeff Law [Sun, 14 Sep 1997 20:09:02 +0000 (14:09 -0600)]
Forgot to commit.

From-SVN: r15445

26 years agoUpdate.
Jeff Law [Sun, 14 Sep 1997 20:04:54 +0000 (14:04 -0600)]
Update.

From-SVN: r15444

26 years agoUpdate to official g77-0.5.21.
Jeff Law [Sun, 14 Sep 1997 20:04:23 +0000 (14:04 -0600)]
Update to official g77-0.5.21.

From-SVN: r15443

26 years agoThis commit was generated by cvs2svn to compensate for changes in r15440,
Jeff Law [Sun, 14 Sep 1997 19:36:32 +0000 (13:36 -0600)]
This commit was generated by cvs2svn to compensate for changes in r15440,

which included commits to RCS files with non-trunk default branches.

From-SVN: r15441

26 years agoInitial revision
Jeff Law [Sun, 14 Sep 1997 19:34:57 +0000 (13:34 -0600)]
Initial revision

From-SVN: r15438

26 years ago* proj.h (isascii): Provide a default definition if none is available.
Fred Fish [Sun, 14 Sep 1997 18:36:19 +0000 (18:36 +0000)]
* proj.h (isascii): Provide a default definition if none is available.

From-SVN: r15437

26 years agofixinc.math: New file to fix math.h on some systems.
Jeff Law [Sun, 14 Sep 1997 18:29:43 +0000 (12:29 -0600)]
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

26 years agoregmove.c (regmove_optimize): If we end up moving the original insn due to lifetime...
Jeffrey A Law [Sun, 14 Sep 1997 17:11:52 +0000 (17:11 +0000)]
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

26 years agoPatch from Manfred Hollstein, don't set execute bits when installing data files
Manfred Hollstein [Sat, 13 Sep 1997 22:52:49 +0000 (22:52 +0000)]
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

26 years agohaifa-sched.c (add_branch_dependences): Make each insn in a SCHED_GROUP_P block expli...
Jeffrey A Law [Sat, 13 Sep 1997 19:00:22 +0000 (19:00 +0000)]
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

26 years ago* Makefile.in, config-lang.in: Convert to autoconf.
Per Bothner [Fri, 12 Sep 1997 23:25:29 +0000 (23:25 +0000)]
* Makefile.in, config-lang.in:  Convert to autoconf.

From-SVN: r15429

26 years agoPatch from Dave Love
Dave Love [Fri, 12 Sep 1997 02:27:51 +0000 (02:27 +0000)]
Patch from Dave Love
* config-lang.in: Remove the messages about possible build problems.

From-SVN: r15425

26 years ago* Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.
Jason Merrill [Fri, 12 Sep 1997 02:16:24 +0000 (02:16 +0000)]
* Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.

From-SVN: r15424

26 years agobastring.h (class basic_string): Add global scope to use of reverse_iterator.
Jason Merrill [Fri, 12 Sep 1997 01:56:59 +0000 (01:56 +0000)]
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

26 years ago[multiple changes]
Jason Merrill [Fri, 12 Sep 1997 01:53:33 +0000 (21:53 -0400)]
[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

26 years agoNever set prefix=/usr by default.
Jim Wilson [Fri, 12 Sep 1997 00:51:01 +0000 (00:51 +0000)]
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

26 years agoPatches from Fred Fish for systems with sys/varargs.h but not varargs.h.
Fred Fish [Fri, 12 Sep 1997 00:39:10 +0000 (00:39 +0000)]
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

26 years agoPatches from H.J. Lu for alpha-linux -fPIC --enable-shared problem.
Jim Wilson [Thu, 11 Sep 1997 23:44:33 +0000 (16:44 -0700)]
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

26 years agoFrom Fred Fish, fix BeOS (I assume) related problem with mixing char pointers.
Fred Fish [Thu, 11 Sep 1997 22:51:33 +0000 (22:51 +0000)]
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

26 years agoAdd Fred Fish's LN/LN_S patch.
Jim Wilson [Thu, 11 Sep 1997 20:39:08 +0000 (13:39 -0700)]
Add Fred Fish's LN/LN_S patch.

From-SVN: r15415

26 years agoscope4.C: No longer expected to fail.
Jeffrey A Law [Thu, 11 Sep 1997 19:53:52 +0000 (19:53 +0000)]
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

26 years ago* loop.c (strength_reduce): Fix typo.
Jeffrey A Law [Thu, 11 Sep 1997 17:08:01 +0000 (17:08 +0000)]
* loop.c (strength_reduce): Fix typo.

From-SVN: r15408

26 years agocrash20.C: Rework to avoid libg++.
Alexandre Oliva [Thu, 11 Sep 1997 16:00:02 +0000 (16:00 +0000)]
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

26 years agop658.C: eliminate <bool.h> use.
Joe Buck [Thu, 11 Sep 1997 15:52:11 +0000 (15:52 +0000)]
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

26 years agoBack out Kenner's Makefile.in patch.
Jeff Law [Thu, 11 Sep 1997 04:18:16 +0000 (22:18 -0600)]
Back out Kenner's Makefile.in patch.

From-SVN: r15403

26 years agoBump for snapshot.
Jeffrey A Law [Thu, 11 Sep 1997 04:11:01 +0000 (04:11 +0000)]
Bump for snapshot.

From-SVN: r15402

26 years agofix typo
Michael Meissner [Thu, 11 Sep 1997 03:52:26 +0000 (03:52 +0000)]
fix typo

From-SVN: r15401

26 years agoMakefile (compare): Exit with nonzero status if there are comparison failures.
Jeffrey A Law [Thu, 11 Sep 1997 03:36:41 +0000 (03:36 +0000)]
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

26 years ago* Makefile.in (bootstrap): New target.
Jeffrey A Law [Thu, 11 Sep 1997 03:32:08 +0000 (03:32 +0000)]
* Makefile.in (bootstrap): New target.

From-SVN: r15399

26 years agomake change to spacing for Kenner
Michael Meissner [Thu, 11 Sep 1997 03:27:50 +0000 (03:27 +0000)]
make change to spacing for Kenner

From-SVN: r15398

26 years agoRemove last change. Not needed for egcs yet.
Jeff Law [Thu, 11 Sep 1997 03:01:15 +0000 (21:01 -0600)]
Remove last change.  Not needed for egcs yet.

From-SVN: r15397

26 years agoPatch from H.J. Lu for alpha-linux.
H.J. Lu [Thu, 11 Sep 1997 00:07:06 +0000 (00:07 +0000)]
Patch from H.J. Lu for alpha-linux.

* config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.

From-SVN: r15394

26 years agoClean up patches for delta88 nested function support.
Jim Wilson [Wed, 10 Sep 1997 23:34:58 +0000 (23:34 +0000)]
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

26 years agoMakefile.in (LN): Add new symbol.
Richard Kenner [Wed, 10 Sep 1997 22:14:29 +0000 (22:14 +0000)]
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

26 years agoFix problem reported by chris@lslsun.epfl.ch (Christian Iseli)
Jim Wilson [Wed, 10 Sep 1997 22:04:24 +0000 (15:04 -0700)]
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

26 years ago* config.sub: Accept 'amigados' for backward compatability.
Jeffrey A Law [Wed, 10 Sep 1997 21:18:25 +0000 (21:18 +0000)]
* config.sub: Accept 'amigados' for backward compatability.

From-SVN: r15389

26 years agoInstall patch from H.J. Lu to make parallel make check work.
Jim Wilson [Wed, 10 Sep 1997 21:06:59 +0000 (21:06 +0000)]
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

26 years agomissing entry
Jason Merrill [Wed, 10 Sep 1997 20:15:23 +0000 (16:15 -0400)]
missing entry

From-SVN: r15268

26 years agoRebuild from source files.
Jim Wilson [Wed, 10 Sep 1997 19:33:33 +0000 (12:33 -0700)]
Rebuild from source files.

From-SVN: r15264

26 years agoPatch to fix parallel makes from H.J. Lu.
H.J. Lu [Wed, 10 Sep 1997 18:54:55 +0000 (18:54 +0000)]
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

26 years agoOpps. Forgot part of the patch for $(srcdir)/INSTALL change.
Jeff Law [Wed, 10 Sep 1997 18:16:50 +0000 (12:16 -0600)]
Opps.  Forgot part of the patch for $(srcdir)/INSTALL change.

From-SVN: r15262

26 years agodwarf2 EH support
Jason Merrill [Wed, 10 Sep 1997 18:02:36 +0000 (14:02 -0400)]
dwarf2 EH support

From-SVN: r15257

26 years ago* m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
Manfred Hollstein [Wed, 10 Sep 1997 18:02:16 +0000 (18:02 +0000)]
* m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.

        * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.

From-SVN: r15256

26 years agodwarf2 EH support
Jason Merrill [Wed, 10 Sep 1997 18:00:28 +0000 (14:00 -0400)]
dwarf2 EH support

From-SVN: r15255

26 years ago* expr.c (emit_block_move): Always return a value.
Jeffrey A Law [Wed, 10 Sep 1997 16:52:45 +0000 (16:52 +0000)]
* expr.c (emit_block_move): Always return a value.

From-SVN: r15252

26 years agoArc changes I forgot in last commit.
Jeff Law [Wed, 10 Sep 1997 07:53:17 +0000 (01:53 -0600)]
Arc changes I forgot in last commit.

From-SVN: r15221

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Wed, 10 Sep 1997 07:50:16 +0000 (01:50 -0600)]
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

26 years agoForgot to commit..
Jeff Law [Wed, 10 Sep 1997 06:42:02 +0000 (00:42 -0600)]
Forgot to commit..

From-SVN: r15219

26 years ago* xm-m88k.h (USG): Only define if it hasn't already been defined.
Manfred Hollstein [Wed, 10 Sep 1997 06:37:46 +0000 (06:37 +0000)]
* xm-m88k.h (USG): Only define if it hasn't already been defined.

From-SVN: r15218

26 years ago* Makefile.in (clean): Delete libgcc1-test.
Manfred Hollstein [Wed, 10 Sep 1997 06:32:10 +0000 (06:32 +0000)]
* Makefile.in (clean): Delete libgcc1-test.

From-SVN: r15217

26 years agoMakefile.in (INSTALL): cd to $(srcdir) before running texinfo.
Jeff Law [Wed, 10 Sep 1997 06:29:35 +0000 (00:29 -0600)]
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

26 years agom88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list template.
Stan Cox [Wed, 10 Sep 1997 03:57:12 +0000 (03:57 +0000)]
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

26 years agonew testcases
Jason Merrill [Wed, 10 Sep 1997 03:34:51 +0000 (23:34 -0400)]
new testcases

From-SVN: r15214

26 years ago* pt.c (unify): Just return 0 for a TYPENAME_TYPE.
Jason Merrill [Wed, 10 Sep 1997 02:53:42 +0000 (02:53 +0000)]
* pt.c (unify): Just return 0 for a TYPENAME_TYPE.

From-SVN: r15213

26 years ago* std/bastring.h: Adjust use of reverse_iterator template.
Jason Merrill [Wed, 10 Sep 1997 02:51:35 +0000 (02:51 +0000)]
* std/bastring.h: Adjust use of reverse_iterator template.

From-SVN: r15212

26 years agoalgo.h, [...]: Update To September 8 SGI release.
Jason Merrill [Wed, 10 Sep 1997 02:49:45 +0000 (02:49 +0000)]
algo.h, [...]: Update To September 8 SGI release.

* algo.h, algobase.h, alloc.h, bvector.h, deque.h, hashtable.h,
iterator.h, list.h, rope.h, ropeimpl.h, slist.h, stl_config.h,
tree.h, vector.h: Update To September 8 SGI release.

From-SVN: r15211

26 years agoPatch from Alexandre Oliva to fix SunOS4 install problem.
Jim Wilson [Wed, 10 Sep 1997 02:46:16 +0000 (02:46 +0000)]
Patch from Alexandre Oliva to fix SunOS4 install problem.

* Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
to all filenames in libdir and tooldir.

From-SVN: r15210

26 years agostl_config.h (__STL_MEMBER_TEMPLATES): Enable.
Mark Mitchell [Wed, 10 Sep 1997 02:29:42 +0000 (02:29 +0000)]
stl_config.h (__STL_MEMBER_TEMPLATES): Enable.

Tue Sep  9 17:38:47 1997  Mark Mitchell  <mmitchell@usa.net>

* stl_config.h (__STL_MEMBER_TEMPLATES): Enable.

From-SVN: r15209

26 years agoerror.c (dump_decl): Avoid crashing when presented with a uninitialized constant...
Mark Mitchell [Wed, 10 Sep 1997 02:28:20 +0000 (02:28 +0000)]
error.c (dump_decl): Avoid crashing when presented with a uninitialized constant...

Tue Sep  9 17:57:25 1997  Mark Mitchell  <mmitchell@usa.net>

* error.c (dump_decl): Avoid crashing when presented with a
uninitialized constant, as can occur with a template parameter.

From-SVN: r15208

26 years agoexcept.c (expand_throw): Call build_delete for all exception types, not just objects...
Jason Merrill [Wed, 10 Sep 1997 00:59:16 +0000 (20:59 -0400)]
except.c (expand_throw): Call build_delete for all exception types, not just objects with destructors.

* except.c (expand_throw): Call build_delete for all
exception types, not just objects with destructors.

From-SVN: r15207

26 years agoAdd libgcc2 exception to copyright notice.
Jeff Law [Tue, 9 Sep 1997 23:33:35 +0000 (17:33 -0600)]
Add libgcc2 exception to copyright notice.

From-SVN: r15205

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 22:21:04 +0000 (16:21 -0600)]
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: r15198

26 years agotypeck.c (build_indirect_ref): Heed FLAG_VOLATILE similar to c-typeck.c.
Brendan Kehoe [Tue, 9 Sep 1997 22:20:47 +0000 (22:20 +0000)]
typeck.c (build_indirect_ref): Heed FLAG_VOLATILE similar to c-typeck.c.

        * typeck.c (build_indirect_ref): Heed FLAG_VOLATILE similar to
        c-typeck.c.

From-SVN: r15197

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 21:58:23 +0000 (15:58 -0600)]
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: r15190

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 21:57:17 +0000 (15:57 -0600)]
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: r15189

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 21:56:06 +0000 (15:56 -0600)]
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: r15188

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 21:51:41 +0000 (15:51 -0600)]
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: r15187

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 21:51:14 +0000 (15:51 -0600)]
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: r15186

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 21:50:29 +0000 (15:50 -0600)]
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: r15185

26 years agoAdd port done awhile ago for the ARC cpu.
Jeff Law [Tue, 9 Sep 1997 21:50:26 +0000 (15:50 -0600)]
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: r15184

26 years agoAdd CYGWIN32 support.
Jim Wilson [Tue, 9 Sep 1997 20:21:58 +0000 (20:21 +0000)]
Add CYGWIN32 support.

* g77.c (pexecute, doit): Add checks for __CYGWIN32__.

From-SVN: r15183

26 years ago* haifa-sched.c (print_value): Fix last change.
Jeffrey A Law [Tue, 9 Sep 1997 15:12:06 +0000 (15:12 +0000)]
* haifa-sched.c (print_value): Fix last change.

From-SVN: r15181

26 years agov850.h (ASM_SPEC): Pass on target processor.
Nick Clifton [Tue, 9 Sep 1997 15:06:54 +0000 (15:06 +0000)]
v850.h (ASM_SPEC): Pass on target processor.

        * v850.h (ASM_SPEC): Pass on target processor.
        (CPP_PREDEFINES): Only define if not already specified.
        (TARGET_VERSION): Only define if not already specified.
        (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
        processor.
        (EXTRA_SWITCHES): Extra entries in the switches array.
        (TARGET_DEFAULT): Set default target processor.

From-SVN: r15180

26 years agoFix m68k-hp-hpux8 problem for Manfred Holstein.
Jim Wilson [Tue, 9 Sep 1997 01:34:17 +0000 (01:34 +0000)]
Fix m68k-hp-hpux8 problem for Manfred Holstein.

* m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
cases, add %# and %/, and add : to make them into extended asms.

From-SVN: r15174

26 years ago* libio.h: Fix typo.
Weiwen Liu [Mon, 8 Sep 1997 16:12:05 +0000 (16:12 +0000)]
* libio.h: Fix typo.

From-SVN: r15170

26 years agoalias.c (init_alias_analysis): Clean up incompatible pointer type warning in bzero.
Weiwen Liu [Mon, 8 Sep 1997 16:06:18 +0000 (16:06 +0000)]
alias.c (init_alias_analysis): Clean up incompatible pointer type warning in bzero.

        * alias.c (init_alias_analysis): Clean up incompatible pointer
        type warning in bzero.
        * regmove.c (regmove_optimize): Ditto.
        * haifa-sched.c (find_rgns): Ditto.

        * haifa-sched.c (print_value): Clean up ptr->int cast
        warnings.

From-SVN: r15169

26 years agoFix thinko.
Jeff Law [Mon, 8 Sep 1997 14:53:44 +0000 (08:53 -0600)]
Fix thinko.

From-SVN: r15168

26 years agodecl.c (current_local_enum): Remove static.
Jody Goldberg [Mon, 8 Sep 1997 09:37:29 +0000 (09:37 +0000)]
decl.c (current_local_enum): Remove static.

Mon Sep  8 02:33:20 1997  Jody Goldberg  <jodyg@idt.net>

* decl.c (current_local_enum): Remove static.
* pt.c (tsubst_enum): Save and restore value of current_local_enum
in case template is expanded in enum decl.
(instantiate_class_template) : Use new tsubst_enum signature.
(tsubst_expr): Likewise.

From-SVN: r15156

26 years agopt.c (begin_member_template_processing): Take a function as argument, not a set of...
Mark Mitchell [Mon, 8 Sep 1997 09:28:51 +0000 (09:28 +0000)]
pt.c (begin_member_template_processing): Take a function as argument, not a set of template arguments.

Mon Sep  8 01:21:43 1997  Mark Mitchell  <mmitchell@usa.net>

* pt.c (begin_member_template_processing): Take a function as
argument, not a set of template arguments.  Use the template
parameters, rather than the arguments.  Handle non-type parameters
correctly.  Push a binding level for the parameters so that multiple
member templates using the same parameter names can be declared.
(end_member_template_processing): Pop the binding level.
(push_template_decl): Mark member templates as static when
appropriate.

* lex.c (do_pending_inlines): Pass the function, not its template
arguments, to begin_member_template_processing.
(process_next_inline): Likewise.
(do_pending_defargs): Likewise.

* error.c (dump_expr): Obtain the correct declaration for a
TEMPLATE_CONST_PARM.

* call.c (add_template_conv_candidate): New function.
(build_object_call): Handle member templates, as done in the other
build_ functions.

From-SVN: r15155

26 years agodwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL prologue insn, only...
Jason Merrill [Mon, 8 Sep 1997 08:53:21 +0000 (08:53 +0000)]
dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL prologue insn, only the first elt is significant.

* dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
  prologue insn, only the first elt is significant.
(output_call_frame_info): For exception handling, always use 4-byte
  fields as specified by the dwarf2 spec.
Don't skip trivial FDEs.

From-SVN: r15154

26 years agoINSTALL: Change 'amigados' to 'amigaos' to match current usage.
Fred Fish [Mon, 8 Sep 1997 05:17:48 +0000 (05:17 +0000)]
INSTALL: Change 'amigados' to 'amigaos' to match current usage.

* INSTALL: Change 'amigados' to 'amigaos' to match current usage.
* install.texi (Configurations): Ditto.
* config.sub: Ditto.

From-SVN: r15143

26 years agolinux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
Jim Wilson [Mon, 8 Sep 1997 04:58:57 +0000 (04:58 +0000)]
linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.

        * linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
Should fix linux build problem.

From-SVN: r15142