Commit Graph

18337 Commits

Author SHA1 Message Date
Jeffrey A Law
3f3726a3fe pexecute.c: Updates from gcc.
* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
        is the canonical copy.  Define ISSPACE if !IN_GCC.

From-SVN: r22243
1998-09-04 20:26:35 -06:00
Jeffrey A Law
2a63377ccf Makefile.in (pexecute.o): Use pexecute.c from libiberty.
* Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
        explicit rules for building.
        * pexecute.c: Delete.

From-SVN: r22242
1998-09-04 20:24:45 -06:00
Jeffrey A Law
d4751916e8 Makefile.in: Tweak to avoid building runtime.
* Makefile.in: Tweak to avoid building runtime.  It's built
        elsewhere now.

From-SVN: r22241
1998-09-04 19:22:57 -06:00
Jeff Law
675adc8425 Chill runtime moves into toplevel libchill directory.
From-SVN: r22240
1998-09-04 19:17:03 -06:00
Jeffrey A Law
b54db29476 Makefile.in (TARGET_CONFIGDIRS): Add libchill.
* Makefile.in (TARGET_CONFIGDIRS): Add libchill.
        (ALL_TARGET_MODULES): Add all-target-libchill.
        (CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES): Similarly.
        (INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES): Similarly.
        (all-target-libchill): Add dependencies.
        * configure.in (target_libs): Add libchill.

From-SVN: r22239
1998-09-04 19:14:28 -06:00
Jeff Law
b79f73df6a * Chill runtime moved into toplevel libchill.
* Makefile.in Revamped due to move.  Add multilib support.
        * configure.in: Similarly.  Use autoconf.
        * powerset.h: Do not depend on BITS_PER_UNIT.

From-SVN: r22238
1998-09-04 19:11:54 -06:00
Jeff Law
1802393487 Daily bump.
From-SVN: r22237
1998-09-04 18:45:03 -06:00
Mark Mitchell
d5f343158a typeinfo (type_info::type_info(const char*)): Make `explicit'.
* inc/typeinfo (type_info::type_info(const char*)): Make
	`explicit'.

From-SVN: r22235
1998-09-04 16:35:14 +00:00
Tom Tromey
15c5edb921 gcc.c (do_spec_1): [case 'o'] Account for lang_specific_extra_outfiles.
* gcc.c (do_spec_1): [case 'o'] Account for
        lang_specific_extra_outfiles.
        (main): Correctly clear all slots in outfiles for
        lang_specific_extra_outfiles.  Set input_file_number before
        calling lang_specific_pre_link.

From-SVN: r22234
1998-09-04 12:58:40 +00:00
Mark Mitchell
cabc336a5e cp-tree.h (hash_tree_cons_simple): New macro.
* cp-tree.h (hash_tree_cons_simple): New macro.
	* pt.c (tsubst_arg_types): New function.  Use hash_tree_cons.
	(coerce_template_parms): Use make_temp_vec, instead of
	make_tree_vec.  Document this behavior.
	(lookup_template_class): Likewise.
	(tsubst, cases METHOD_TYPE, FUNCTION_TYPE): Use tsubst_arg_types.
	Remove dead code (and add ssertion to check its deadness).  Fix
	bug w.r.t. exception specifications.

From-SVN: r22233
1998-09-04 11:31:30 +00:00
Jim Wilson
7940acc401 Fix irix6 -g -O3 -funroll-all-loops bootstrap failure.
* loop.c (load_mems): Fix JUMP_LABEL field after for_each_rtx call.

From-SVN: r22232
1998-09-04 03:37:49 -07:00
David S. Miller
f3b8847be0 sparc.c (output_double_int): In all V9 symbolic cases, use xword.
* config/sparc/sparc.c (output_double_int): In all V9 symbolic
	cases, use xword.
	(sparc_output_deferred_case_vectors): If no work to do, return.
	Fix thinko in Sept 1 change.

From-SVN: r22231
1998-09-03 20:08:42 -07:00
Jason Merrill
1a408d0724 decl2.c (import_export_vtable): Always make artificials comdat.
* decl2.c (import_export_vtable): Always make artificials comdat.
	(import_export_decl): Likewise.
	* pt.c (mark_decl_instantiated): Likewise.

From-SVN: r22230
1998-09-03 21:43:58 -04:00
Jeff Law
71827aaacc Daily bump.
From-SVN: r22229
1998-09-03 18:45:02 -06:00
SL Baur
0a682beac5 Makefile.in: add semicolon in BISON definition for portability.
* Makefile.in: add semicolon in BISON definition for portability.

From-SVN: r22228
1998-09-03 16:43:40 -06:00
SL Baur
d4620cf129 Makefile.in: add semicolon in BISON definition for portability.
0
	* Makefile.in: add semicolon in BISON definition for portability.

From-SVN: r22227
1998-09-03 16:43:38 -06:00
Reid M. Pinchback
d559d91dfb explicit72.C: ensure that char and (un)signed char are different types for template...
* g++.old-deja/g++.pt/explicit72.C: ensure that char and
	(un)signed char are different types for template specialization
	purposes.

From-SVN: r22226
1998-09-03 22:30:30 +00:00
Toon Moene
ec066414f0 From Toon Moene <toon@moene.indiv.nluug.nl>
* config/nextstep.c (handle_pragma): Correct name of third
        argument.

From-SVN: r22225
1998-09-03 20:22:48 +00:00
Mark Mitchell
5bb1b56949 cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
* cp-tree.h (finish_globally_qualified_member_call_expr):
	Rename to ...
	(finish_qualified_call_expr).
	* semantics.c: Likewise.
	* parse.y (primary): Use it.
	* method.c (hack_identifier): Remove redundant code.
	* init.c (resolve_offset_ref): Call convert_from_reference to
 	handle members of reference type.  Improve error recovery.

From-SVN: r22224
1998-09-03 20:17:16 +00:00
Mark Mitchell
c6a54ad592 cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
* cp-tree.h (finish_globally_qualified_member_call_expr):
	Rename to ...
	(finish_qualified_call_expr).
	* semantics.c: Likewise.
	* parse.y (primary): Use it.
	* method.c (hack_identifier): Remove redundant code.
	* init.c (resolve_offset_ref): Call convert_from_reference to
 	handle members of reference type.  Improve error recovery.

From-SVN: r22223
1998-09-03 19:54:02 +00:00
Mark Mitchell
75d587eb19 cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
* cp-tree.h (finish_globally_qualified_member_call_expr):
	Rename to ...
	(finish_qualified_call_expr).
	* semantics.c: Likewise.
	* parse.y (primary): Use it.
	* method.c (hack_identifier): Remove redundant code.
	* init.c (resolve_offset_ref): Call convert_from_reference to
 	handle members of reference type.  Improve error recovery.

From-SVN: r22222
1998-09-03 19:42:09 +00:00
Nick Clifton
51c10c4e05 Change (reg:CC 17) to (reg:SI 17)
From-SVN: r22221
1998-09-03 17:49:11 +00:00
Benjamin Kosnik
7f84cec92c cp-tree.h: Declare warn_nontemplate_friend.
d
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: r22220
1998-09-03 16:10:00 +00:00
Benjamin Kosnik
56e3f54ca0 cp-tree.h: Declare warn_nontemplate_friend.
S
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: r22219
1998-09-03 16:09:59 +00:00
Benjamin Kosnik
9018ce4d49 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
1998-09-03 16:09:56 +00:00
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