Commit Graph

31607 Commits

Author SHA1 Message Date
Jeffrey Oldham
8735550f7f va-arg-15.x: New file.
2000-11-07  Jeffrey Oldham  <oldham@oz.codesourcery.com>

	* gcc.c-torture/execute/va-arg-15.x: New file.  Fails on
	mips-sgi-irix6.* because the MIPS ABI passes floating-point
	parameters in registers, and there is no way for a varargs
	function to know in which order the integer and floating-point
	parameters should be interleaved when they are placed on the
	stack.
	* gcc.c-torture/execute/va-arg-16.x: Likewise.
	* gcc.c-torture/execute/va-arg-17.x: Likewise.

From-SVN: r37300
2000-11-07 22:07:55 +00:00
Neil Booth
e3cc358167 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
From-SVN: r37299
2000-11-07 21:35:20 +00:00
Tom Tromey
c7e05afb62 sjis_comment3.java: Removed.
* libjava.compile/sjis_comment3.java: Removed.
	* libjava.compile/sjis_comment2.java: Removed.
	* libjava.compile/sjis_comment1.java: Removed.
	* libjava.compile/euc_comment3.java: Removed.
	* libjava.compile/euc_comment2.java: Removed.
	* libjava.compile/euc_comment1.java: Removed.

From-SVN: r37298
2000-11-07 20:48:55 +00:00
Kaveh R. Ghazi
f8136648fb * c-common.c (combine_strings): Only warn about long strings for C.
From-SVN: r37297
2000-11-07 20:15:19 +00:00
J"orn Rennecke
71fd5a5123 * combine.c (distribute_notes): Fix typo in last change.
From-SVN: r37296
2000-11-07 19:46:58 +00:00
Geoffrey Keating
bdaa01817b rs6000.md (movdi_internal32+1): Use operand_subreg_force rather than gen_rtx_SUBREG.
* config/rs6000/rs6000.md (movdi_internal32+1): Use
	operand_subreg_force rather than gen_rtx_SUBREG.
	(movdi_internal32+2): Likewise.

From-SVN: r37295
2000-11-07 18:51:05 +00:00
Philip Blundell
bc56a125dc Delete arm-linux-aout target
From-SVN: r37294
2000-11-07 18:16:15 +00:00
Philipp Thomas
a71d3613b9 ABOUT-GCC-NLS: Remove the patch for gettext as it has been accepted my the gettext maintainer.
2000-11-07  Philipp Thomas  <pthomas@suse.de>

	* ABOUT-GCC-NLS: Remove the patch for gettext as it has been
	accepted my the gettext maintainer.

From-SVN: r37293
2000-11-07 17:45:31 +00:00
DJ Delorie
6cc99eaf45 * testsuite/gcc.dg/20000614-1.c: Add return so that test can pass.
From-SVN: r37292
2000-11-07 12:12:59 -05:00
Kaveh R. Ghazi
26a87cabc6 builtins.c (expand_builtin_strpbrk): New function.
* builtins.c (expand_builtin_strpbrk): New function.
	(expand_builtin): Handle BUILT_IN_STRPBRK.

	* builtins.def (BUILT_IN_STRPBRK): New entry.

	* c-common.c (c_common_nodes_and_builtins): Declare builtin
	strpbrk.

testsuite:
	* gcc.c-torture/execute/string-opt-2.c: New test.

From-SVN: r37291
2000-11-07 16:08:57 +00:00
Phil Edwards
4fa5bf370e Add self upon request as libstdc++-v3 maintainer.
From-SVN: r37290
2000-11-07 16:05:41 +00:00
Nathan Sidwell
d48ebde10d decl.c (build_ptrmemfunc_type): Allow error_mark_node.
cp:
	* decl.c (build_ptrmemfunc_type): Allow error_mark_node.
testsuite:
	* g++.old-deja/g++.pt/crash60.C: New test.

From-SVN: r37289
2000-11-07 13:58:21 +00:00
Jeff Law
665d66d647 Daily bump.
From-SVN: r37288
2000-11-07 01:45:08 -07:00
David O'Brien
ace54f91ac freebsd.h: New file -- FreeBSD/alpha architecture file.
2000-11-07  David O'Brien  <obrien@dragon.nuxi.com>
* config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
* POTFILES.in: Add config/alpha/freebsd.h
* configure.in: Add alpha*-freebsd support.
* configure: Regenerate.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001106211421.E14418@cygnus.com>

From-SVN: r37287
2000-11-07 08:44:40 +00:00
Joseph Myers
0dec5df959 tree.c (build_common_tree_nodes_2): Make va_list_type_node be a copy of ptr_type_node rather than ptr_type_node itself.
* tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
	copy of ptr_type_node rather than ptr_type_node itself.

From-SVN: r37286
2000-11-07 07:40:37 +00:00
J"orn Rennecke
bf103ec201 combine.c (recog_for_combine): Allocate uninitialized vector with rtvec_alloc.
* combine.c (recog_for_combine): Allocate uninitialized vector with
	rtvec_alloc.
	* recog.c (apply_change_group): Likewise.

From-SVN: r37285
2000-11-07 06:36:12 +00:00
J"orn Rennecke
c762163eba flow.c (verify_local_live_at_start): Back out last change.
* flow.c (verify_local_live_at_start): Back out last change.
	* combine.c (distribute_notes): When parts of a hard reg are
	neither set nor referenced in PLACE, search backwards for a
	place to put a REG_UNUSED note; if none found, ask for flow
	info refresh.

From-SVN: r37284
2000-11-07 06:28:34 +00:00
Alexandre Oliva
aa17a5f382 acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of alternatives for CXX_libstdcxx, now that it is useless.
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
alternatives for CXX_libstdcxx, now that it is useless.
* aclocal.m4, configure: Rebuilt.

From-SVN: r37283
2000-11-07 02:00:22 +00:00
J"orn Rennecke
f34c06e547 reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL with (clobber (match_scratch...)).
* reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
	with (clobber (match_scratch...)).

From-SVN: r37281
2000-11-06 20:09:04 +00:00
Christopher Faylor
f559f30b4b * config.sub: Add support for Sun Chorus
From-SVN: r37280
2000-11-06 19:20:24 +00:00
Neil Booth
2b892489e1 c-lex.c (init_c_lex): If cpp_start_read fails, exit with error status.
* c-lex.c (init_c_lex): If cpp_start_read fails, exit with
	error status.

From-SVN: r37279
2000-11-06 19:10:05 +00:00
Neil Booth
ea33bfc554 tradcpp.c (special_symbol): Assign an null string rather than writing to an unallocated buffer.
* tradcpp.c (special_symbol): Assign an null string rather
        than writing to an unallocated buffer.

From-SVN: r37278
2000-11-06 18:58:28 +00:00
Neil Booth
56051c0abd cpplex.c (_cpp_equiv_tokens): Check arg_no in the CPP_MACRO_ARG case.
* cpplex.c (_cpp_equiv_tokens): Check arg_no in the
	CPP_MACRO_ARG case.

From-SVN: r37277
2000-11-06 18:47:21 +00:00
Neil Booth
6c53ebffc5 c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or tok.val.arg_no as appropriate.
* c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
	tok.val.arg_no as appropriate.
	* cppexp.c (lex): Similarly.
	* cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
	cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
	* cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
	cpp_macro_definition): Similarly.
	* cpplib.h (struct cpp_token): Replace aux with c and arg_no.

From-SVN: r37276
2000-11-06 18:43:32 +00:00
Jakub Jelinek
d1877a9b13 crash24.C: New test.
* g++.old-deja/g++.other/crash24.C: New test.
	* g++.old-deja/g++.other/crash25.C: New test.
	* g++.old-deja/g++.other/crash26.C: New test.
	* g++.old-deja/g++.other/crash27.C: New test.
	* g++.old-deja/g++.other/crash28.C: New test.
	* g++.old-deja/g++.other/crash29.C: New test.
	* g++.old-deja/g++.other/crash30.C: New test.
	* g++.old-deja/g++.other/crash31.C: New test.
	* g++.old-deja/g++.other/crash32.C: New test.
	* g++.old-deja/g++.other/crash33.C: New test.
	* g++.old-deja/g++.other/crash34.C: New test.
	* g++.old-deja/g++.other/crash35.C: New test.

From-SVN: r37275
2000-11-06 13:29:02 +01:00
Jakub Jelinek
8b1c5fd025 sparc.md (adddi3): If operands[2] is 4096 and operands[1] is constant...
* config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
	operands[1] is constant, calculate the sum and generate movdi.
	(addsi3): Similarly.  Use SImode in call to arith_4096_operand.
	(subsi3): Use SImode in call to arith_4096_operand.

	* gcc.c-torture/execute/20001031-1.c: New test.

From-SVN: r37274
2000-11-06 11:42:20 +01:00
Jakub Jelinek
a0115140d0 sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to adjust %o1, not %o0 if the return type is large structure.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
	adjust %o1, not %o0 if the return type is large structure.

From-SVN: r37273
2000-11-06 11:36:33 +01:00
Jakub Jelinek
9ea2bda9ab sparc.md (smulsi3_highpart_v8plus, [...]): Fix output formatting.
* config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
	update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.

From-SVN: r37272
2000-11-06 11:34:49 +01:00
Jeff Law
a5a1588c12 Daily bump.
From-SVN: r37271
2000-11-06 01:45:07 -07:00
Denis Chertykov
1cf7847fed expmed.c (expand_divmod): For signed divide by 2, prefer a branch and fewer shifts if branches are very cheap.
* expmed.c (expand_divmod): For signed divide by 2, prefer
	a branch and fewer shifts if branches are very cheap.

From-SVN: r37270
2000-11-06 11:39:54 +03:00
Tom Tromey
099a51500c lex.h (JAVA_FLOAT_RANGE_ERROR): Typo fix.
* lex.h (JAVA_FLOAT_RANGE_ERROR): Typo fix.
	* lex.c (IS_ZERO): New define.
	(java_perform_atof): Error on floating point underflow.

From-SVN: r37269
2000-11-06 05:35:53 +00:00
Tom Tromey
f83c165658 libjava.exp (libjava_arguments): Set --tag on libtool invocation.
* lib/libjava.exp (libjava_arguments): Set --tag on libtool
	invocation.

From-SVN: r37268
2000-11-06 00:22:01 +00:00
Tom Tromey
cbf53a1d5e lex.c (java_parse_escape_sequence): Only read two octal characters if the first one is greater than 3.
* lex.c (java_parse_escape_sequence): Only read two octal
	characters if the first one is greater than 3.  Don't allow
	"octal" numbers to include the digits 8 or 9.

From-SVN: r37267
2000-11-05 22:59:56 +00:00
Toon Moene
35f93a1e2d root.texi, [...]: Remove non-historical references to egcs/EGCS.
2000-11-05  Toon Moene  <toon@moene.indiv.nluug.nl>

	* root.texi, news.texi, g77install.texi, g77.texi, bugs.texi:
	Remove non-historical references to egcs/EGCS.

From-SVN: r37266
2000-11-05 13:20:46 +00:00
Joseph Myers
436a88a6d4 Makefile.in: Remove all targets related to building distributions and diffs, or INSTALL.
* Makefile.in: Remove all targets related to building
	distributions and diffs, or INSTALL.
	* INSTALL, install1.texi: Remove.
	* configure.in: Remove mention of distdir.
	* configure: Regenerate.
	* objc/Make-lang.in: Remove mention of distdir.

ch:
	* Make-lang.in (CHILL.distdir): Remove.

cp:
	* Make-lang.in (c++.distdir): Remove.

f:
	* Make-lang.in: Remove f77.distdir and f/INSTALL.
	* INSTALL, install0.texi: Remove.

java:
	* Make-lang.in (java.distdir): Remove.

From-SVN: r37265
2000-11-05 10:35:33 +00:00
Jeff Law
28d31a703f Daily bump.
From-SVN: r37264
2000-11-05 01:45:08 -07:00
Mark Mitchell
bb4127f8c9 acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
* acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
	* aclocal.m4: Regenerated.
	* configure: Likewise.

From-SVN: r37263
2000-11-05 02:38:53 +00:00
Mark Mitchell
f73bbdca85 use of `test'.
* aclocal.m4: Regenerated.
	* configure: Likewise.

From-SVN: r37262
2000-11-04 23:00:26 +00:00
Mark Mitchell
bfd2cff7a6 misc13.C: Put strlen' in std' namespace.
* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
	namespace.

From-SVN: r37260
2000-11-04 20:29:16 +00:00
Mark Mitchell
247a2b0ab5 weak.C: Fix uses of iostreams to be standards-conformant.
* g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
	standards-conformant.

From-SVN: r37259
2000-11-04 20:13:44 +00:00
Mark Mitchell
bb77c16cdc * g++.old-deja/g++.mike/net5.C: Put abort' in std' namespace.
From-SVN: r37258
2000-11-04 20:08:18 +00:00
Mark Mitchell
ffb2827932 p755.C: Tweak handling of exit.
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
	* g++.old-deja/g++.mike/p755a.C: Likewise.
	* g++.old-deja/g++.mike/p9706.C: Don't assume that the standard
	library makes no calls to `operator new' during initialization.

From-SVN: r37257
2000-11-04 20:00:52 +00:00
Mark Mitchell
8d48367bef Use <vector> rather than <vector.h>.
From-SVN: r37256
2000-11-04 19:37:37 +00:00
Tom Tromey
4e2c8d44e8 re PR other/567 ("make dvi" fails)
* Make-lang.in (java.dvi): New target.
	Partial fix for PR other/567.

From-SVN: r37255
2000-11-04 19:12:46 +00:00
Mark Mitchell
7a4e509111 decl2.c (do_nonmember_using_decl): Allow `extern "C"' declarations from different namespaces to be combined.
* decl2.c (do_nonmember_using_decl): Allow `extern "C"'
	declarations from different namespaces to be combined.

From-SVN: r37254
2000-11-04 18:47:16 +00:00
Neil Booth
9cf11a478d * cpp.texi: Update for _Pragma.
From-SVN: r37253
2000-11-04 14:09:28 +00:00
Joseph Myers
f148ca886c * gcc.texi (Contributing): Update URL for projects web page.
From-SVN: r37252
2000-11-04 12:42:25 +00:00
Neil Booth
e8ecb16d5e * gcc.dg/cpp/include2.c: New tests.
From-SVN: r37251
2000-11-04 11:14:54 +00:00
Neil Booth
16eb278877 cpplex.c (parse_string): Don't allow multiline strings in #include family directives.
* cpplex.c (parse_string): Don't allow multiline strings in
        #include family directives.

From-SVN: r37250
2000-11-04 11:13:22 +00:00
Neil Booth
9232b7d9c6 cpplib.c (do_line): Only warn pedantically if not reading preprocessed input.
* cpplib.c (do_line): Only warn pedantically if not reading
        preprocessed input.

From-SVN: r37249
2000-11-04 10:34:34 +00:00