Commit Graph

18312 Commits

Author SHA1 Message Date
Benjamin Kosnik
291073730f 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
1998-09-03 16:09:54 +00:00
Benjamin Kosnik
d67343c9e1 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
1998-09-03 16:09:01 +00:00
Michael Meissner
a3a1dbf679 Add -mcpu=401/e603e
From-SVN: r22215
1998-09-03 15:27:26 +00:00
Benjamin Kosnik
dd93348fe8 *** empty log message ***
From-SVN: r22214
1998-09-03 15:23:37 +00:00
David Edelsohn
c29b071146 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
1998-09-03 11:12:09 -04:00
Benjamin Kosnik
d6c6ba304d
add new case

From-SVN: r22212
1998-09-03 14:29:18 +00:00
Mark Mitchell
72f2bd784e 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
1998-09-03 14:15:35 +00:00
Benjamin Kosnik
a0d9f32252 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
1998-09-03 14:07:51 +00:00
Benjamin Kosnik
343a4a0e15 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
1998-09-03 14:07:48 +00:00
Mark Mitchell
3e25dc12ca Check in ChangeLog entry that should have gone in a while back
From-SVN: r22208
1998-09-03 12:43:44 +00:00
Dave Brolley
247751724f 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
1998-09-03 08:41:14 -04:00
Robert Lipe
d21415f074 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
1998-09-03 09:43:46 +00:00
Robert Lipe
aecb033930 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
1998-09-03 08:12:30 +00:00
Kaveh R. Ghazi
ccc7d11a0b 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
1998-09-03 06:52:00 +00:00
Jason Merrill
127b53d549 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
1998-09-02 22:56:35 -04:00
David S. Miller
222a7e550c 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
1998-09-02 18:02:22 -07:00
Jeff Law
9335570d9c Daily bump.
From-SVN: r22201
1998-09-02 18:45:02 -06:00
Richard Henderson
3974eb36b1 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
1998-09-02 17:24:47 -07:00
Ovidiu Predescu
d8bb17c8e3 Boehm GC support for ObjC from Ovidiu Predescu.
From-SVN: r22199
1998-09-02 17:48:01 -06:00
Ovidiu Predescu
d636ae0b80 {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
1998-09-02 17:43:53 -06:00
H.J. Lu
7b5070d680 Makefile.in (RELINSTALLDIR): New.
* Makefile.in (RELINSTALLDIR): New. Use it to make symlinks.
        * configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22197
1998-09-02 14:12:35 -06:00
H.J. Lu
72ae5d03a1 configure.in: Fix INSTALLDIR replacement for cross-compile.
(
	* configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22196
1998-09-02 14:09:23 -06:00
H.J. Lu
14aa13f4c4 configure.in: Fix INSTALLDIR replacement for cross-compile.
�
	* configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22195
1998-09-02 14:09:22 -06:00
Jason Merrill
df9262681b 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
1998-09-02 13:25:15 -04:00
Jason Merrill
514a1f18ee 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
1998-09-02 12:57:18 -04:00
Brendan Kehoe
84fec82846 switch back to XFAIL
From-SVN: r22188
1998-09-02 11:05:20 -04:00
Jim Wilson
8127f74f22 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
1998-09-02 07:49:17 -07:00
Brendan Kehoe
f0da48d27d fix typo
From-SVN: r22186
1998-09-02 09:54:33 -04:00
Jeffrey A Law
8a2cf1b423 * fix-header.c (symlink): Treat like readlink.
From-SVN: r22185
1998-09-02 07:18:27 -06:00
Jason Merrill
ec9c42c9c3 we dont use these bits of SGI STL
From-SVN: r22184
1998-09-02 08:33:40 -04:00
Jason Merrill
ff51efd52d Initial revision
From-SVN: r22182
1998-09-02 08:33:39 -04:00
Jason Merrill
dfaaf5101c Initial revision
From-SVN: r22181
1998-09-02 08:33:38 -04:00
Jason Merrill
b693643843 Initial revision
From-SVN: r22180
1998-09-02 08:33:35 -04:00
Jason Merrill
768a887ca7 Initial revision
From-SVN: r22179
1998-09-02 08:33:33 -04:00
Jason Merrill
72e4bfd9e4 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
1998-09-02 08:28:51 -04:00
Jason Merrill
38fcba265c Initial revision
From-SVN: r22173
1998-09-02 08:28:14 -04:00
Benjamin Kosnik
70126bf673
typo

From-SVN: r22170
1998-09-02 11:42:40 +00:00
J"orn Rennecke
33368c84ce 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
1998-09-02 12:31:14 +01:00
Nick Clifton
67988bd258 Update definitions of HANDLE_PRAGMA macro in order to conform to new spec.
From-SVN: r22168
1998-09-02 10:13:23 +00:00
Nick Clifton
c5168e64d4 Change HANDLE_PRAGMA macro so that it supports USE_CPPLIB
From-SVN: r22167
1998-09-02 10:04:26 +00:00
Nick Clifton
ae4d12ca9f Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB
From-SVN: r22166
1998-09-02 10:02:27 +00:00
Nick Clifton
f09db6e0ca Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB.
Add INSERT_ATTRIBUTES macro.

From-SVN: r22165
1998-09-02 09:59:57 +00:00
David S. Miller
56420c2cf3 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
1998-09-01 20:12:08 -07:00
Jeff Law
ba4493d2a4 Daily bump.
From-SVN: r22163
1998-09-01 18:45:02 -06:00
David S. Miller
d676da681d 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
1998-09-01 09:59:46 -07:00
Jason Merrill
59fa060f42 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
1998-09-01 09:17:36 -04:00
Mark Mitchell
61289ca3b2 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
1998-09-01 13:08:44 +00:00
Mark Mitchell
2c2b32dc36 Fix typo
From-SVN: r22159
1998-09-01 13:05:03 +00:00
Jason Merrill
830fcda8e7 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
1998-09-01 07:51:41 -04:00
Mark Mitchell
3d6ed3ef45 Fix typo
From-SVN: r22157
1998-09-01 10:03:49 +00:00