Commit Graph

49730 Commits

Author SHA1 Message Date
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
Alexander Kabaev
b0501ec1da gengtype-yacc.y: Improve portability.
bootstrap/10452
	* gengtype-yacc.y: Improve portability.

From-SVN: r66239
2003-04-29 18:51:38 +00:00
Zack Weinberg
8e720e8bbc config.gcc: Install obsolete target list for GCC 3.3.
* config.gcc: Install obsolete target list for GCC 3.3.
	* doc/install.texi: Mention in specific-target instructions
	that certain configurations are deprecated.

From-SVN: r66238
2003-04-29 18:47:40 +00:00
Mark Mitchell
446d5e4776 re PR c++/10515 (problem when initializing a field in a union)
PR c++/10515
	* cp-tree.h (lookup_field_1): Declare it.
	* search.c (lookup_field_1): Make it public.
	* decl.c (reshape_init): Handle designated initializers.

From-SVN: r66236
2003-04-29 18:26:47 +00:00
Mark Mitchell
7513525363 re PR c++/10515 (problem when initializing a field in a union)
PR c++/10515
	* g++.dg/ext/desig1.C: New test.
	* g++.dg/ext/init1.C: Likewise.

	PR c++/10515
	* cp-tree.h (lookup_field_1): Declare it.
	* search.c (lookup_field_1): Make it public.
	* decl.c (reshape_init): Handle designated initializers.

From-SVN: r66235
2003-04-29 18:00:23 +00:00
Paolo Carlini
d4be2966f3 std_sstream.h (underflow): Change to single return.
2003-04-29  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_sstream.h (underflow): Change to single return.

From-SVN: r66234
2003-04-29 17:47:38 +00:00
Zack Weinberg
1be3f80ff8 * tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.
From-SVN: r66233
2003-04-29 17:10:48 +00:00
Kriang Lerdsuwanakij
8e854b762f c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
* c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
	* gcc.c (display_help): Likewise.
	* toplev.c (f_options): Likewise.
	* params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
	* config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
	* config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
	* config/s390/s390.h (TARGET_SWITCHES): Likewise.
	* config/v850/v850.h (TARGET_SWITCHES): Likewise.

	* call.c (build_operator_new_call): Fix typo.
	* lang-options.h: Likewise.

From-SVN: r66228
2003-04-29 14:16:48 +00:00
David O'Brien
fbf17dab00 freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
* config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
	(SET_ASM_OP): New macro.
	(HANDLE_SYSV_PRAGMA): New macro.
	(ASM_WEAKEN_LABEL): New macro.

From-SVN: r66223
2003-04-29 12:52:57 +00:00
Michael Koch
f0fad938da Two little fixes I commited to classpath but not to libgcj first
From-SVN: r66222
2003-04-29 12:34:49 +00:00
Michael Koch
ca55ba498a 2003-04-29 Michael Koch <konqueror@gmx.de>
* javax/swing/JTable.java
	(AUTO_RESIZE_ALL_COLUMNS): New constant.
	(AUTO_RESIZE_LAST_COLUMN): New constant.
	(AUTO_RESIZE_NEXT_COLUMN): New constant.
	(AUTO_RESIZE_OFF): New constant.
	(AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
	(JTable): New method.
	(columnAdded): New method.
	(columnMarginChanged): New method.
	(columnMoved): New method.
	(columnRemoved): New method.
	(columnSelectionChanged): New method.
	(editingCanceled): New method.
	(editingStopped): New method.
	(getColumnModel): New method.
	(getPreferredScrollableViewportSize): New method.
	(getScrollableBlockIncrement): New method.
	(getScrollableTracksViewportHeight): New method.
	(getScrollableTracksViewportWidth): New method.
	(getScrollableUnitIncrement): New method.
	(getSelectedRow): New method.
	(getSelectionModel): New method.
	(tableChanged): New method.
	(setModel): New method.
	(setSelectionMode): New method.
	(setSelectionModel): New method.
	(setShowGrid): New method.
	(valueChanged): New method.
	* javax/swing/text/DefaultEditorKit.java
	(backwardAction): New constant.
	(beepAction): New constant.
	(beginAction): New constant.
	(beginLineAction): New constant.
	(beginParagraphAction): New constant.
	(beginWordAction): New constant.
	(copyAction): New constant.
	(cutAction): New constant.
	(defaultKeyTypedAction): New constant.
	(deleteNextCharAction): New constant.
	(deletePrevCharAction): New constant.
	(downAction): New constant.
	(endAction): New constant.
	(endLineAction): New constant.
	(endOfLineStringProperty): New constant.
	(endParagraphAction): New constant.
	(endWordAction): New constant.
	(forwardAction): New constant.
	(insertBreakAction): New constant.
	(insertContentAction): New constant.
	(insertTabAction): New constant.
	(nextWordAction): New constant.
	(pageDownAction): New constant.
	(pageUpAction): New constant.
	(pasteAction): New constant.
	(previousWordAction): New constant.
	(readOnlyAction): New constant.
	(selectAllAction): New constant.
	(selectionBackwardAction): New constant.
	(selectionBeginAction): New constant.
	(selectionBeginLineAction): New constant.
	(selectionBeginParagraphAction): New constant.
	(selectionBeginWordAction): New constant.
	(selectionDownAction): New constant.
	(selectionEndAction): New constant.
	(selectionEndLineAction): New constant.
	(selectionEndParagraphAction): New constant.
	(selectionEndWordAction): New constant.
	(selectionForwardAction): New constant.
	(selectionNextWordAction): New constant.
	(selectionPreviousWordAction): New constant.
	(selectionUpAction): New constant.
	(selectLineAction): New constant.
	(selectParagraphAction): New constant.
	(selectWordAction): New constant.
	(upAction): New constant.
	(writableAction): New constant.

From-SVN: r66221
2003-04-29 12:31:25 +00:00
J"orn Rennecke
267594f312 * varasm.c (default_assemble_visibility): Use assemble_name.
From-SVN: r66220
2003-04-29 13:18:17 +01:00