platform/upstream/gcc.git
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

26 years ago* Makefile.in (sdbout.o): Depend on insn-config.h.
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

26 years agoFix typo in last patch.
Jim Wilson [Mon, 8 Sep 1997 02:06:55 +0000 (19:06 -0700)]
Fix typo in last patch.

From-SVN: r15139

26 years agoFix m68k-motorola-sysv (aka delta) build failure for Manfred Hollstein.
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

26 years agoversion.c: Bump for snapshot.
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

26 years agoMakefile.in (distclean): Remove various things left around by running the testsuite.
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

26 years agoconfigure.in (out_file): Emit definition to config.status in order to have a defined...
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

26 years agoconfigure.in: Make symlink to as-new rather than as.new.
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

26 years agodecl.c (replace_defag): Undo previous change.
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

26 years agoclass.c (grow_method): Remove check for redeclaration.
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

26 years agoInsert libio rewrite and its various changes from devo.
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

26 years agoFix `make distclean' failure.
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

26 years agoFix undefined reference to constructor with -O3 -fprofile-arcs.
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

26 years agosparc.md: Add ultrasparc scheduling support.
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

26 years ago* configure.in (*-*-rtems*): Do not build libgloss for rtems.
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

26 years agolibio.exp (test_libio): Use libstdc++_{include,link}_flags instead of g++_{include...
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

26 years agosdbout.c (plain_type_1, [...]): Verify that TYPE_DOMAIN has integer TYPE_{MAX,MIN...
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

26 years agointegrate.c (save_for_inline_copying): Use 0, not NULL_PTR, as initial value for...
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

26 years ago* sched.c (update_flow_info) When looking if to set found_split_dest
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

26 years ago* config.sub: Handle v850-elf.
Jeffrey A Law [Fri, 5 Sep 1997 18:25:50 +0000 (18:25 +0000)]
* config.sub: Handle v850-elf.

From-SVN: r15114

26 years agov850: New directory for v850 port.
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

26 years agov850: New directory for v850 port.
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

26 years agom68k.h (MACHINE_STATE_SAVE, [...]): Add __HPUX_ASM__ versions.
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

26 years agoAdd new pointer.
Jeff Law [Fri, 5 Sep 1997 15:18:14 +0000 (09:18 -0600)]
Add new pointer.

From-SVN: r15101

26 years ago* install.sh: Delete duplicate install script.
Jeffrey A Law [Fri, 5 Sep 1997 15:06:54 +0000 (15:06 +0000)]
* install.sh: Delete duplicate install script.

From-SVN: r15100

26 years ago* install-sh: Delete duplicate install script.
Jeffrey A Law [Fri, 5 Sep 1997 15:05:56 +0000 (15:05 +0000)]
* install-sh: Delete duplicate install script.

From-SVN: r15099

26 years ago* cbrt.c: Tweak to work on more targets.
Richard Henderson [Fri, 5 Sep 1997 06:19:00 +0000 (23:19 -0700)]
* cbrt.c: Tweak to work on more targets.

From-SVN: r15098

26 years agoMakefile.in (clean): Don't remove config.cache.
Jeffrey A Law [Fri, 5 Sep 1997 06:16:30 +0000 (06:16 +0000)]
Makefile.in (clean): Don't remove config.cache.

        * Makefile.in (clean): Don't remove config.cache.
        (distclean): Do it here instead.

From-SVN: r15097

26 years agoreg-stack.c (subst_stack_regs): Pop the stack register for a computed goto which...
Stan Cox [Fri, 5 Sep 1997 05:14:46 +0000 (05:14 +0000)]
reg-stack.c (subst_stack_regs): Pop the stack register for a computed goto which sets the same stack register.

        * reg-stack.c (subst_stack_regs): Pop the stack register for a
        computed goto which sets the same stack register.

        * reg-stack.c (compare_for_stack_reg): Swap only if the source and
        destination are both on the regstack.
        (subst_stack_regs_pat): Put the destination at the top of the regstack.
Bring over regstack bugfixes from the FSF.

From-SVN: r15096

26 years agoFix mips-sgi-irix5.2 eh25 g++ testsuite failure.
Jim Wilson [Fri, 5 Sep 1997 02:36:53 +0000 (02:36 +0000)]
Fix mips-sgi-irix5.2 eh25 g++ testsuite failure.

* mips.md (nonlocal_goto_receiver): Define.

From-SVN: r15091

26 years agoFix another -fprofile-arcs bug from Joseph Myers <jsm28@cam.ac.uk>.
Jim Wilson [Fri, 5 Sep 1997 02:17:56 +0000 (02:17 +0000)]
Fix another -fprofile-arcs bug from Joseph Myers <jsm28@cam.ac.uk>.

* profile.c (output_arc_profiler): Check next_insert_after for non
NULL before deferencing it.

From-SVN: r15090

26 years ago* i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
Jim Wilson [Thu, 4 Sep 1997 23:54:04 +0000 (23:54 +0000)]
* i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.

From-SVN: r15088

26 years agotweak
Jason Merrill [Thu, 4 Sep 1997 23:10:35 +0000 (19:10 -0400)]
tweak

From-SVN: r15086

26 years agoTest commit.
Jeff Law [Thu, 4 Sep 1997 22:20:21 +0000 (16:20 -0600)]
Test commit.

From-SVN: r15085

26 years ago* i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
Jeffrey A Law [Thu, 4 Sep 1997 20:50:19 +0000 (20:50 +0000)]
* i386.h (CPP_CPU_DEFAULT): Avoid using #elif.

From-SVN: r15083

26 years agoFor phases starting with flow, print basic block information when doing dumps
Michael Meissner [Thu, 4 Sep 1997 19:15:50 +0000 (19:15 +0000)]
For phases starting with flow, print basic block information when doing dumps

From-SVN: r15082

26 years agoFix minor bug reported by Jan Hubicka.
Jim Wilson [Thu, 4 Sep 1997 19:06:02 +0000 (19:06 +0000)]
Fix minor bug reported by Jan Hubicka.

* toplev.c (main): Change #elif to #else/#ifdef

From-SVN: r15081

26 years agoFix minor bugs found by riscos build attempt.
Jim Wilson [Thu, 4 Sep 1997 18:54:16 +0000 (18:54 +0000)]
Fix minor bugs found by riscos build attempt.

* tlink.c: Include ctype.h.
* ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.

From-SVN: r15080

26 years agoChangeLog entry for last bitmap change.
Michael Meissner [Thu, 4 Sep 1997 17:17:09 +0000 (11:17 -0600)]
ChangeLog entry for last bitmap change.

From-SVN: r15079

26 years agoAdd free declaration
Michael Meissner [Thu, 4 Sep 1997 17:06:34 +0000 (17:06 +0000)]
Add free declaration

From-SVN: r15078

26 years ago* i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
Joel Sherrill [Thu, 4 Sep 1997 15:59:54 +0000 (15:59 +0000)]
* i960/i960.h: Added default for SUBTARGET_SWITCHES macro.

From-SVN: r15077

26 years agoprofile.c (output_arc_profiler): Verify next_insert_after is an INSN before and after...
Jim Wilson [Thu, 4 Sep 1997 15:54:24 +0000 (15:54 +0000)]
profile.c (output_arc_profiler): Verify next_insert_after is an INSN before and after skipping a stack pop.

        * profile.c (output_arc_profiler): Verify next_insert_after is an
        INSN before and after skipping a stack pop.

From-SVN: r15076

26 years ago* .cvsignore (*-install): Remove.
Fred Fish [Thu, 4 Sep 1997 15:49:02 +0000 (15:49 +0000)]
* .cvsignore (*-install): Remove.

From-SVN: r15075

26 years agofinal.c (shorten_branches): Don't count the lengths of deleted instructions.
J"orn Rennecke [Thu, 4 Sep 1997 15:47:40 +0000 (15:47 +0000)]
final.c (shorten_branches): Don't count the lengths of deleted instructions.

        * final.c (shorten_branches): Don't count the lengths of deleted
        instructions.

From-SVN: r15074

26 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Thu, 4 Sep 1997 15:41:38 +0000 (15:41 +0000)]
* version.c: Bump for snapshot.

From-SVN: r15072

26 years agoAdd EXECUTE_IF_AND_IN_{BITMAP,REG_SET}, and bitmap_print
Michael Meissner [Thu, 4 Sep 1997 15:12:20 +0000 (15:12 +0000)]
Add EXECUTE_IF_AND_IN_{BITMAP,REG_SET}, and bitmap_print

From-SVN: r15071

26 years agoFix srcdir==objdir build failure with multilibbed libiberty.
Jim Wilson [Wed, 3 Sep 1997 22:53:56 +0000 (22:53 +0000)]
Fix srcdir==objdir build failure with multilibbed libiberty.

* Makefile.in (stamp-needed, stamp-config): Add MULTISRCTOP to
pathname for move-if-change.

From-SVN: r15067

26 years agotypeck.c (c_expand_return): Always convert_for_initialization before checking for...
Jason Merrill [Wed, 3 Sep 1997 20:01:18 +0000 (20:01 +0000)]
typeck.c (c_expand_return): Always convert_for_initialization before checking for returning a pointer to local.

* typeck.c (c_expand_return): Always convert_for_initialization
  before checking for returning a pointer to local.

From-SVN: r15064

26 years agoFix H.J. Lu's alpha-linux aliasing bug.
Jim Wilson [Wed, 3 Sep 1997 19:28:49 +0000 (19:28 +0000)]
Fix H.J. Lu's alpha-linux aliasing bug.

* alias.c (true_dependence): Address with AND can alias scalars.
(anti_dependence, output_dependence): Likewise.

From-SVN: r15063

26 years agopt.c (type_unification): If strict and the function parm doesn't use template parms...
Jason Merrill [Wed, 3 Sep 1997 18:41:11 +0000 (14:41 -0400)]
pt.c (type_unification): If strict and the function parm doesn't use template parms, just compare types.

* pt.c (type_unification): If strict and the function parm doesn't
use template parms, just compare types.

From-SVN: r15062