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
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
Per Bothner [Fri, 12 Sep 1997 23:25:29 +0000 (23:25 +0000)]
* Makefile.in, config-lang.in: Convert to autoconf.
From-SVN: r15429
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
Jason Merrill [Fri, 12 Sep 1997 02:16:24 +0000 (02:16 +0000)]
* Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.
From-SVN: r15424
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
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
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
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
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
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
Jim Wilson [Thu, 11 Sep 1997 20:39:08 +0000 (13:39 -0700)]
Add Fred Fish's LN/LN_S patch.
From-SVN: r15415
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
Jeffrey A Law [Thu, 11 Sep 1997 17:08:01 +0000 (17:08 +0000)]
* loop.c (strength_reduce): Fix typo.
From-SVN: r15408
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
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
Jeff Law [Thu, 11 Sep 1997 04:18:16 +0000 (22:18 -0600)]
Back out Kenner's Makefile.in patch.
From-SVN: r15403
Jeffrey A Law [Thu, 11 Sep 1997 04:11:01 +0000 (04:11 +0000)]
Bump for snapshot.
From-SVN: r15402
Michael Meissner [Thu, 11 Sep 1997 03:52:26 +0000 (03:52 +0000)]
fix typo
From-SVN: r15401
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
Jeffrey A Law [Thu, 11 Sep 1997 03:32:08 +0000 (03:32 +0000)]
* Makefile.in (bootstrap): New target.
From-SVN: r15399
Michael Meissner [Thu, 11 Sep 1997 03:27:50 +0000 (03:27 +0000)]
make change to spacing for Kenner
From-SVN: r15398
Jeff Law [Thu, 11 Sep 1997 03:01:15 +0000 (21:01 -0600)]
Remove last change. Not needed for egcs yet.
From-SVN: r15397
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
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
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
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
Jeffrey A Law [Wed, 10 Sep 1997 21:18:25 +0000 (21:18 +0000)]
* config.sub: Accept 'amigados' for backward compatability.
From-SVN: r15389
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
Jason Merrill [Wed, 10 Sep 1997 20:15:23 +0000 (16:15 -0400)]
missing entry
From-SVN: r15268
Jim Wilson [Wed, 10 Sep 1997 19:33:33 +0000 (12:33 -0700)]
Rebuild from source files.
From-SVN: r15264
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
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
Jason Merrill [Wed, 10 Sep 1997 18:02:36 +0000 (14:02 -0400)]
dwarf2 EH support
From-SVN: r15257
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
Jason Merrill [Wed, 10 Sep 1997 18:00:28 +0000 (14:00 -0400)]
dwarf2 EH support
From-SVN: r15255
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
Jeff Law [Wed, 10 Sep 1997 07:53:17 +0000 (01:53 -0600)]
Arc changes I forgot in last commit.
From-SVN: r15221
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
Jeff Law [Wed, 10 Sep 1997 06:42:02 +0000 (00:42 -0600)]
Forgot to commit..
From-SVN: r15219
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
Manfred Hollstein [Wed, 10 Sep 1997 06:32:10 +0000 (06:32 +0000)]
* Makefile.in (clean): Delete libgcc1-test.
From-SVN: r15217
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
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
Jason Merrill [Wed, 10 Sep 1997 03:34:51 +0000 (23:34 -0400)]
new testcases
From-SVN: r15214
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
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
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
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
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
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
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
Jeff Law [Tue, 9 Sep 1997 23:33:35 +0000 (17:33 -0600)]
Add libgcc2 exception to copyright notice.
From-SVN: r15205
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
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
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
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
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
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
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
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
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
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
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
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
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
Weiwen Liu [Mon, 8 Sep 1997 16:12:05 +0000 (16:12 +0000)]
* libio.h: Fix typo.
From-SVN: r15170
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
Jeff Law [Mon, 8 Sep 1997 14:53:44 +0000 (08:53 -0600)]
Fix thinko.
From-SVN: r15168
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
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
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
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
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
Weiwen Liu [Mon, 8 Sep 1997 04:55:20 +0000 (04:55 +0000)]
* Makefile.in (sdbout.o): Depend on insn-config.h.
From-SVN: r15141
Jim Wilson [Mon, 8 Sep 1997 02:06:55 +0000 (19:06 -0700)]
Fix typo in last patch.
From-SVN: r15139
Jim Wilson [Mon, 8 Sep 1997 01:51:02 +0000 (01:51 +0000)]
Fix m68k-motorola-sysv (aka delta) build failure for Manfred Hollstein.
* m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
From-SVN: r15138
Jeff Law [Sun, 7 Sep 1997 22:10:34 +0000 (16:10 -0600)]
version.c: Bump for snapshot.
* version.c: Bump for snapshot.
* expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
when op1_is_pow2.
* final.c (shorten_branches): During first pass, assume worst
possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
* Makefile.in (distclean): Remove various things left around
by running the testsuite.
From-SVN: r15136
Jeff Law [Sun, 7 Sep 1997 19:45:33 +0000 (13:45 -0600)]
Makefile.in (distclean): Remove various things left around by running the testsuite.
* Makefile.in (distclean): Remove various things left around
by running the testsuite.
From-SVN: r15135
Manfred Hollstein [Sun, 7 Sep 1997 19:17:02 +0000 (19:17 +0000)]
configure.in (out_file): Emit definition to config.status in order to have a defined value for...
* configure.in (out_file): Emit definition to config.status in order
to have a defined value for configure.lang.
* configure: Re-built.
From-SVN: r15134
Jan-Jaap van der Heijden [Sun, 7 Sep 1997 16:00:47 +0000 (18:00 +0200)]
configure.in: Make symlink to as-new rather than as.new.
* configure.in: Make symlink to as-new rather than as.new. Similarly
for ld-new.
* configure: Rebuilt.
From-SVN: r15133
Mark Mitchell [Sat, 6 Sep 1997 20:10:05 +0000 (20:10 +0000)]
decl.c (replace_defag): Undo previous change.
Sat Sep 6 10:20:27 1997 Mark Mitchell <mmitchell@usa.net>
* decl.c (replace_defag): Undo previous change.
* lex.c (do_pending_defargs): Deal with member templates.
* pt.c (is_member_template): Avoid crashing when passed a
non-function argument.
From-SVN: r15131
Jason Merrill [Sat, 6 Sep 1997 08:10:07 +0000 (04:10 -0400)]
class.c (grow_method): Remove check for redeclaration.
* class.c (grow_method): Remove check for redeclaration.
Fri Sep 5 01:37:17 1997 Mark Mitchell <mmitchell@usa.net>
* cp-tree.h (INNERMOST_TEMPLATE_PARMS): New macro.
(DECL_INNERMOST_TEMPLATE_PARMS): Likewise.
(PRIMARY_TEMPLATE_P): Use it.
* call.c (build_overload_call_real): Use it.
* class.c (instantiate_type): Likewise.
* decl.c (decls_match): Likewise.
* method.c (build_overload_identifier): Likewise.
* pt.c (push_template_decl): Likewise.
(classtype_mangled_name): Likewise.
(lookup_template_class): Likewise.
* cp-tree.h (DECL_NTPARMS): Change name from DECL_NT_PARMS to
DECL_NTPARMS to conform to usage elsewhere.
* call.c (add_template_candidate): Likewise.
* class.c (instantiate_type): Likewise.
* pt.c (instantiate_template): Likewise.
(get_bindings): Likewise.
* class.c (grow_method): Use DECL_FUNCTION_TEMPLATE_P instead of
is_member_template.
* pt.c (unify): Undo changes to allow multiple levels of template
parameters.
(type_unification): Likewise.
(fn_type_unification): Likewise.
(get_class_bindings): Likewise.
* cp-tree.h (Likewise).
* decl.c (replace_defarg): Check that the type of the default
parameter does not invlove a template type before complaining
about the initialization.
* error.c (dump_expr): Deal with template constant parameters in
member templates correctly.
* pt.c (is_member_template): Deal with class specializations
correctly.
(tsubst): Handle "partial instantiation" of member templates
correctly.
Wed Sep 3 12:30:24 1997 Mark Mitchell <mmitchell@usa.net>
* pt.c (type_unification): Change calling squence to allow for
multiple levels of template parameters.
(tsubst_expr): Likewise.
(tsubst): Likewise.
(tsubst_copy): Likewise.
(instantiate_template): Likewise.
(unify): Likewise.
* call.c (build_overload_call_real): Use it.
(add_builtin_candidate): Use it.
(build_new_method_call): Use it.
* class.c (instantiate_type): Use it.
* decl.c (grokdeclarator): Use it.
* decl2.c (finish_file): Use it.
* method.c (build_overload_identifier): Use it.
* call.c (add_template_candidate): Add additional parameter for
the function return type. Call fn_type_unification istead of
type_unification.
(build_user_type_conversion_1): Handle member templates.
(build_new_function_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
* class.c (grow_method): Don't give an error message indicating
that two member templates with the same name are ambiguous.
(finish_struct): Treat member template functions just like member
functions.
* cp-tree.h (check_member_template): Add declaration.
(begin_member_template_processing): Likewise.
(end_member_template_processing): Likewise.
(fn_type_unification): Likewise.
(is_member_template): Likewise.
(tsubst): Change prototype.
(tsubst_expr): Likewise.
(tsubst_copy): Likewise.
(instantiate_template): Likewise.
(get_bindings): Likewise.
* decl.c (decls_match): Handle multiple levels of template
parameters.
(pushdecl): Handle template type params just like other type
declarations.
(push_class_level_binding): Return immediately if the
class_binding_level is NULL.
(grokfndecl): If check_classfn() returns a member_template, use
the result of the template, not the template itself.
* decl2.c (check_member_template): New function. Check to see
that the entity declared to be a member template can be one.
(check_classfn): Allow redeclaration of member template functions
with different types; the new functions can be specializations or
explicit instantiations.
* error.c (dump_decl): Handle multiple levels of template
parameters.
(dump_function_decl): Update to handle function templates.
* lex.c (do_pending_inlines): Set up template parameter context
for member templates.
(process_next_inline): Likewise.
* method. (build_overload_identifier): Adjust for multiple levels
of template parameters.
* parse.y (fn.def2): Add member templates.
(component_decl_1): Likewise.
* pt.c (begin_member_template_processing): New function.
(end_member_template_processing): Likewise.
(is_member_template): Likewise.
(fn_type_unification): Likewise.
(current_template_parms): Return a vector of all the template
parms, not just the innermost level of parms.
(push_template_decl): Deal with the possibility of member
templates.
(lookup_template_class): Likewise.
(uses_template_parms): Likewise.
(tsubst): Modify processing to TEMPLATE_TYPE_PARM and
TEMPLATE_CONST_PARM to deal with multiple levels of template
arguments. Add processing of TEMPLATE_DECL to produce new
TEMPLATE_DECLs from old ones.
(do_decl_instantiation): Handle member templates.
* search.c (lookup_fnfields_1): Handle member template conversion
operators.
* tree.c (cp_tree_equal): Check the levels, as well as the
indices, of TEMPLATE_CONST_PARMs.
* typeck.c (comptypes): Check the levels, as well as the indices,
fo TEMPLATE_TYPE_PARMs.
(build_x_function_call): Treat member templates like member
functions.
Member templates.
From-SVN: r15130
Brendan Kehoe [Sat, 6 Sep 1997 07:44:38 +0000 (03:44 -0400)]
Insert libio rewrite and its various changes from devo.
From-SVN: r15129
Jim Wilson [Sat, 6 Sep 1997 00:29:47 +0000 (00:29 +0000)]
Fix `make distclean' failure.
* Makefile.in (distclean): Do MULTICLEAN before deleting Makefile.
From-SVN: r15128
Jim Wilson [Fri, 5 Sep 1997 23:59:43 +0000 (23:59 +0000)]
Fix undefined reference to constructor with -O3 -fprofile-arcs.
* profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
From-SVN: r15127
Christian Kuehnke [Fri, 5 Sep 1997 23:17:19 +0000 (23:17 +0000)]
sparc.md: Add ultrasparc scheduling support.
* sparc/sparc.md: Add ultrasparc scheduling support.
* sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
From-SVN: r15126
Joel Sherrill [Fri, 5 Sep 1997 23:15:09 +0000 (23:15 +0000)]
* configure.in (*-*-rtems*): Do not build libgloss for rtems.
From-SVN: r15125
Jeffrey A Law [Fri, 5 Sep 1997 21:37:51 +0000 (21:37 +0000)]
libio.exp (test_libio): Use libstdc++_{include,link}_flags instead of g++_{include,link}_flags.
* lib/libio.exp (test_libio): Use libstdc++_{include,link}_flags
instead of g++_{include,link}_flags.
From-SVN: r15123
Jim Wilson [Fri, 5 Sep 1997 20:06:11 +0000 (20:06 +0000)]
sdbout.c (plain_type_1, [...]): Verify that TYPE_DOMAIN has integer TYPE_{MAX,MIN}_VALUE before using them.
* sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
has integer TYPE_{MAX,MIN}_VALUE before using them.
Bring over from the FSF.
From-SVN: r15117
Philippe De Muyter [Fri, 5 Sep 1997 20:03:37 +0000 (22:03 +0200)]
integrate.c (save_for_inline_copying): Use 0, not NULL_PTR, as initial value for real_label_map.
* integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
as initial value for real_label_map.
(copy_for_inline): Likewise.
Brought over from the FSF.
From-SVN: r15116
J"orn Rennecke [Fri, 5 Sep 1997 19:36:35 +0000 (19:36 +0000)]
* sched.c (update_flow_info) When looking if to set found_split_dest
or found_orig_dest, look at all parts of a PARALLEL.
* haifa-sched.c (update_flow_info): Likewise.
From-SVN: r15115
Jeffrey A Law [Fri, 5 Sep 1997 18:25:50 +0000 (18:25 +0000)]
* config.sub: Handle v850-elf.
From-SVN: r15114
Jeffrey A Law [Fri, 5 Sep 1997 17:43:51 +0000 (17:43 +0000)]
v850: New directory for v850 port.
* v850: New directory for v850 port.
* v850/lib1funcs.asm: New file.
* t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
* ginclude/va-v850.h: New file.
* varargs.h, stdarg.h: Include va-mn10200.h.
* configure.in (mn10200-*-*): New target.
* Makefile.in (USER_H): Add va-mn10200.h.
From-SVN: r15104
Jeff Law [Fri, 5 Sep 1997 17:41:24 +0000 (11:41 -0600)]
v850: New directory for v850 port.
Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
* v850: New directory for v850 port.
* v850/lib1funcs.asm: New file.
* t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
* ginclude/va-v850.h: New file.
* varargs.h, stdarg.h: Include va-mn10200.h.
* configure.in (mn10200-*-*): New target.
* Makefile.in (USER_H): Add va-mn10200.h.
From-SVN: r15103
Jim Wilson [Fri, 5 Sep 1997 15:36:39 +0000 (15:36 +0000)]
m68k.h (MACHINE_STATE_SAVE, [...]): Add __HPUX_ASM__ versions.
* m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
__HPUX_ASM__ versions.
Fixes build problems for m68k-hp-hpux*
From-SVN: r15102
Jeff Law [Fri, 5 Sep 1997 15:18:14 +0000 (09:18 -0600)]
Add new pointer.
From-SVN: r15101
Jeffrey A Law [Fri, 5 Sep 1997 15:06:54 +0000 (15:06 +0000)]
* install.sh: Delete duplicate install script.
From-SVN: r15100
Jeffrey A Law [Fri, 5 Sep 1997 15:05:56 +0000 (15:05 +0000)]
* install-sh: Delete duplicate install script.
From-SVN: r15099
Richard Henderson [Fri, 5 Sep 1997 06:19:00 +0000 (23:19 -0700)]
* cbrt.c: Tweak to work on more targets.
From-SVN: r15098