gcc.git
27 years agoInitial revision
Jason Merrill [Wed, 2 Sep 1998 12:33:38 +0000 (08:33 -0400)]
Initial revision

From-SVN: r22181

27 years agoInitial revision
Jason Merrill [Wed, 2 Sep 1998 12:33:35 +0000 (08:33 -0400)]
Initial revision

From-SVN: r22180

27 years agoInitial revision
Jason Merrill [Wed, 2 Sep 1998 12:33:33 +0000 (08:33 -0400)]
Initial revision

From-SVN: r22179

27 years agoThis commit was generated by cvs2svn to compensate for changes in r22177,
Jason Merrill [Wed, 2 Sep 1998 12:28:51 +0000 (08:28 -0400)]
This commit was generated by cvs2svn to compensate for changes in r22177,

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

From-SVN: r22178

27 years agoInitial revision
Jason Merrill [Wed, 2 Sep 1998 12:28:14 +0000 (08:28 -0400)]
Initial revision

From-SVN: r22173

27 years ago
Benjamin Kosnik [Wed, 2 Sep 1998 11:42:40 +0000 (11:42 +0000)]

typo

From-SVN: r22170

27 years agodwarfout.c (fundamental_type_code): Encode 32 bit floats/doubles as FT_float.
J"orn Rennecke [Wed, 2 Sep 1998 11:31:14 +0000 (11:31 +0000)]
dwarfout.c (fundamental_type_code): Encode 32 bit floats/doubles as FT_float.

* dwarfout.c (fundamental_type_code): Encode 32 bit floats/doubles
as FT_float.

From-SVN: r22169

27 years agoUpdate definitions of HANDLE_PRAGMA macro in order to conform to new spec.
Nick Clifton [Wed, 2 Sep 1998 10:13:23 +0000 (10:13 +0000)]
Update definitions of HANDLE_PRAGMA macro in order to conform to new spec.

From-SVN: r22168

27 years agoChange HANDLE_PRAGMA macro so that it supports USE_CPPLIB
Nick Clifton [Wed, 2 Sep 1998 10:04:26 +0000 (10:04 +0000)]
Change HANDLE_PRAGMA macro so that it supports USE_CPPLIB

From-SVN: r22167

27 years agoChange HANDLE_PRAGMA macro so that it will work with USE_CPPLIB
Nick Clifton [Wed, 2 Sep 1998 10:02:27 +0000 (10:02 +0000)]
Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB

From-SVN: r22166

27 years agoChange HANDLE_PRAGMA macro so that it will work with USE_CPPLIB.
Nick Clifton [Wed, 2 Sep 1998 09:59:57 +0000 (09:59 +0000)]
Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB.

Add INSERT_ATTRIBUTES macro.

From-SVN: r22165

27 years agosparc.md (movdf): Only generate special RTL for LABEL_REFs when PIC.
David S. Miller [Wed, 2 Sep 1998 03:12:08 +0000 (03:12 +0000)]
sparc.md (movdf): Only generate special RTL for LABEL_REFs when PIC.

* config/sparc/sparc.md (movdf): Only generate special RTL for
LABEL_REFs when PIC.
(move_label_di): Remove
(movdi_pic_label_ref, movdi_high_pic_label_ref,
movdi_lo_sum_pic_label_ref): New patterns for 64-bit label
references when PIC.
* config/sparc/sparc.h (ASM_OUTPUT_ADDR_VEC_ELT,
ASM_OUTPUT_ADDR_DIFF_ELT): Don't do anything special for MEDLOW,
output an .xword for all 64-bit cases.

From-SVN: r22164

27 years agoDaily bump.
Jeff Law [Wed, 2 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22163

27 years agosparc.c (finalize_pic): Don't output arbitrary alignment, use FUNCTION_BOUNDARY instead.
David S. Miller [Tue, 1 Sep 1998 16:59:46 +0000 (16:59 +0000)]
sparc.c (finalize_pic): Don't output arbitrary alignment, use FUNCTION_BOUNDARY instead.

* config/sparc/sparc.c (finalize_pic): Don't output arbitrary
alignment, use FUNCTION_BOUNDARY instead.
(sparc_output_deferred_case_vectors): Likewise.

From-SVN: r22162

27 years agodecl2.c (output_vtable_inherit): Use %cDIGIT in the operands.
Jason Merrill [Tue, 1 Sep 1998 13:17:36 +0000 (13:17 +0000)]
decl2.c (output_vtable_inherit): Use %cDIGIT in the operands.

* decl2.c (output_vtable_inherit): Use %cDIGIT in the operands.
* class.c (build_vtable_entry_ref): Likewise.

From-SVN: r22161

27 years agocp-tree.h (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION): New macro.
Mark Mitchell [Tue, 1 Sep 1998 13:08:44 +0000 (13:08 +0000)]
cp-tree.h (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION): New macro.

* cp-tree.h (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION): New macro.
* decl2.c (import_export_decl): Likewise.
* pt.c (instantiate_decl): Use it.

From-SVN: r22160

27 years agoFix typo
Mark Mitchell [Tue, 1 Sep 1998 13:05:03 +0000 (13:05 +0000)]
Fix typo

From-SVN: r22159

27 years agodecl.c (lookup_name_real): Also do implicit typename thing for artificial TYPE_DECLs.
Jason Merrill [Tue, 1 Sep 1998 11:51:41 +0000 (11:51 +0000)]
decl.c (lookup_name_real): Also do implicit typename thing for artificial TYPE_DECLs.

* decl.c (lookup_name_real): Also do implicit typename thing for
artificial TYPE_DECLs.
* search.c (lookup_field): Likewise.
(lookup_fnfields, lookup_field): Adjust for implicit typename kludge.
* semantics.c (begin_constructor_declarator): Use enter_scope_of.
(enter_scope_of): Extract type from implicit typename.
(begin_class_definition): Likewise.
* lex.c (identifier_type): Handle implicit typename when checking
for SELFNAME.
* cp-tree.h: Declare flag_strict_prototype.
* lex.c (do_scoped_id, do_identifier): Don't implicitly_declare if
-fstrict-prototype.
* decl.c (init_decl_processing): If -f{no,-}strict-prototype wasn't
specified, set it to the value of pedantic.

From-SVN: r22158

27 years agoFix typo
Mark Mitchell [Tue, 1 Sep 1998 10:03:49 +0000 (10:03 +0000)]
Fix typo

From-SVN: r22157

27 years ago* decl2.c (arg_assoc): Handle template-id expressions as arguments.
Mark Mitchell [Tue, 1 Sep 1998 09:56:40 +0000 (09:56 +0000)]
* decl2.c (arg_assoc): Handle template-id expressions as arguments.

From-SVN: r22156

27 years agoVersion.c: Update.
Craig Burley [Tue, 1 Sep 1998 09:13:54 +0000 (05:13 -0400)]
Version.c: Update.

Tue Sep  1 10:06:06 1998  Craig Burley  <burley@gnu.org>
        * libF77/Version.c: Update.
        * libU77/Version.c: Update.
        * libI77/Version.c: Update.

From-SVN: r22155

27 years agobugs.texi, [...]: Doc updates from Craig.
Craig Burley [Tue, 1 Sep 1998 09:13:23 +0000 (03:13 -0600)]
bugs.texi, [...]: Doc updates from Craig.

8
        * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22154

27 years agobugs.texi, [...]: Doc updates from Craig.
Craig Burley [Tue, 1 Sep 1998 09:13:22 +0000 (03:13 -0600)]
bugs.texi, [...]: Doc updates from Craig.

        * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22153

27 years agobugs.texi, [...]: Doc updates from Craig.
Craig Burley [Tue, 1 Sep 1998 09:13:21 +0000 (03:13 -0600)]
bugs.texi, [...]: Doc updates from Craig.

        * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22152

27 years agobugs.texi, [...]: Doc updates from Craig.
Craig Burley [Tue, 1 Sep 1998 09:13:17 +0000 (03:13 -0600)]
bugs.texi, [...]: Doc updates from Craig.


        * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22151

27 years agoDaily bump.
Jeff Law [Tue, 1 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22145

27 years agodecl.c (finish_enum): Handle member enums of classes declared in template functions.
Mark Mitchell [Mon, 31 Aug 1998 23:38:02 +0000 (23:38 +0000)]
decl.c (finish_enum): Handle member enums of classes declared in template functions.

* decl.c (finish_enum): Handle member enums of classes declared in
template functions.
* decl2.c (grok_x_components): Strip attributres before calling
groktypename.

From-SVN: r22144

27 years ago* NEWS: Add SCO Openserver and Unixware 7 notes.
Jeffrey A Law [Mon, 31 Aug 1998 22:44:12 +0000 (22:44 +0000)]
* NEWS: Add SCO Openserver and Unixware 7 notes.

From-SVN: r22141

27 years agosparc.md (movsf_const_intreg): Kill warning.
David S. Miller [Mon, 31 Aug 1998 18:30:46 +0000 (18:30 +0000)]
sparc.md (movsf_const_intreg): Kill warning.

* config/sparc/sparc.md (movsf_const_intreg): Kill warning.
(movtf_insn_sp64, movtf_no_e_insn_sp64): Reorder alternatives.

From-SVN: r22140

27 years agoAdd support for torture_eval_before_compile and torture_eval_before_execute
Nick Clifton [Mon, 31 Aug 1998 15:20:41 +0000 (15:20 +0000)]
Add support for torture_eval_before_compile and torture_eval_before_execute
variables.

From-SVN: r22139

27 years agomh-aix43 (NM_FOR_TARGET): Add -X32_64 as well.
David Edelsohn [Mon, 31 Aug 1998 14:53:38 +0000 (14:53 +0000)]
mh-aix43 (NM_FOR_TARGET): Add -X32_64 as well.

From-SVN: r22138

27 years agova_list.h: New file.
Richard Henderson [Mon, 31 Aug 1998 13:59:22 +0000 (06:59 -0700)]
va_list.h: New file.

        * alpha/va_list.h: New file.
        * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.

From-SVN: r22137

27 years agoNEWS: Fix typos.
Jeff Law [Mon, 31 Aug 1998 13:57:57 +0000 (07:57 -0600)]
NEWS: Fix typos.


        * NEWS: Fix typos.

From-SVN: r22136

27 years agoNEWS: Fix typos.
Jeff Law [Mon, 31 Aug 1998 13:57:55 +0000 (07:57 -0600)]
NEWS: Fix typos.

(
        * NEWS: Fix typos.

From-SVN: r22135

27 years agovarasm.c (compare_constant_1): Handle RANGE_EXPR.
Dave Brolley [Mon, 31 Aug 1998 12:57:45 +0000 (12:57 +0000)]
varasm.c (compare_constant_1): Handle RANGE_EXPR.

Mon Aug 31 15:42:18 1998  Dave Brolley  <brolley@cygnus.com>
* varasm.c (compare_constant_1): Handle RANGE_EXPR.
(record_constant_1): Handle RANGE_EXPR.

From-SVN: r22132

27 years agocp-tree.h, decl2.c: Remove support for -fall-virtual, -fenum-int-equivalence and...
Jason Merrill [Mon, 31 Aug 1998 12:54:18 +0000 (08:54 -0400)]
cp-tree.h, decl2.c: Remove support for -fall-virtual, -fenum-int-equivalence and -fno-nonnull-objects.

* cp-tree.h, decl2.c: Remove support for -fall-virtual,
-fenum-int-equivalence and -fno-nonnull-objects.
* class.c (check_for_override): Remove support for -fall-virtual.
(finish_struct_1): Likewise.
* call.c (build_new_op): Remove support for -fenum-int-equivalence.
* typeck.c (build_binary_op_nodefault): Likewise.
* cvt.c (ocp_convert): Likewise.
* call.c (build_vfield_ref): Remove support for -fno-nonnull-objects.
* class.c (build_vbase_path): Likewise.

From-SVN: r22131

27 years agodecl.c (layout_chill_variants): Calculate nlables properly.
Dave Brolley [Mon, 31 Aug 1998 12:35:32 +0000 (12:35 +0000)]
decl.c (layout_chill_variants): Calculate nlables properly.

Mon Aug 31 15:35:16 1998  Dave Brolley  <brolley@cygnus.com>
* decl.c (layout_chill_variants): Calculate nlables properly.

From-SVN: r22130

27 years agomake member I public
Brendan Kehoe [Mon, 31 Aug 1998 10:49:39 +0000 (06:49 -0400)]
make member I public

From-SVN: r22129

27 years agoDocument TImode out of 2nd Haifa pass.
Richard Henderson [Mon, 31 Aug 1998 10:02:34 +0000 (03:02 -0700)]
Document TImode out of 2nd Haifa pass.

From-SVN: r22128

27 years agoprint-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
Richard Henderson [Mon, 31 Aug 1998 09:55:31 +0000 (03:55 -0600)]
print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.


        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
        * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
        and NOTE_INSN_RANGE_END specially.
        (reemit_notes): Likewise.

From-SVN: r22127

27 years agoprint-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
Richard Henderson [Mon, 31 Aug 1998 09:55:30 +0000 (03:55 -0600)]
print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.


        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
        * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
        and NOTE_INSN_RANGE_END specially.
        (reemit_notes): Likewise.

From-SVN: r22126

27 years agoprint-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
Richard Henderson [Mon, 31 Aug 1998 09:55:28 +0000 (03:55 -0600)]
print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.

(
        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
        * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
        and NOTE_INSN_RANGE_END specially.
        (reemit_notes): Likewise.

From-SVN: r22125

27 years agoFixes for sunos4 cc:
Kaveh R. Ghazi [Mon, 31 Aug 1998 07:21:05 +0000 (07:21 +0000)]
Fixes for sunos4 cc:

        * sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
        (ultrasparc_sched_init): Remove unneeded &.

From-SVN: r22124

27 years agochange to bogus errors
Jason Merrill [Mon, 31 Aug 1998 02:25:51 +0000 (22:25 -0400)]
change to bogus errors

From-SVN: r22123

27 years agom68k.h (TARGET_SWITCHES): Don't remove MASK_68040 for -m68020-60, to prevent the...
Andreas Schwab [Mon, 31 Aug 1998 02:16:48 +0000 (02:16 +0000)]
m68k.h (TARGET_SWITCHES): Don't remove MASK_68040 for -m68020-60, to prevent the use of fintrz.

* config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040
for -m68020-60, to prevent the use of fintrz.

From-SVN: r22122

27 years agoDaily bump.
Jeff Law [Mon, 31 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22121

27 years agoconfigure.in: If the native compiler is GCC use $(WARN_CFLAGS) even in stage1.
Mark Mitchell [Sun, 30 Aug 1998 22:20:57 +0000 (22:20 +0000)]
configure.in: If the native compiler is GCC use $(WARN_CFLAGS) even in stage1.

* configure.in: If the native compiler is GCC use $(WARN_CFLAGS)
even in stage1.
* Makefile.in: Likewise.
* configure: Regenerated.

From-SVN: r22120

27 years agoMakefile.in: Avoid assumptions about "tr" behaves when LANG is set to something other...
Lutz Wohlrab [Sun, 30 Aug 1998 21:30:22 +0000 (21:30 +0000)]
Makefile.in: Avoid assumptions about "tr" behaves when LANG is set to something other than...

        * dbz/Makefile.in: Avoid assumptions about "tr" behaves when
        LANG is set to something other than English.

From-SVN: r22119

27 years agoconfig.guess: Avoid assumptions about "tr" behaves when LANG is set to something...
Lutz Wohlrab [Sun, 30 Aug 1998 21:29:31 +0000 (21:29 +0000)]
config.guess: Avoid assumptions about "tr" behaves when LANG is set to something other than...

        * config.guess: Avoid assumptions about "tr" behaves when
        LANG is set to something other than English.

From-SVN: r22118

27 years agoMakefile.in (INTERFACE): New, set to 2.
H.J. Lu [Sun, 30 Aug 1998 21:18:48 +0000 (15:18 -0600)]
Makefile.in (INTERFACE): New, set to 2.

#
* Makefile.in (INTERFACE): New, set to 2.
(ARLIB): Set to libstdc++.a.$(VERSION)
(ARLINK, MARLINK): New macros.
(LIBS): Add $(ARLINK).
($(ARLINK), marlink): New targets.
(install): Don't check $(libsubdir). Handle versioned libraries.
* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
(LIBS): Add marlink $(ARLINK).
* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
(ARLINK): New macros.
(BUILD_LIBS): Add $(ARLINK).
* config/dec-osf.ml (LIBS): Add $(ARLINK).
* config/elf.ml (LIBS): Likewise.
* config/elfshlibm.ml (LIBS): Likewise.
* config/hpux.ml (LIBS): Likewise.
* config/iris5.ml (LIBS): Likewise.
* config/sol2shm.ml (LIBS): Likewise.
* config/sunos4.ml (LIBS): Likewise.
* configure.in: Use ${topsrcdir}/config.if to put
LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
${package_makefile_frag}.

From-SVN: r22117

27 years agoMakefile.in (INTERFACE): New, set to 2.
H.J. Lu [Sun, 30 Aug 1998 21:18:44 +0000 (15:18 -0600)]
Makefile.in (INTERFACE): New, set to 2.

e
* Makefile.in (INTERFACE): New, set to 2.
(ARLIB): Set to libstdc++.a.$(VERSION)
(ARLINK, MARLINK): New macros.
(LIBS): Add $(ARLINK).
($(ARLINK), marlink): New targets.
(install): Don't check $(libsubdir). Handle versioned libraries.
* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
(LIBS): Add marlink $(ARLINK).
* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
(ARLINK): New macros.
(BUILD_LIBS): Add $(ARLINK).
* config/dec-osf.ml (LIBS): Add $(ARLINK).
* config/elf.ml (LIBS): Likewise.
* config/elfshlibm.ml (LIBS): Likewise.
* config/hpux.ml (LIBS): Likewise.
* config/iris5.ml (LIBS): Likewise.
* config/sol2shm.ml (LIBS): Likewise.
* config/sunos4.ml (LIBS): Likewise.
* configure.in: Use ${topsrcdir}/config.if to put
LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
${package_makefile_frag}.

From-SVN: r22116

27 years agoMakefile.in (INTERFACE): New, set to 2.
H.J. Lu [Sun, 30 Aug 1998 21:18:39 +0000 (15:18 -0600)]
Makefile.in (INTERFACE): New, set to 2.

p
* Makefile.in (INTERFACE): New, set to 2.
(ARLIB): Set to libstdc++.a.$(VERSION)
(ARLINK, MARLINK): New macros.
(LIBS): Add $(ARLINK).
($(ARLINK), marlink): New targets.
(install): Don't check $(libsubdir). Handle versioned libraries.
* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
(LIBS): Add marlink $(ARLINK).
* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
(ARLINK): New macros.
(BUILD_LIBS): Add $(ARLINK).
* config/dec-osf.ml (LIBS): Add $(ARLINK).
* config/elf.ml (LIBS): Likewise.
* config/elfshlibm.ml (LIBS): Likewise.
* config/hpux.ml (LIBS): Likewise.
* config/iris5.ml (LIBS): Likewise.
* config/sol2shm.ml (LIBS): Likewise.
* config/sunos4.ml (LIBS): Likewise.
* configure.in: Use ${topsrcdir}/config.if to put
LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
${package_makefile_frag}.

From-SVN: r22115

27 years agoMakefile.in (INTERFACE): New, set to 2.
H.J. Lu [Sun, 30 Aug 1998 21:18:37 +0000 (15:18 -0600)]
Makefile.in (INTERFACE): New, set to 2.

d
* Makefile.in (INTERFACE): New, set to 2.
(ARLIB): Set to libstdc++.a.$(VERSION)
(ARLINK, MARLINK): New macros.
(LIBS): Add $(ARLINK).
($(ARLINK), marlink): New targets.
(install): Don't check $(libsubdir). Handle versioned libraries.
* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
(LIBS): Add marlink $(ARLINK).
* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
(ARLINK): New macros.
(BUILD_LIBS): Add $(ARLINK).
* config/dec-osf.ml (LIBS): Add $(ARLINK).
* config/elf.ml (LIBS): Likewise.
* config/elfshlibm.ml (LIBS): Likewise.
* config/hpux.ml (LIBS): Likewise.
* config/iris5.ml (LIBS): Likewise.
* config/sol2shm.ml (LIBS): Likewise.
* config/sunos4.ml (LIBS): Likewise.
* configure.in: Use ${topsrcdir}/config.if to put
LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
${package_makefile_frag}.

From-SVN: r22114

27 years agoMakefile.in (INTERFACE): New, set to 2.
H.J. Lu [Sun, 30 Aug 1998 21:18:36 +0000 (15:18 -0600)]
Makefile.in (INTERFACE): New, set to 2.

a
* Makefile.in (INTERFACE): New, set to 2.
(ARLIB): Set to libstdc++.a.$(VERSION)
(ARLINK, MARLINK): New macros.
(LIBS): Add $(ARLINK).
($(ARLINK), marlink): New targets.
(install): Don't check $(libsubdir). Handle versioned libraries.
* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
(LIBS): Add marlink $(ARLINK).
* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
(ARLINK): New macros.
(BUILD_LIBS): Add $(ARLINK).
* config/dec-osf.ml (LIBS): Add $(ARLINK).
* config/elf.ml (LIBS): Likewise.
* config/elfshlibm.ml (LIBS): Likewise.
* config/hpux.ml (LIBS): Likewise.
* config/iris5.ml (LIBS): Likewise.
* config/sol2shm.ml (LIBS): Likewise.
* config/sunos4.ml (LIBS): Likewise.
* configure.in: Use ${topsrcdir}/config.if to put
LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
${package_makefile_frag}.

From-SVN: r22113

27 years ago* config.shared: Set libsubdir.
H.J. Lu [Sun, 30 Aug 1998 21:18:00 +0000 (21:18 +0000)]
* config.shared: Set libsubdir.

From-SVN: r22112

27 years ago* Makefile.in (INTERFACE): New, set to 1.
H.J. Lu [Sun, 30 Aug 1998 21:17:38 +0000 (21:17 +0000)]
* Makefile.in (INTERFACE): New, set to 1.

From-SVN: r22111

27 years agoconfigure.in (gxx_include_dir): Changed to '${prefix}/include/g++'-${libstdcxx_interf...
H.J. Lu [Sun, 30 Aug 1998 21:16:56 +0000 (21:16 +0000)]
configure.in (gxx_include_dir): Changed to '${prefix}/include/g++'-${libstdcxx_interface}.

        * configure.in (gxx_include_dir): Changed to
        '${prefix}/include/g++'-${libstdcxx_interface}.
        * configure: Rebuilt.

From-SVN: r22110

27 years agoconfigure (gxx_include_dir): Changed to '${prefix}/include/g++'-${libstdcxx_interface}.
H.J. Lu [Sun, 30 Aug 1998 21:15:53 +0000 (21:15 +0000)]
configure (gxx_include_dir): Changed to '${prefix}/include/g++'-${libstdcxx_interface}.

        * configure (gxx_include_dir): Changed to
        '${prefix}/include/g++'-${libstdcxx_interface}.
        * config.if: New to determine the interfaces.

From-SVN: r22109

27 years agoconfig.guess: Detect and handle MPE/IX.
Mark Klein [Sun, 30 Aug 1998 20:17:13 +0000 (20:17 +0000)]
config.guess: Detect and handle MPE/IX.

        * config.guess: Detect and handle MPE/IX.
        * config.sub: Deal with MPE/IX.

From-SVN: r22108

27 years agoexpr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use consistent.
Hans-Peter Nilsson [Sun, 30 Aug 1998 19:21:22 +0000 (21:21 +0200)]
expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use consistent.

        * expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use
        consistent.
        * tm.texi (Costs): Say MOVE_RATIO is number of mem-mem move
        *sequences* *below* which scalar moves will be used.

From-SVN: r22107

27 years ago* collect2.c (mktemp): Delete unused declaration.
Jeffrey A Law [Sun, 30 Aug 1998 18:15:27 +0000 (18:15 +0000)]
* collect2.c (mktemp): Delete unused declaration.

From-SVN: r22106

27 years agoerror.c (dump_decl): Use CP_DECL_CONTEXT, not DECL_CONTEXT, when comparing with globa...
Mark Mitchell [Sun, 30 Aug 1998 17:45:15 +0000 (17:45 +0000)]
error.c (dump_decl): Use CP_DECL_CONTEXT, not DECL_CONTEXT, when comparing with global_namespace.

* error.c (dump_decl): Use CP_DECL_CONTEXT, not DECL_CONTEXT, when
comparing with global_namespace.
(dump_aggr_type): Likewise.

From-SVN: r22105

27 years ago980626-1.c: Delete this test.
Jeffrey A Law [Sun, 30 Aug 1998 16:40:20 +0000 (16:40 +0000)]
980626-1.c: Delete this test.

        * gcc.dg/980626-1.c: Delete this test.  We've declared the warning
        this test triggers valid.

From-SVN: r22104

27 years agoxm-netbsd.h: Remove unnecessary file.
Jeffrey A Law [Sun, 30 Aug 1998 16:22:23 +0000 (16:22 +0000)]
xm-netbsd.h: Remove unnecessary file.

        * config/xm-netbsd.h: Remove unnecessary file.
        * config/*/xm-netbsd.h: Do not include the generic xm-netbsd.h
        file anymore, it is not needed.

From-SVN: r22103

27 years agoconvert.c (convert_to_integer): Issue an error on conversions to incomplete types.
Mark Mitchell [Sun, 30 Aug 1998 16:04:17 +0000 (16:04 +0000)]
convert.c (convert_to_integer): Issue an error on conversions to incomplete types.

* convert.c (convert_to_integer): Issue an error on conversions to
incomplete types.

From-SVN: r22102

27 years agoMakefile.in: Add lang_tree_files and gencheck.h.
Martin v. Löwis [Sun, 30 Aug 1998 15:50:47 +0000 (09:50 -0600)]
Makefile.in: Add lang_tree_files and gencheck.h.

        * Makefile.in: Add lang_tree_files and gencheck.h.
        * configure.in: Generate them.
        * gencheck.c: Include gencheck.h.

From-SVN: r22101

27 years agodecl.c (grokfndecl): Issue error on declaration of friend templates with explicit...
Mark Mitchell [Sun, 30 Aug 1998 11:46:44 +0000 (11:46 +0000)]
decl.c (grokfndecl): Issue error on declaration of friend templates with explicit template arguments.

* decl.c (grokfndecl): Issue error on declaration of friend
templates with explicit template arguments.

From-SVN: r22100

27 years agopt.c (convert_template_argument): New function, split out from...
Mark Mitchell [Sun, 30 Aug 1998 10:59:18 +0000 (10:59 +0000)]
pt.c (convert_template_argument): New function, split out from...

* pt.c (convert_template_argument): New function, split out
from...
(coerce_template_parms): Here.
(tsubst): Attempt better error-recovery.

From-SVN: r22099

27 years agoDaily bump.
Jeff Law [Sun, 30 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22095

27 years agosparc.md (pic_lo_sum_di, [...]): Rename to movdi_lo_sum_pic and movdi_high_pic and...
David S. Miller [Sat, 29 Aug 1998 22:46:34 +0000 (22:46 +0000)]
sparc.md (pic_lo_sum_di, [...]): Rename to movdi_lo_sum_pic and movdi_high_pic and make visible.

* config/sparc/sparc.md (pic_lo_sum_di, pic_sethi_di): Rename to
movdi_lo_sum_pic and movdi_high_pic and make visible.
* config/sparc/sparc.c (legitimize_pic_address): For -fPIC,
emit these when Pmode is not SImode.
* config/sparc/linux64.h (SPARC_DEFAULT_CMODEL): Make CM_MEDLOW.

From-SVN: r22094

27 years agoAdd Dave Brolley for chill and cpplib maint.
Jeff Law [Sat, 29 Aug 1998 21:36:16 +0000 (15:36 -0600)]
Add Dave Brolley for chill and cpplib maint.

From-SVN: r22090

27 years agoFix thinko in ultra_cmove_results_ready_p.
David S. Miller [Sat, 29 Aug 1998 19:16:39 +0000 (19:16 +0000)]
Fix thinko in ultra_cmove_results_ready_p.

From-SVN: r22088

27 years agoreally commit configure.in
David Edelsohn [Sat, 29 Aug 1998 15:41:49 +0000 (11:41 -0400)]
really commit configure.in

From-SVN: r22087

27 years agocygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit .linkonce directive after the first...
Mumit Khan [Sat, 29 Aug 1998 14:01:47 +0000 (08:01 -0600)]
cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit .linkonce directive after the first time.

0
        * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
        .linkonce directive after the first time.

From-SVN: r22086

27 years agocygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit .linkonce directive after the first...
Mumit Khan [Sat, 29 Aug 1998 14:01:45 +0000 (08:01 -0600)]
cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit .linkonce directive after the first time.

(
        * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
        .linkonce directive after the first time.

From-SVN: r22085

27 years agom68k.md (beq0_di): Generate correct (and more efficient) code when...
Jeffrey A Law [Sat, 29 Aug 1998 13:54:24 +0000 (13:54 +0000)]
m68k.md (beq0_di): Generate correct (and more efficient) code when...

        * m68k.md (beq0_di): Generate correct (and more efficient) code when
        the clobbered operand overlaps with an input.
        (bne0_di): Similarly.

From-SVN: r22082

27 years ago* Makefile.in (INSTALL): Remove "--no-header" argument.
Jeffrey A Law [Sat, 29 Aug 1998 11:41:40 +0000 (11:41 +0000)]
* Makefile.in (INSTALL): Remove "--no-header" argument.

From-SVN: r22080

27 years ago* NEWS: Various updates.
Jeffrey A Law [Sat, 29 Aug 1998 11:40:49 +0000 (11:40 +0000)]
* NEWS: Various updates.

From-SVN: r22079

27 years agoAdd and use mh-aix43 to set AR_FOR_TARGET.
David Edelsohn [Sat, 29 Aug 1998 11:38:06 +0000 (11:38 +0000)]
Add and use mh-aix43 to set AR_FOR_TARGET.

From-SVN: r22077

27 years agoBring version # and generated files updates over from the branch.
Jeff Law [Sat, 29 Aug 1998 10:37:48 +0000 (04:37 -0600)]
Bring version # and generated files updates over from the branch.

From-SVN: r22076

27 years ago
Benjamin Kosnik [Sat, 29 Aug 1998 09:54:08 +0000 (09:54 +0000)]

fix

From-SVN: r22075

27 years ago
Benjamin Kosnik [Sat, 29 Aug 1998 01:17:36 +0000 (01:17 +0000)]

more tests

From-SVN: r22073

27 years agopt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.
Benjamin Kosnik [Sat, 29 Aug 1998 01:15:24 +0000 (01:15 +0000)]
pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.


1998-08-28  Benjamin Kosnik  <bkoz@loony.cygnus.com>
        * pt.c (decl_template_parm_p): Add checks for
        TEMPLATE_TEMPLATE_PARM.

From-SVN: r22072

27 years agopt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.
Benjamin Kosnik [Sat, 29 Aug 1998 01:15:22 +0000 (01:15 +0000)]
pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.


1998-08-28  Benjamin Kosnik  <bkoz@loony.cygnus.com>
        * pt.c (decl_template_parm_p): Add checks for
        TEMPLATE_TEMPLATE_PARM.

From-SVN: r22071

27 years agoDaily bump.
Jeff Law [Sat, 29 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22069

27 years agosparc.c (arith_operand, [...]): Mark mode as unused.
David S. Miller [Fri, 28 Aug 1998 20:13:45 +0000 (20:13 +0000)]
sparc.c (arith_operand, [...]): Mark mode as unused.

* config/sparc/sparc.c (arith_operand, const64_operand,
const64_high_operand, arith_double_4096_operand): Mark mode as
unused.
(create_simple_focus_bits): Remove unused arg highest_bit_set, all
callers changed.
(sparc_emit_set_const64): Remove unused variable i.
(sparc_splitdi_legitimate): Likewise for addr_part.
(ultra_code_from_mask): Likewise for mask.
(ultra_cmove_results_ready_p): Fixup entry modulo calc.
(ultra_flush_pipeline): Likewise.
(ultra_fpmode_conflict_exists): Likewise, remove unused variable
this_type, and allow loads and stores of differing FP modes as
they do not create a conflict.
(ultra_find_type): Initialize fpmode to SFmode, fix
parenthesization thinkos in large conditional.
(ultrasparc_sched_init): Mark dump and sched_verbose as unused.
Init free_slot_mask after ultra_cur_hist is reset, not before.
(ultrasparc_rescan_pipeline_state): Remove unused variable ucode.
(ultrasparc_sched_reorder): Don't bzero current pipeline state,
use ultra_flush_pipeline instead, then re-init group pointer.
Fix statement with no effect.  If no progress made in, and no
instructions scheduled at all, advance to new pipeline cycle else
we get into an endless loop.
(ultrasparc_adjust_cost): Remove previous arg.
* config/sparc/sparc.h (ADJUST_COST): Update to reflect that.

From-SVN: r22068

27 years agoNew test
Mark Mitchell [Fri, 28 Aug 1998 18:11:36 +0000 (18:11 +0000)]
New test

From-SVN: r22067

27 years agoTweak
Mark Mitchell [Fri, 28 Aug 1998 18:06:38 +0000 (18:06 +0000)]
Tweak

From-SVN: r22066

27 years agoNew test
Mark Mitchell [Fri, 28 Aug 1998 18:00:56 +0000 (18:00 +0000)]
New test

From-SVN: r22065

27 years ago* lex.c (do_identifier): Fix thinko in previous change.
Mark Mitchell [Fri, 28 Aug 1998 17:36:09 +0000 (17:36 +0000)]
* lex.c (do_identifier): Fix thinko in previous change.

From-SVN: r22064

27 years agocp-tree.h (build_enumerator): Take the enumeration type as a paramter.
Mark Mitchell [Fri, 28 Aug 1998 17:02:44 +0000 (17:02 +0000)]
cp-tree.h (build_enumerator): Take the enumeration type as a paramter.

* cp-tree.h (build_enumerator): Take the enumeration type as a
paramter.
* decl.c (finish_enum): Don't set the TREE_TYPE for the
enumeration constant values if we're processing_template_decls.
Don't set the type for the CONST_DECLs either; that's done in
build_enumerator. (
(build_enumerator): Take the enumeration type as a
paramter.
* lex.c (do_identifier): Don't resolve enumeration constants while
processing template declarations, even if they happen to be
TEMPLATE_PARM_INDEXs.
* parse.y (current_enum_type): New variable.
(primary): Don't allow statement-expression in local classes just
as we don't in global classes.
(structsp): Use current_enum_type.
(enum_list): Likewise.
* pt.c (tsubst_enum): Don't check for NOP_EXPRs introduced by
finish_enum; they no longer occur.

From-SVN: r22063

27 years agoNew test
Mark Mitchell [Fri, 28 Aug 1998 16:48:44 +0000 (16:48 +0000)]
New test

From-SVN: r22062

27 years agoAdd support for discarding unused virtual functions.
Jason Merrill [Fri, 28 Aug 1998 16:11:35 +0000 (12:11 -0400)]
Add support for discarding unused virtual functions.

* search.c (dfs_search, binfo_for_vtable, dfs_bfv_helper): New fns.
* decl2.c (output_vtable_inherit): Call binfo_for_vtable.
* lang-options.h: Add -fvtable-gc.
* cp-tree.h: Add flag_vtable_gc.
* decl2.c (output_vtable_inherit): New fn.
(finish_vtable_vardecl): Call it.
* class.c (build_vtable_entry_ref): New fn.
(build_vtbl_ref): Call it.

From-SVN: r22061

27 years agocp-tree.h (build_enumerator): Take the enumeration type as a paramter.
Mark Mitchell [Fri, 28 Aug 1998 15:43:58 +0000 (15:43 +0000)]
cp-tree.h (build_enumerator): Take the enumeration type as a paramter.

* cp-tree.h (build_enumerator): Take the enumeration type as a
paramter.
* decl.c (finish_enum): Don't set the TREE_TYPE for the
enumeration constant values if we're processing_template_decls.
Don't set the type for the CONST_DECLs either; that's done in
build_enumerator. (
(build_enumerator): Take the enumeration type as a
paramter.
* lex.c (do_identifier): Don't resolve enumeration constants while
processing template declarations, even if they happen to be
TEMPLATE_PARM_INDEXs.
* parse.y (current_enum_type): New variable.
(primary): Don't allow statement-expression in local classes just
as we don't in global classes.
(structsp): Use current_enum_type.
(enum_list): Likewise.
* pt.c (tsubst_enum): Don't check for NOP_EXPRs introduced by
finish_enum; they no longer occur.

From-SVN: r22060

27 years agofix XCRASH setup
Brendan Kehoe [Fri, 28 Aug 1998 15:43:10 +0000 (11:43 -0400)]
fix XCRASH setup

From-SVN: r22059

27 years agodd `_eb91_' in front of the typenames, to avoid linux hiccups
Brendan Kehoe [Fri, 28 Aug 1998 15:40:44 +0000 (11:40 -0400)]
dd `_eb91_' in front of the typenames, to avoid linux hiccups

From-SVN: r22058

27 years agosparc.md (DImode, [...]): Delete self_reference code.
Jim Wilson [Fri, 28 Aug 1998 14:57:55 +0000 (14:57 +0000)]
sparc.md (DImode, [...]): Delete self_reference code.

* sparc.md (DImode, DFmode, TFmode splits): Delete self_reference
code.  Use reg_overlap_mentioned_p to detect when source and
destination overlap.
(negtf2_notv9+1): Use DFmode instead of SFmode in last two operands.

From-SVN: r22057

27 years agocp-tree.h (finish_base_specifier): New function.
Mark Mitchell [Fri, 28 Aug 1998 12:06:56 +0000 (12:06 +0000)]
cp-tree.h (finish_base_specifier): New function.

* cp-tree.h (finish_base_specifier): New function.
* parse.y (base_class): Use it.
* semantics.c (finish_base_specifier): Define it.
* parse.y (structsp): Warn on use of typename outside of template
declarations.

From-SVN: r22055

27 years agoloop.c (check_dbra_loop): Pass COMPARISON_VALUE, not COMPARISON_VAL, into invariant_p.
Brendan Kehoe [Fri, 28 Aug 1998 11:23:35 +0000 (11:23 +0000)]
loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not COMPARISON_VAL, into invariant_p.

* loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
COMPARISON_VAL, into invariant_p.

From-SVN: r22054

27 years agomark as xfail for now, since we have the test but don't have a fix yet
Brendan Kehoe [Fri, 28 Aug 1998 09:39:38 +0000 (05:39 -0400)]
mark as xfail for now, since we have the test but don't have a fix yet

From-SVN: r22053