platform/upstream/gcc.git
25 years agocp-tree.h: Declare warn_nontemplate_friend.
Benjamin Kosnik [Thu, 3 Sep 1998 16:09:56 +0000 (16:09 +0000)]
cp-tree.h: Declare warn_nontemplate_friend.

a
1998-09-03  Benjamin Kosnik  <bkoz@cygnus.com>
* cp-tree.h: Declare warn_nontemplate_friend.
* decl2.c (lang_decode_option): Set.
* lang-options.h: Add -Wnon-template-friend.
* friend.c (do_friend): Use to toggle non-template function warning.
g++/17054

From-SVN: r22218

25 years agocp-tree.h: Declare warn_nontemplate_friend.
Benjamin Kosnik [Thu, 3 Sep 1998 16:09:54 +0000 (16:09 +0000)]
cp-tree.h: Declare warn_nontemplate_friend.


1998-09-03  Benjamin Kosnik  <bkoz@cygnus.com>
* cp-tree.h: Declare warn_nontemplate_friend.
* decl2.c (lang_decode_option): Set.
* lang-options.h: Add -Wnon-template-friend.
* friend.c (do_friend): Use to toggle non-template function warning.
g++/17054

From-SVN: r22217

25 years agoinvoke.texi (Warning Options): Add -Wnon-template-friend documentation.
Benjamin Kosnik [Thu, 3 Sep 1998 16:09:01 +0000 (16:09 +0000)]
invoke.texi (Warning Options): Add -Wnon-template-friend documentation.


Thu Sep  3 18:17:34 1998 Benjamin Kosnik  <bkoz@cygnus.com>
* invoke.texi (Warning Options): Add -Wnon-template-friend
  documentation.
g++/17054

From-SVN: r22216

25 years agoAdd -mcpu=401/e603e
Michael Meissner [Thu, 3 Sep 1998 15:27:26 +0000 (15:27 +0000)]
Add -mcpu=401/e603e

From-SVN: r22215

25 years ago*** empty log message ***
Benjamin Kosnik [Thu, 3 Sep 1998 15:23:37 +0000 (15:23 +0000)]
*** empty log message ***

From-SVN: r22214

25 years agors6000.md (movsf): Disable explicit secondary-reload-like functionality if TARGET_POW...
David Edelsohn [Thu, 3 Sep 1998 15:12:09 +0000 (15:12 +0000)]
rs6000.md (movsf): Disable explicit secondary-reload-like functionality if TARGET_POWERPC64.

* rs6000.md (movsf): Disable explicit secondary-reload-like
functionality if TARGET_POWERPC64.
(movdf): Remove TARGET_POWERPC64 explicit secondary-reload-like
functionality.

From-SVN: r22213

25 years ago
Benjamin Kosnik [Thu, 3 Sep 1998 14:29:18 +0000 (14:29 +0000)]

add new case

From-SVN: r22212

25 years agodecl.c (finish_enum): Don't resolve CONST_DECLs to their corresponding INTEGER_CSTs...
Mark Mitchell [Thu, 3 Sep 1998 14:15:35 +0000 (14:15 +0000)]
decl.c (finish_enum): Don't resolve CONST_DECLs to their corresponding INTEGER_CSTs when...

* decl.c (finish_enum): Don't resolve CONST_DECLs to their
corresponding INTEGER_CSTs when processing_template_decl.
* pt.c (tsubst_enum): Tweak accordingly.

From-SVN: r22211

25 years agodecl.c (pushdecl_class_level): Add warning here.
Benjamin Kosnik [Thu, 3 Sep 1998 14:07:51 +0000 (14:07 +0000)]
decl.c (pushdecl_class_level): Add warning here.

P
1998-09-03  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
        * decl.c (pushdecl_class_level): Add warning here.
        (pushdecl): Tweak.

From-SVN: r22210

25 years agodecl.c (pushdecl_class_level): Add warning here.
Benjamin Kosnik [Thu, 3 Sep 1998 14:07:48 +0000 (14:07 +0000)]
decl.c (pushdecl_class_level): Add warning here.


1998-09-03  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
        * decl.c (pushdecl_class_level): Add warning here.
        (pushdecl): Tweak.

From-SVN: r22209

25 years agoCheck in ChangeLog entry that should have gone in a while back
Mark Mitchell [Thu, 3 Sep 1998 12:43:44 +0000 (12:43 +0000)]
Check in ChangeLog entry that should have gone in a while back

From-SVN: r22208

25 years agoChill testsuite problems...
Dave Brolley [Thu, 3 Sep 1998 12:41:14 +0000 (12:41 +0000)]
Chill testsuite problems...

Thu Sep  3 15:32:03 1998  Dave Brolley  <brolley@cygnus.com>
* typeck.c (layout_chill_range_type): set TYPE_SIZE_UNIT.

From-SVN: r22207

25 years agofixinc.sco: Borrow code to wrap 'bool' typedefs from tinfo.h and term.h from fixinc...
Robert Lipe [Thu, 3 Sep 1998 09:43:46 +0000 (09:43 +0000)]
fixinc.sco: Borrow code to wrap 'bool' typedefs from tinfo.h and term.h from fixinc.wrap.

* fixinc.sco: Borrow code to wrap 'bool' typedefs from tinfo.h
and term.h from fixinc.wrap.

From-SVN: r22206

25 years agoegcs_update: Do the pass 1 CVS update only for files that may reasonably be under...
Robert Lipe [Thu, 3 Sep 1998 08:12:30 +0000 (08:12 +0000)]
egcs_update: Do the pass 1 CVS update only for files that may reasonably be under CVS control.

* egcs_update: Do the pass 1 CVS update only for files that
may reasonably be under CVS control.
ChangeLog egcs_update

From-SVN: r22205

25 years agoaclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is safe to include both...
Kaveh R. Ghazi [Thu, 3 Sep 1998 06:52:00 +0000 (06:52 +0000)]
aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is safe to include both string.h and strings.h together.

        * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is
        safe to include both string.h and strings.h together.
        (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding
        which headers to search for function declarations.  Continue to
        prefer string.h over strings.h when both are not acceptable.
        * acconfig.h (STRING_WITH_STRINGS): Add stub.
        * configure.in: Call GCC_HEADER_STRING.
        * system.h: Test STRING_WITH_STRINGS when deciding which headers
        to include.  Continue to prefer string.h over strings.h when both
        are not acceptable.

From-SVN: r22204

25 years agostl_config.h: Define __STL_HAS_WCHAR_T...
Jason Merrill [Thu, 3 Sep 1998 02:56:35 +0000 (02:56 +0000)]
stl_config.h: Define __STL_HAS_WCHAR_T...

* stl_config.h: Define __STL_HAS_WCHAR_T,
__STL_MEMBER_TEMPLATE_CLASSES, __STL_HAS_NAMESPACES,
__STL_NO_NAMESPACES and __STL_LONG_LONG.

From-SVN: r22203

25 years agosparc.c (output_double_int): If V9 and MEDLOW...
David S. Miller [Thu, 3 Sep 1998 01:02:22 +0000 (01:02 +0000)]
sparc.c (output_double_int): If V9 and MEDLOW...

* config/sparc/sparc.c (output_double_int): If V9 and MEDLOW, do
not assume top 32-bits of symbolic addresses are zero if
flag_pic.

From-SVN: r22202

25 years agoDaily bump.
Jeff Law [Thu, 3 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22201

25 years agova-alpha.h: Protect entire second portion of the file against double inclusion.
Richard Henderson [Thu, 3 Sep 1998 00:24:47 +0000 (17:24 -0700)]
va-alpha.h: Protect entire second portion of the file against double inclusion.

        * ginclude/va-alpha.h: Protect entire second portion of the
        file against double inclusion.

From-SVN: r22200

25 years agoBoehm GC support for ObjC from Ovidiu Predescu.
Ovidiu Predescu [Wed, 2 Sep 1998 23:48:01 +0000 (23:48 +0000)]
Boehm GC support for ObjC from Ovidiu Predescu.

From-SVN: r22199

25 years ago{objc.exp,objc-torture.exp}: New files for objc testing harness.
Ovidiu Predescu [Wed, 2 Sep 1998 23:43:53 +0000 (23:43 +0000)]
{objc.exp,objc-torture.exp}: New files for objc testing harness.

        * lib/{objc.exp,objc-torture.exp}: New files for objc testing harness.
        * objc: ObjC testsuite.

From-SVN: r22198

25 years agoMakefile.in (RELINSTALLDIR): New.
H.J. Lu [Wed, 2 Sep 1998 20:12:35 +0000 (20:12 +0000)]
Makefile.in (RELINSTALLDIR): New.

        * Makefile.in (RELINSTALLDIR): New. Use it to make symlinks.
        * configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22197

25 years agoconfigure.in: Fix INSTALLDIR replacement for cross-compile.
H.J. Lu [Wed, 2 Sep 1998 20:09:23 +0000 (14:09 -0600)]
configure.in: Fix INSTALLDIR replacement for cross-compile.

(
* configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22196

25 years agoconfigure.in: Fix INSTALLDIR replacement for cross-compile.
H.J. Lu [Wed, 2 Sep 1998 20:09:22 +0000 (14:09 -0600)]
configure.in: Fix INSTALLDIR replacement for cross-compile.


* configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22195

25 years agoalgorithm [...]: Update to SGI STL 3.11.
Jason Merrill [Wed, 2 Sep 1998 17:25:15 +0000 (17:25 +0000)]
algorithm [...]: Update to SGI STL 3.11.

* algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator
memory pthread_alloc pthread_alloc.h rope ropeimpl.h stl_algo.h
stl_algobase.h stl_alloc.h stl_bvector.h stl_config.h
stl_construct.h stl_deque.h stl_function.h stl_hash_fun.h
stl_hash_map.h stl_hash_set.h stl_hashtable.h stl_heap.h
stl_iterator.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h
stl_numeric.h stl_pair.h stl_queue.h stl_raw_storage_iter.h
stl_relops.h stl_rope.h stl_set.h stl_slist.h stl_stack.h
stl_tempbuf.h stl_tree.h stl_uninitialized.h stl_vector.h
tempbuf.h type_traits.h: Update to SGI STL 3.11.

From-SVN: r22190

25 years agocvt.c (convert_pointer_to_real): Tidy.
Jason Merrill [Wed, 2 Sep 1998 16:57:18 +0000 (16:57 +0000)]
cvt.c (convert_pointer_to_real): Tidy.

* cvt.c (convert_pointer_to_real): Tidy.
* search.c (get_base_distance_recursive): Simplify.
(get_base_distance): Likewise.
* pt.c (unify): Only special-case INTEGER_TYPE if it uses template
parms.

From-SVN: r22189

25 years agoswitch back to XFAIL
Brendan Kehoe [Wed, 2 Sep 1998 15:05:20 +0000 (11:05 -0400)]
switch back to XFAIL

From-SVN: r22188

25 years agoFix miscompilation of MIPS cross assembler on sparc host.
Jim Wilson [Wed, 2 Sep 1998 14:49:17 +0000 (14:49 +0000)]
Fix miscompilation of MIPS cross assembler on sparc host.

* jump.c (jump_optimize): In if/then/else transformations, add
another call to modified_between_p for the jump insn.

From-SVN: r22187

25 years agofix typo
Brendan Kehoe [Wed, 2 Sep 1998 13:54:33 +0000 (09:54 -0400)]
fix typo

From-SVN: r22186

25 years ago* fix-header.c (symlink): Treat like readlink.
Jeffrey A Law [Wed, 2 Sep 1998 13:18:27 +0000 (13:18 +0000)]
* fix-header.c (symlink): Treat like readlink.

From-SVN: r22185

25 years agowe dont use these bits of SGI STL
Jason Merrill [Wed, 2 Sep 1998 12:33:40 +0000 (08:33 -0400)]
we dont use these bits of SGI STL

From-SVN: r22184

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

From-SVN: r22182

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

From-SVN: r22181

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

From-SVN: r22180

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

From-SVN: r22179

25 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

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

From-SVN: r22173

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

typo

From-SVN: r22170

25 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

25 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

25 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

25 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

25 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

25 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

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

From-SVN: r22163

25 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

25 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

25 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

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

From-SVN: r22159

25 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

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

From-SVN: r22157

25 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

25 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

25 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

25 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

25 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

25 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

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

From-SVN: r22145

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

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

From-SVN: r22121

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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