Commit Graph

22240 Commits

Author SHA1 Message Date
Krister Walfridsson af0ca0276c configure.in (arm*-*-netbsd*): Use collect2.
* configure.in (arm*-*-netbsd*): Use collect2.
        (i[34567]86-*-netbsd*): Likewise.
        (m68k*-*-netbsd*): Likewise.
        (ns32k-*-netbsd*): Likewise.
        (sparc-*-netbsd*): Likewise.
        (vax-*-netbsd*): Likewise.
        * configure: Rebuilt.

From-SVN: r26991
1999-05-17 17:58:15 -06:00
Zack Weinberg eeb183e9c7 cppspec.c: Insert -no-gcc into command line unless -gcc was given by user.
* cppspec.c: Insert -no-gcc into command line unless -gcc was
        given by user.
        * gcc.c (default_compilers): Define __GNUC__ and
        __GNUC_MINOR__ only if -no-gcc was not given.
        * objc/lang-specs.h: Likewise.
        * cpp.texi: Document -x and -std options; explain that -lang
        is no longer supported.  Minor related corrections.

From-SVN: r26990
1999-05-17 17:37:19 -06:00
Zack Weinberg 49933dbade lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
X
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26989
1999-05-17 17:35:15 -06:00
Zack Weinberg 4647121e32 lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
�
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26988
1999-05-17 17:35:13 -06:00
Zack Weinberg 37c2a18d9d Fix ChangeLog entry.
From-SVN: r26987
1999-05-17 17:34:11 -06:00
Zack Weinberg 0e1db22605 lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
P
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26986
1999-05-17 17:33:05 -06:00
Zack Weinberg 3e18b97b07 lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
�
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26985
1999-05-17 17:33:04 -06:00
Zack Weinberg 5d3de5ea44 lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc was not given.
* lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26984
1999-05-17 17:28:09 -06:00
Alexandre Oliva bcf1ba1d14 Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.
* Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to
        fixproto.
        * fixproto: Avoid unportable constructs such as `basename' and
        `mkdir -p'.  Use mkinstalldirs from the environment if `mkdir -p'
        fails.

From-SVN: r26983
1999-05-17 17:07:40 -06:00
Mark Kettenis a9a00d29b4 stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for Linux.
* stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for
        Linux.

From-SVN: r26982
1999-05-17 17:03:48 -06:00
Alexandre Oliva 180013289b * fixinc/fixincl.c: Remove #error, it is not portable.
From-SVN: r26981
1999-05-17 17:02:28 -06:00
Mark Kettenis 74c1118e9e * libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.
From-SVN: r26980
1999-05-17 16:58:56 -06:00
Marc Espie ef4969e0b6 * collect2.c (main): Fix typo in COLLECT2_HOST_INITIALIZATION.
From-SVN: r26979
1999-05-17 16:56:24 -06:00
Alexandre Petit-Bianco 2e5eb5c578 parse.y (constructor_block_end:): New rule, tagged <node>.
Mon May 17 19:20:24 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (constructor_block_end:): New rule, tagged <node>.
        (constructor_body:): Use `constructor_block_end' instead of
        `block_end'.

From-SVN: r26978
1999-05-17 12:33:13 -07:00
Alexandre Petit-Bianco 6efa1cc273 parse.y (statement_nsi:): Pop `for' statement block.
Mon May 17 18:01:40 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (statement_nsi:): Pop `for' statement block.
	(java_complete_lhs): Labelled blocks containing no statement are
 	marked as completing normally.
(Part of the previous check-in, where the generated parse.c was
forgotten.)

From-SVN: r26977
1999-05-17 11:32:30 -07:00
Alexandre Petit-Bianco 9dd939b278 parse.y (statement_nsi:): Pop `for' statement block.
Mon May 17 18:01:40 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (statement_nsi:): Pop `for' statement block.
	(java_complete_lhs): Labelled blocks containing no statement are
 	marked as completing normally.

From-SVN: r26976
1999-05-17 11:09:15 -07:00
Mark Mitchell 856216bbe3 cp-tree.def (TEMPLATE_ID_EXPR): Update documentation.
* cp-tree.def (TEMPLATE_ID_EXPR): Update documentation.
	* decl.c (grokfndecl): Don't allow inline declarations of friend
	template specializations, or friend template specializations with
	default arguments.
	* pt.c (tsubst): Handle substitution into array types that does
	not yield a fixed upper bound, even when not processing a
	template.
	(tsubst_copy): Deal with the fact that the second operand to a
	TEMPLATE_ID_EXPR may be NULL_TREE, a TREE_LIST, or a TREE_VEC.
	* search.c (marked_pushdecls_p): Don't descend into
	TEMPLATE_TYPE_PARMs and the like.
	(unmarked_pushdecls_p): Likewise.

From-SVN: r26975
1999-05-17 16:07:39 +00:00
Tom Tromey a1b7f572ce natSystem.cc (init_properties): URL now points to sourceware.
* java/lang/natSystem.cc (init_properties): URL now points to
	sourceware.

From-SVN: r26974
1999-05-17 13:24:59 +00:00
Rainer Orth 1c80456606 Removed no-op pipe
From-SVN: r26973
1999-05-17 12:41:23 +00:00
Rainer Orth 9f8eec3979 Wait for children from chain_open()
From-SVN: r26972
1999-05-17 12:39:19 +00:00
Jason Merrill a32c71a538 new
From-SVN: r26971
1999-05-17 06:16:04 -04:00
Mark Mitchell c1aa4de772 call.c (build_over_call): Don't throw away initializations/copies of empty classes...
* call.c (build_over_call): Don't throw away
	initializations/copies of empty classes; use MODIFY_EXPR and
	INIT_EXPR as for non-empty classes.
	* class.c (finish_struct_1): Put the padding byte for an empty
	class on the TYPE_NONCOPIED_PARTS list for the class.

From-SVN: r26970
1999-05-17 07:42:26 +00:00
Mark Mitchell c15398de77 tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality.
* tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match
        reality.
        * expr.c (init_noncopied_parts): Don't generate initializers for
        parts that don't need them.

From-SVN: r26969
1999-05-17 07:21:14 +00:00
Jeffrey A Law 74a6cc9fb5 Bump for snapshot
From-SVN: r26967
1999-05-16 20:56:48 -06:00
Mumit Khan 53df21a6d4 * stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.
From-SVN: r26966
1999-05-16 20:33:37 -06:00
Jan Hubicka e74389ffa1 reg-stack.c: Do not emit pop insns after cc0 setter.
* reg-stack.c: Do not emit pop insns after cc0 setter.
        (emit_pop_insn): Do not emit insn in case WHEN is NULL.
        (compare_for_stack_reg): Update REG_DEAD note and
        do not emit push insn.
        * i386.c: (output_float_compare): Handle new REG_DEAD notes.

From-SVN: r26965
1999-05-16 20:31:35 -06:00
Andreas Schwab 64c0b41420 m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid 68881 constant.
* m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid
        68881 constant.

From-SVN: r26964
1999-05-16 19:49:19 -06:00
Andreas Schwab 2e5b444824 * gcc.c-torture/compile/990517-1.c: New test.
From-SVN: r26963
1999-05-16 19:47:29 -06:00
Andreas Schwab 71a874cd5e fold-const.c (fold_truthop): When converting a one-bit comparison don't sign extend the constant.
* fold-const.c (fold_truthop): When converting a one-bit
        comparison don't sign extend the constant.

From-SVN: r26962
1999-05-16 19:24:24 -06:00
Andreas Schwab 92b3fc3ae3 990326-1.c: Force bitfields to be aligned.
* execute/990326-1.c: Force bitfields to be aligned.
        (e4, f4): New tests.
        (main): Call them.

From-SVN: r26961
1999-05-16 19:18:59 -06:00
Jeff Law 924e00ffb8 Daily bump.
From-SVN: r26960
1999-05-16 18:45:02 -06:00
Stu Grossman 53504016e1 cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance the *mangled pointer beyond the end of the string.
* cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
        the *mangled pointer beyond the end of the string.  Clean up code to
        match prevailing coding style.

From-SVN: r26959
1999-05-16 18:44:09 -06:00
Andreas Schwab 51e2a951cc cse.c (cse_insn): Copy SRC_CONST before putting it in the REG_EQUAL note.
* cse.c (cse_insn): Copy SRC_CONST before putting it in the
        REG_EQUAL note.

From-SVN: r26958
1999-05-16 18:36:36 -06:00
Mike Stump 2459d1044b * vxppc.h (CPP_SPEC): Fix support for vararg functions.
From-SVN: r26957
1999-05-16 18:30:56 -06:00
Mark Mitchell 74322f31ce decl2.c (build_expr_from_tree): Handle COMPONENT_REFs that indicate a reference to a field that is a qualified name.
* decl2.c (build_expr_from_tree): Handle COMPONENT_REFs that
	indicate a reference to a field that is a qualified name.

From-SVN: r26956
1999-05-16 23:46:40 +00:00
Jason Merrill b283d5d716 revert
From-SVN: r26955
1999-05-16 16:59:39 -04:00
Jason Merrill b5f2178755 and another one
From-SVN: r26954
1999-05-16 16:52:10 -04:00
Jason Merrill cf694b8f83 * init.c (build_new_1): suspend_momentary while calculating size.
From-SVN: r26953
1999-05-16 16:48:42 -04:00
Jason Merrill 7a8f9fa9cf decl2.c (finish_objects): Don't use .?tors.* if we don't have ASM_OUTPUT_CONSTRUCTOR.
* decl2.c (finish_objects): Don't use .?tors.* if we don't have
	ASM_OUTPUT_CONSTRUCTOR.
	* friend.c (do_friend): Add attrlist arg.  Remove support for
	getting a non-decl as 'decl'.
	* decl.c (grokfndecl): Remove attrlist arg.  Don't set attrs or
	rtl.
	(grokdeclarator): Adjust.
	* cp-tree.h: Adjust.
	* parse.y (direct_new_declarator): Make the first one a
	nonmomentary_expr, too.
	* init.c (build_new): suspend_momentary while we're calculating
	the size.
	(build_new_1): Don't copy size.

From-SVN: r26952
1999-05-16 16:40:00 -04:00
Mark Mitchell 88b117b740 cp-tree.h (permanent_p): New function.
* cp-tree.h (permanent_p): New function.
	* init.c (build_new_1): Use mapcar, not copy_node, to copy a
	possibly complex tree node.
	* tree.c (mapcar): Adjust comments, and follow coding standards in
	conditional.
	(permanent_p): New function.

From-SVN: r26951
1999-05-16 19:31:51 +00:00
Jeff Law 31146a60e7 Daily bump.
From-SVN: r26950
1999-05-15 18:45:04 -06:00
Craig Burley 9f01126349 update derived files
From-SVN: r26949
1999-05-15 14:19:39 -04:00
Craig Burley ff852b4454 fix INTEGER*8 subscripts, add -fflatten-arrays
From-SVN: r26948
1999-05-15 11:46:16 -04:00
Jeffrey A Law 1907bb7c74 hackshell.tpl: Fix mis-applied patch.
* fixinc/hackshell.tpl: Fix mis-applied patch.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r26947
1999-05-15 07:29:36 -06:00
Mark Kettenis 0ef04c1a55 mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any fixes.
P
	* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
	targets that do not need any fixes.

From-SVN: r26946
1999-05-14 20:21:35 -06:00
Mark Kettenis 568154adcf mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any fixes.
�
	* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
	targets that do not need any fixes.

From-SVN: r26945
1999-05-14 20:21:32 -06:00
Jeff Law ab015df5ee Delete accidentally duplicated test
From-SVN: r26944
1999-05-14 20:17:31 -06:00
Jeff Law 9a77c744a3 Add Stu
From-SVN: r26943
1999-05-14 20:15:03 -06:00
Mark Kettenis 0b8b672215 configure.in: Add shared library support for the Hurd (*-*-gnu*).
* configure.in: Add shared library support for the Hurd
        (*-*-gnu*).
        * config/gnu.ml: New file.

From-SVN: r26942
1999-05-14 20:06:37 -06:00
Jeff Law 9874c8582a Daily bump.
From-SVN: r26941
1999-05-14 18:45:04 -06:00