Commit Graph

49591 Commits

Author SHA1 Message Date
Eric Christopher
d1c4bfe8b7 Missed commit file.
From-SVN: r66319
2003-05-01 06:18:07 +00:00
Eric Christopher
cafe096b40 Merge from rewrite branch.
From-SVN: r66318
2003-05-01 02:33:13 +00:00
Mark Mitchell
6481daa971 g++-dg.exp (g++-dg-test): Add "repo" option.
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
	(dg-gpp-additional-sources): New function.
	(dg-gpp-additional-files): Likewise.
	* lib/g++.exp (additional_sources): New variable.
	(additional_files): Likewise.
	(g++_target_compile): Deal with them.
	* lib/old-dejagnu.exp: Remove.
	* g++.old-deja/old-deja.exp: Use dg.exp, not old-dejagnu.exp.
	* g++.old-deja: Revise all tests to use dg commands.

From-SVN: r66317
2003-05-01 02:02:59 +00:00
Diego Novillo
44c8a5f8d8 * builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
From-SVN: r66316
2003-04-30 21:27:48 -04:00
Geoffrey Keating
5d638f7087 tree-inline.c (inlinable_function_p): Back out last change, it's unnecessary.
* tree-inline.c (inlinable_function_p): Back out last change, it's
	unnecessary.

From-SVN: r66315
2003-05-01 01:21:45 +00:00
GCC Administrator
ee704412ab Daily bump.
From-SVN: r66314
2003-05-01 00:17:10 +00:00
Steven Bosscher
5e26df649a ggc-page.c (TREE_EXP_SIZE): Define.
* ggc-page.c (TREE_EXP_SIZE): Define.
	(extra_order_size_table): New entry for expr trees with
	two operands.

From-SVN: r66306
2003-04-30 21:44:23 +00:00
Richard Kenner
5826955dbb * stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
From-SVN: r66305
2003-04-30 16:30:37 -04:00
Gabriel Dos Reis
fba020b134 c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
* c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
        (c_expand_start_cond): Adjust.
        (c_expand_end_cond): Don't use warning_with_file_and_file.
        (shadow_warning): Likewise.

From-SVN: r66304
2003-04-30 20:27:26 +00:00
Steven Bosscher
1dcfc9d1fa parse.y (make_plus_expression): New function.
* parse.y (make_plus_expression): New function.
	(expression:): Use make_plus_expression for PLUS, MINUS,
	ASSIGN and EQUALS.
	* tree1.c (treelang_decode_option): Don't fall through to
	options that start with a different character when an option
	was not recognized.

From-SVN: r66303
2003-04-30 19:08:12 +00:00
Nathan Sidwell
b7bfc1c0b5 Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
* Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
	* treetree.c: Do not #include parse.h.

From-SVN: r66301
2003-04-30 18:27:43 +00:00
Nathan Sidwell
62216ea087 tree.h (DECL_POINTER_DEPTH): Remove.
* tree.h (DECL_POINTER_DEPTH): Remove.
	(struct tree_decl): Remove pointer_depth.

From-SVN: r66300
2003-04-30 18:24:06 +00:00
Phil Edwards
8abcca7bc6 acinclude.m4: Add bit missing from previous patch.
2003-04-30  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4:  Add bit missing from previous patch.
	* aclocal.m4, configure:  Regenerated.

From-SVN: r66299
2003-04-30 18:04:23 +00:00
Kriang Lerdsuwanakij
d7ed5e55a2 PR c++/9432, c++/9528
PR c++/9432, c++/9528
	* decl2.c (validate_nonmember_using_decl): Handle SCOPE_REF.

	* g++.dg/lookup/using4.C: New test.

From-SVN: r66298
2003-04-30 17:51:41 +00:00
Janis Johnson
d1908febec linux64.h (ASM_OUTPUT_LABELREF): Remove.
2003-04-30  Janis Johnson  <janis187@us.ibm.com>

	* config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove.
	* config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove.
	(rs6000_xcoff_encode_section_info): Remove.
	(current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug.
	(rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS.
	(small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,):
	Use SYMBOL_REF_FLAGS.
	(rs6000_elf_encode_section_info): Call default_encode_section_info for
	generic flags, use SYMBOL_REF_FLAGS; code cleanups.
	* sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
	(SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New.
	* xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove.
	(ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG.

From-SVN: r66297
2003-04-30 16:51:23 +00:00
Gabriel Dos Reis
0e42348d22 * diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
From-SVN: r66295
2003-04-30 16:12:58 +00:00
Wolfgang Bangerth
55b15a115b * MAINTAINERS (GNATS only): Add Giovanni Bajo.
From-SVN: r66294
2003-04-30 08:20:44 -06:00
Andreas Schwab
dad784261d extend.texi (Other Builtins): Enclose multiple word data type in braces for @deftypefn.
* doc/extend.texi (Other Builtins): Enclose multiple word data
	type in braces for @deftypefn.

From-SVN: r66293
2003-04-30 14:17:26 +00:00
Richard Kenner
4c80872c48 * doc/install.texi (--enable-threads): Document "gnat" option.
From-SVN: r66291
2003-04-30 10:08:14 -04:00
Gabriel Dos Reis
152c16a9ac decl.c (check_previous_goto_1): Adjust prototype.
* decl.c (check_previous_goto_1): Adjust prototype.
        (check_previous_goto): Adjust use.
        (check_switch_goto): Likewise.
        (use_label): Adjust.
        (check_previous_goto_1): Don't use pedwarn_with_file_and_line.
        (struct named_label_use_list): Use location_t datatype.

From-SVN: r66290
2003-04-30 13:45:40 +00:00
Michael Koch
d3d40e23b3 2003-04-30 Michael Koch <konqueror@gmx.de>
* java/text/BreakIterator.java
	(clone): New method.

From-SVN: r66289
2003-04-30 13:22:45 +00:00
Michael Koch
70ff9d9023 CollationElementIterator.java, [...]: Merged copyright and documentation from classpath and rearranged some code.
2003-04-30  Michael Koch  <konqueror@gmx.de>

	* java/text/CollationElementIterator.java,
	java/text/CollationKey.java,
	java/text/RuleBasedCollator.java:
	Merged copyright and documentation from classpath and
	rearranged some code. No code changes done.

From-SVN: r66288
2003-04-30 13:09:40 +00:00
Gabriel Dos Reis
10256cf5f6 diagnostic.h (output_formatted_scalar): Tweak.
* diagnostic.h (output_formatted_scalar): Tweak.
        * diagnostic.c (output_long_decimal): Likewise.
        (output_unsigned_decimal): Likewise.
        (output_long_unsigned_decimal): Likewise.
        (output_octal): Likewise.
        (output_long_octal): Likewise.
        (output_hexadecimal): Likewise.
        (output_long_hexadecimal): Likewise.
        (output_pointer): New function.
        (output_format): Use it.  Recognize "%p" format specifier.

From-SVN: r66287
2003-04-30 12:54:29 +00:00
Zdenek Dvorak
b2a7fa89ee * function.c (purge_addressof_1): Postpone insn in fewer cases.
From-SVN: r66286
2003-04-30 10:03:35 +00:00
Michael Koch
ad03daf005 2003-04-30 Michael Koch <konqueror@gmx.de>
* java/util/regex/Matcher.java
	(pattern): New member variable.
	(appendReplacement): New method.
	(appendTail): New method.
	(end): New method.
	(find): New method.
	(group): New method.
	(replaceFirst): Added documentation.
	(replaceAll): Added documentation.
	(groupCount): New method.
	(lookingAt): New method.
	(matches): New method.
	(reset): New method.
	(start): New method.
	* java/util/regex/Pattern.java
	(serialVersionUID): New constant.
	(CANON_EQ): New constant.
	(CASE_INSENSITIVE): New constant.
	(COMMENTS): New constant.
	(DOTALL): New constant.
	(MULTILINE): New constant.
	(UNICODE_CASE): New constant.
	(UNIX_LINES): New constant.
	(regex): New member variable.
	(flags): New member variable.
	(Pattern): New method.
	(compile): Documentation added.
	(flags): New method.
	(matches): Documentation added.
	(matcher): Documentation added.
	(split): Documentation added.
	(pattern): New method.

From-SVN: r66285
2003-04-30 08:57:04 +00:00
Michael Koch
859a3d9a1d This accidently got it then the big java.security merge so revert this.
From-SVN: r66284
2003-04-30 07:26:36 +00:00
Michael Koch
43905ff30b Engine.java, [...]: New files from classpath.
2003-04-30  Michael Koch  <konqueror@gmx.de>

	* gnu/java/security/Engine.java,
	gnu/java/security/OID.java,
	gnu/java/security/der/BitString.java,
	gnu/java/security/der/DER.java,
	gnu/java/security/der/DERReader.java,
	gnu/java/security/der/DERValue.java,
	gnu/java/security/der/DERWriter.java,
	gnu/java/security/provider/DSAKeyFactory.java,
	gnu/java/security/provider/X509CertificateFactory.java,
	gnu/java/security/x509/X500DistinguishedName.java,
	gnu/java/security/x509/X509CRL.java,
	gnu/java/security/x509/X509CRLEntry.java,
	gnu/java/security/x509/X509Certificate.java,
	java/security/cert/CRLSelector.java,
	java/security/cert/CertPathBuilder.java,
	java/security/cert/CertPathBuilderResult.java,
	java/security/cert/CertPathBuilderSpi.java,
	java/security/cert/CertPathParameters.java,
	java/security/cert/CertPathValidator.java,
	java/security/cert/CertPathValidatorResult.java,
	java/security/cert/CertPathValidatorSpi.java,
	java/security/cert/CertSelector.java,
	java/security/cert/CertStore.java,
	java/security/cert/CertStoreParameters.java,
	java/security/cert/CertStoreSpi.java,
	java/security/cert/CollectionCertStoreParameters.java,
	java/security/cert/LDAPCertStoreParameters.java,
	java/security/cert/PKIXBuilderParameters.java,
	java/security/cert/PKIXCertPathBuilderResult.java,
	java/security/cert/PKIXCertPathChecker.java,
	java/security/cert/PKIXCertPathValidatorResult.java,
	java/security/cert/PKIXParameters.java,
	java/security/cert/PolicyNode.java,
	java/security/cert/PolicyQualifierInfo.java,
	java/security/cert/TrustAnchor.java,
	javax/security/auth/x500/X500Principal.java:
	New files from classpath.
	* gnu/java/io/ASN1ParsingException.java,
	gnu/java/io/Base64InputStream.java,
	gnu/java/security/der/DEREncodingException.java,
	gnu/java/security/provider/DSAParameters.java,
	gnu/java/security/provider/DSASignature.java,
	gnu/java/security/provider/Gnu.java,
	gnu/java/security/provider/GnuDSAPrivateKey.java,
	gnu/java/security/provider/GnuDSAPublicKey.java,
	java/security/AlgorithmParameterGenerator.java,
	java/security/AlgorithmParameters.java,
	java/security/KeyFactory.java,
	java/security/KeyPairGenerator.java,
	java/security/KeyStore.java,
	java/security/MessageDigest.java,
	java/security/SecureClassLoader.java,
	java/security/SecureRandom.java,
	java/security/Security.java,
	java/security/Signature.java,
	java/security/cert/Certificate.java,
	java/security/cert/CertificateFactory.java,
	java/security/cert/CertificateFactorySpi.java,
	java/security/cert/X509CRL.java,
	java/security/cert/X509Certificate.java,
	java/security/spec/DSAPublicKeySpec.java:
	New versions from classpath.
	* gnu/java/security/provider/DERReader.java,
	gnu/java/security/provider/DERWriter.java,
	java/security/Engine.java: Removed.
	* Makefile.am
	(java_source_files, javax_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r66283
2003-04-30 07:23:42 +00:00
Geoffrey Keating
505b0fd661 host-darwin.c (segv_handler): When -dH is used, call abort() after running out of stack space.
* config/rs6000/host-darwin.c (segv_handler): When -dH is used,
	call abort() after running out of stack space.

From-SVN: r66282
2003-04-30 01:52:06 +00:00
Geoffrey Keating
a6fdc0868e c-typeck.c (function_types_compatible_p): Ignore incompatible 'volatile' qualifiers on a function's return type in GNU mode.
2003-04-29  Geoffrey Keating  <geoffk@apple.com>

	* c-typeck.c (function_types_compatible_p): Ignore incompatible
	'volatile' qualifiers on a function's return type in GNU mode.

Index: testsuite/ChangeLog
2003-04-29  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/noreturn-5.c: New file.
	* gcc.dg/noreturn-6.c: New file.

From-SVN: r66281
2003-04-30 01:28:39 +00:00
Aldy Hernandez
9c0631a756 expr.c (emit_group_load): Dump parallels of simd types to memory.
2003-04-29  Aldy Hernandez  <aldyh@redhat.com>

        * expr.c (emit_group_load): Dump parallels of simd types to
        memory.

From-SVN: r66280
2003-04-30 00:49:01 +00:00
GCC Administrator
95b588cf15 Daily bump.
From-SVN: r66279
2003-04-30 00:17:06 +00:00
Phil Edwards
e1bff39ade mainpage.html: Bring up to date.
2003-04-29  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/mainpage.html:  Bring up to date.
	* docs/doxygen/run_doxygen:  Cosmetic tweaks.  Work around a bug
	in Doxygen.
	* docs/doxygen/user.cfg.in:  Scanning the precompiled headers
	breaks everything.  Don't scan them.
	* docs/html/documentation.html:  Point to "Write after approval"
	notes.

From-SVN: r66270
2003-04-29 23:48:52 +00:00
Geoffrey Keating
b3d627e251 tree-inline.c (inlinable_function_p): Don't support inlining functions using varargs.
* tree-inline.c (inlinable_function_p): Don't support inlining
	functions using varargs.

Index: testsuite/ChangeLog
	* gcc.c-torture/compile/inline-1.c: New file.

From-SVN: r66269
2003-04-29 23:32:44 +00:00
Richard Kenner
0384674ecf stor-layout.c (mode_for_size_tree): Use tree_low_cst.
* stor-layout.c (mode_for_size_tree): Use tree_low_cst.
	(layout_decl, place_field): Likewise.
	Also make minor type and whitespace changes.

From-SVN: r66268
2003-04-29 18:48:55 -04:00
Phil Edwards
7f78b6caa0 acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside of libc if message translations are being used.
2003-04-29  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  Search for gettext outside
	of libc if message translations are being used.  Fix info text in
	xieee_1003.1-2001 case.
	* aclocal.m4, configure:  Regenerate.

From-SVN: r66267
2003-04-29 22:47:03 +00:00
Vladimir Makarov
7471974227 genautomata.c (add_vect): Check undefined value for range type too.
2003-04-29  Vladimir Makarov  <vmakarov@redhat.com>

	* genautomata.c (add_vect): Check undefined value for range type
	too.

From-SVN: r66266
2003-04-29 22:46:54 +00:00
Phil Edwards
baade80b78 configure.in: More general test for cmp --ignore-initial.
2003-04-29  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  More general test for cmp --ignore-initial.
	* configure:  Regenerate.

From-SVN: r66265
2003-04-29 22:39:26 +00:00
Richard Kenner
84d8756de1 * tree.c (save_expr): Don't fold a COMPONENT_REF.
From-SVN: r66264
2003-04-29 18:38:09 -04:00
Mark Mitchell
1f6f0cb610 re PR c++/10551 (Failure to emit explicitly instantiated template w/--no-implicit-templates)
PR c++/10551
	* pt.c (mark_decl_instantiated): Defer all explicit instantiations
	that have not yet been written out.

	PR c++/10551
	* g++.dg/template/explicit1.C: New test.

From-SVN: r66263
2003-04-29 22:15:34 +00:00
Joel Sherrill
51dc3d74f8 atomicity.h: New file.
2003-04-29 Joel Sherrill  <joel.sherrill@OARcorp.com>
	   Loren J. Rittle <ljrittle@acm.org>
	   Martin v. Loewis  <martin@v.loewis.de>

	* config/cpu/i386/atomicity.h: New file.

Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
Co-Authored-By: Martin v. Loewis <martin@v.loewis.de>

From-SVN: r66261
2003-04-29 21:57:39 +00:00
Olivier Hainque
0219237c53 calls.c (expand_call): When modes of target and valreg match, force sibcall failure when target is a MEM.
* calls.c (expand_call): When modes of target and valreg match,	force
	sibcall failure when target is a MEM.

From-SVN: r66260
2003-04-29 17:47:42 -04:00
Mark Mitchell
555456b175 re PR c++/10549 (ICE in store_bit_field on bitfields that exceed the precision of the declared type.)
PR c++/10549
	* class.c (layout_class_type): Mark overlong bitfields as having
	the maximum size permitted by their type, after layout.

	PR c++/10549
	* g++.dg/other/bitfield1.C: New test.

From-SVN: r66257
2003-04-29 21:28:41 +00:00
Geoffrey Keating
f4ddb75bb3 * doc/invoke.texi (Overall Options): Mention -x objective-c-header.
From-SVN: r66254
2003-04-29 20:45:55 +00:00
Geoffrey Keating
0366359a3c dwarf2out.c (output_call_frame_info): No need to output EH unwind information if all_throwers_are_sibcalls.
* dwarf2out.c (output_call_frame_info): No need to output EH
	unwind information if all_throwers_are_sibcalls.

From-SVN: r66253
2003-04-29 20:42:55 +00:00
Geoffrey Keating
e55614cab2 c-semantics.c (expand_unreachable_stmt): Return a tree.
* c-semantics.c (expand_unreachable_stmt): Return a tree.
	(expand_stmt): Update for change to expand_unreachable_stmt.
	(expand_unreachable_if_stmt): Likewise.

From-SVN: r66252
2003-04-29 20:39:12 +00:00
Geoffrey Keating
b9538b2e88 * Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
From-SVN: r66251
2003-04-29 20:34:45 +00:00
Jason Merrill
72e940d286 re PR middle-end/10336 (ICE with -Wunreachable-code)
PR middle-end/10336
        * jump.c (never_reached_warning): Really stop looking if we reach
        the beginning of the function.

From-SVN: r66249
2003-04-29 16:25:11 -04:00
Mark Mitchell
60cde93696 re PR c++/10527 (confused error message with "new int()" parameter initializer)
PR c++/10527
	* error.c (dump_expr): Correctly handling of NEW_EXPR.4

	PR c++/10527
	* g++.dg/init/new7.C: New test.

From-SVN: r66247
2003-04-29 20:17:00 +00:00
Paolo Carlini
cc9d1c78ef fstream.tcc (open): Change to single return.
2003-04-29  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/fstream.tcc (open): Change to single return.

From-SVN: r66245
2003-04-29 19:46:07 +00:00
Bob Wilson
9193479f34 elf.h (SIZE_TYPE, [...]): Remove redundant macros.
* config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX):
	Remove redundant macros.
	(WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int".
	(LOCAL_LABEL_PREFIX): Define unconditionally.
	(NO_DOT_IN_LABEL): Clarify comment.
	* config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit
	definition to "long int".

From-SVN: r66242
2003-04-29 18:56:53 +00:00