gcc.git
19 years agoRevert previous patch see http://gcc.gnu.org/ml/gcc/2004-10/msg00805.html
Kelley Cook [Wed, 20 Oct 2004 23:45:37 +0000 (23:45 +0000)]
Revert previous patch see gcc.gnu.org/ml/gcc/2004-10/msg00805.html

From-SVN: r89350

19 years ago* config/rs6000/rs6000.c
Ben Elliston [Wed, 20 Oct 2004 22:57:05 +0000 (22:57 +0000)]
* config/rs6000/rs6000.c
(rs6000_va_start): Use build_va_arg_indirect_ref.
(rs6000_gimplify_va_arg): Likewise.

From-SVN: r89349

19 years agonatClass.cc (_Jv_LayoutVTableMethods): Cast pointers to uaddr, not int.
Andreas Schwab [Wed, 20 Oct 2004 21:42:33 +0000 (21:42 +0000)]
natClass.cc (_Jv_LayoutVTableMethods): Cast pointers to uaddr, not int.

* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
to uaddr, not int.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
Likewise.

From-SVN: r89346

19 years agore PR java/15575 (HAVE_LANGINFO_CODESET never defined)
Bryce McKinlay [Wed, 20 Oct 2004 21:36:47 +0000 (21:36 +0000)]
re PR java/15575 (HAVE_LANGINFO_CODESET never defined)

2004-10-20  Bryce McKinlay  <mckinlay@redhat.com>

PR java/15575
* configure.ac: Declare AM_LANGINFO_CODESET.
* aclocal.m4: Define AM_LANGINFO_CODESET.
* configure, config.in: Rebuilt.

From-SVN: r89345

19 years ago* de.po: Update.
Joseph Myers [Wed, 20 Oct 2004 21:35:08 +0000 (22:35 +0100)]
* de.po: Update.

From-SVN: r89343

19 years agoexpr.c (store_expr): Remove code that is run when want_value & 1 is nonzero.
Kazu Hirata [Wed, 20 Oct 2004 19:04:43 +0000 (19:04 +0000)]
expr.c (store_expr): Remove code that is run when want_value & 1 is nonzero.

* expr.c (store_expr): Remove code that is run when
want_value & 1 is nonzero.

From-SVN: r89340

19 years agogthr-posix.h (__gthread_active_p): Use __extension__ around cast from function pointe...
Mark Mitchell [Wed, 20 Oct 2004 16:56:10 +0000 (16:56 +0000)]
gthr-posix.h (__gthread_active_p): Use __extension__ around cast from function pointer to void *.

* gthr-posix.h (__gthread_active_p): Use __extension__ around cast
from function pointer to void *.

From-SVN: r89336

19 years agore PR c++/13495 (Friendship to class nested within a template is broken)
Kriang Lerdsuwanakij [Wed, 20 Oct 2004 16:20:50 +0000 (16:20 +0000)]
re PR c++/13495 (Friendship to class nested within a template is broken)

PR c++/13495
* decl.c (make_unbound_class_template): Add PARM_LIST parameter.
* cp-tree.h (make_unbound_class_template): Adjust prototype.
* parser.c (cp_parser_lookup_name): Adjust call to
make_unbound_class_template.
(cp_parser_single_declaration): Handle member class of class
template as template friend parsing correctly.
* friend.c (is_friend): Call is_specialization_of_friend for
template friend class.
(make_friend_class): Handle member class of class template as
template friend.
* pt.c (is_specialization_of_friend): Likewise.
(instantiate_class_template): Likewise.
(tsubst): Adjust call to make_unbound_class_template.

* g++.dg/template/memfriend9.C: New test.
* g++.dg/template/memfriend10.C: Likewise.
* g++.dg/template/memfriend11.C: Likewise.
* g++.dg/template/memfriend12.C: Likewise.
* g++.dg/template/memfriend13.C: Likewise.
* g++.dg/template/memfriend14.C: Likewise.
* g++.dg/template/memfriend15.C: Likewise.
* g++.dg/template/memfriend16.C: Likewise.
* g++.dg/template/memfriend17.C: Likewise.
* g++.old-deja/g++.pt/friend44.C: Remove bogus error.

From-SVN: r89335

19 years agotypeck.c (composite_pointer_type): Add comment about DR 195
Nathan Sidwell [Wed, 20 Oct 2004 14:30:52 +0000 (14:30 +0000)]
typeck.c (composite_pointer_type): Add comment about DR 195

cp:
* typeck.c (composite_pointer_type): Add comment about DR 195
(build_reinterpret_cast_1): Add for_reinterpret_cast_p parameter.
Allow function pointer conversions that DR195 suggests.
(build_reinterpret_cast, build_c_cast): Update
build_reinterpret_cast_1 calls.
testsuite:
* g++.dg/conversion/dr195.C: New.
* g++.old-deja/g++.mike/p10148.C: Remove ill-formed cast.

From-SVN: r89334

19 years agore PR target/18032 ([4.0.0] SH: wrong code for EH)
Kaz Kojima [Wed, 20 Oct 2004 13:57:22 +0000 (13:57 +0000)]
re PR target/18032 ([4.0.0] SH: wrong code for EH)

PR target/18032
* config/sh/sh.c (sh_expand_epilogue): Emit a blockage insn before
the frame pointer adjustment when exception handling is enabled.

From-SVN: r89333

19 years ago* call.c, typeck.c: Fix comment typos.
Kazu Hirata [Wed, 20 Oct 2004 13:16:44 +0000 (13:16 +0000)]
* call.c, typeck.c: Fix comment typos.

From-SVN: r89332

19 years ago* stor-layout.c: Fix a comment typo.
Kazu Hirata [Wed, 20 Oct 2004 13:14:01 +0000 (13:14 +0000)]
* stor-layout.c: Fix a comment typo.

From-SVN: r89331

19 years agoColorSupported.java, [...]: Reorganized imports and removed redundant final modifiers.
Michael Koch [Wed, 20 Oct 2004 12:03:40 +0000 (12:03 +0000)]
ColorSupported.java, [...]: Reorganized imports and removed redundant final modifiers.

2004-10-20  Michael Koch  <konqueror@gmx.de>

* javax/print/attribute/standard/ColorSupported.java,
javax/print/attribute/standard/Compression.java,
javax/print/attribute/standard/Copies.java,
javax/print/attribute/standard/CopiesSupported.java,
javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/DocumentName.java,
javax/print/attribute/standard/Fidelity.java,
javax/print/attribute/standard/Finishings.java,
javax/print/attribute/standard/JobHoldUntil.java,
javax/print/attribute/standard/JobImpressions.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobImpressionsSupported.java,
javax/print/attribute/standard/JobKOctets.java,
javax/print/attribute/standard/JobKOctetsProcessed.java,
javax/print/attribute/standard/JobKOctetsSupported.java,
javax/print/attribute/standard/JobMediaSheets.java,
javax/print/attribute/standard/JobMediaSheetsCompleted.java,
javax/print/attribute/standard/JobMediaSheetsSupported.java,
javax/print/attribute/standard/JobMessageFromOperator.java,
javax/print/attribute/standard/JobName.java,
javax/print/attribute/standard/JobOriginatingUserName.java,
javax/print/attribute/standard/JobPriority.java,
javax/print/attribute/standard/JobPrioritySupported.java,
javax/print/attribute/standard/JobSheets.java,
javax/print/attribute/standard/JobState.java,
javax/print/attribute/standard/JobStateReason.java,
javax/print/attribute/standard/JobStateReasons.java,
javax/print/attribute/standard/Media.java,
javax/print/attribute/standard/MultipleDocumentHandling.java,
javax/print/attribute/standard/NumberOfDocuments.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/NumberUp.java,
javax/print/attribute/standard/NumberUpSupported.java,
javax/print/attribute/standard/OrientationRequested.java,
javax/print/attribute/standard/OutputDeviceAssigned.java,
javax/print/attribute/standard/PDLOverrideSupported.java,
javax/print/attribute/standard/PageRanges.java,
javax/print/attribute/standard/PagesPerMinute.java,
javax/print/attribute/standard/PagesPerMinuteColor.java,
javax/print/attribute/standard/PrintQuality.java,
javax/print/attribute/standard/PrinterInfo.java,
javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
javax/print/attribute/standard/PrinterLocation.java,
javax/print/attribute/standard/PrinterMakeAndModel.java,
javax/print/attribute/standard/PrinterMessageFromOperator.java,
javax/print/attribute/standard/PrinterMoreInfo.java,
javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
javax/print/attribute/standard/PrinterName.java,
javax/print/attribute/standard/PrinterStateReason.java,
javax/print/attribute/standard/PrinterStateReasons.java,
javax/print/attribute/standard/PrinterURI.java,
javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
javax/print/attribute/standard/RequestingUserName.java:
Reorganized imports and removed redundant final modifiers.

From-SVN: r89330

19 years agoSaslClient.java, [...]: Remvoed CVS tags.
Michael Koch [Wed, 20 Oct 2004 10:50:31 +0000 (10:50 +0000)]
SaslClient.java, [...]: Remvoed CVS tags.

2004-10-20  Michael Koch  <konqueror@gmx.de>

* javax/security/sasl/SaslClient.java,
javax/security/sasl/SaslClientFactory.java,
javax/security/sasl/SaslException.java,
javax/security/sasl/SaslServer.java,
javax/security/sasl/SaslServerFactory.java:
Remvoed CVS tags.

From-SVN: r89329

19 years agoNullConfiguration.java, [...]: Cleaned up import statements and copyright notices.
Michael Koch [Wed, 20 Oct 2004 10:42:13 +0000 (10:42 +0000)]
NullConfiguration.java, [...]: Cleaned up import statements and copyright notices.

2004-10-20  Michael Koch  <konqueror@gmx.de>

* javax/security/auth/login/NullConfiguration.java,
javax/security/auth/x500/X500Principal.java,
javax/security/cert/X509Certificate.java,
javax/security/sasl/AuthenticationException.java,
javax/security/sasl/AuthorizeCallback.java,
javax/security/sasl/RealmCallback.java,
javax/security/sasl/RealmChoiceCallback.java,
javax/security/sasl/Sasl.java,
javax/security/sasl/SaslClient.java,
javax/security/sasl/SaslClientFactory.java,
javax/security/sasl/SaslException.java,
javax/security/sasl/SaslServer.java,
javax/security/sasl/SaslServerFactory.java:
Cleaned up import statements and copyright notices.

From-SVN: r89328

19 years agoRMIC.java: Reformatted.
Michael Koch [Wed, 20 Oct 2004 08:45:33 +0000 (08:45 +0000)]
RMIC.java: Reformatted.

2004-10-20  Michael Koch  <konqueror@gmx.de>

* gnu/java/rmi/rmic/RMIC.java: Reformatted.

From-SVN: r89327

19 years agore PR bootstrap/17832 (Bootstrap broken by fixincludes failures)
Aaron W. LaFramboise [Wed, 20 Oct 2004 08:21:09 +0000 (02:21 -0600)]
re PR bootstrap/17832 (Bootstrap broken by fixincludes failures)

PR bootstrap/17832

* fixincl.c (SIGCHLD): Remove definition.
(initialize): Remove SIGIOT and SIGPIPE checks.
(create_file): Fix mkdir() for Win32.
(internal_fix): Use dup2() instead of fcntl().

* fixlib.h (SIGQUIT): Define if undefined.
(SIGIOT): Same.
(SIGPIPE): Same.
(SIGALRM): Same.
(SIGKILL): Same.

* procopen.c (chain_open): Use dup2() instead of fcntl().

From-SVN: r89326

19 years agoFix date.
Aaron W. LaFramboise [Wed, 20 Oct 2004 08:11:04 +0000 (02:11 -0600)]
Fix date.

From-SVN: r89325

19 years agoTimestamp.java, [...]: Reorganized imports and fixed copyright headers.
Michael Koch [Wed, 20 Oct 2004 08:09:27 +0000 (08:09 +0000)]
Timestamp.java, [...]: Reorganized imports and fixed copyright headers.

2004-10-20  Michael Koch  <konqueror@gmx.de>

* java/sql/Timestamp.java,
java/text/AttributedCharacterIterator.java,
java/text/AttributedString.java,
java/util/zip/CheckedOutputStream.java,
java/util/zip/DeflaterOutputStream.java,
java/util/zip/ZipFile.java,
javax/crypto/Cipher.java,
javax/crypto/ExemptionMechanismException.java,
javax/crypto/SecretKey.java,
javax/crypto/SecretKeyFactory.java,
javax/naming/directory/ModificationItem.java,
javax/naming/directory/SearchControls.java,
javax/naming/event/NamingListener.java,
javax/naming/ldap/Control.java,
javax/naming/ldap/ExtendedResponse.java,
javax/net/ssl/SSLSocketFactory.java:
Reorganized imports and fixed copyright headers.

From-SVN: r89324

19 years agoadaint.c (__gnat_get_libraries_from_registry): Cast value to LPBYTE.
Aaron W. LaFramboise [Wed, 20 Oct 2004 08:05:09 +0000 (02:05 -0600)]
adaint.c (__gnat_get_libraries_from_registry): Cast value to LPBYTE.

* adaint.c (__gnat_get_libraries_from_registry): Cast value
        to LPBYTE.
(__gnat_portable_spawn): Remove const.

* mingw32.h (MAXPATHLEN): Check for previous definition.

From-SVN: r89323

19 years agoConsoleHandler.java, [...]: Standardized copyrigth header.
Michael Koch [Wed, 20 Oct 2004 07:53:27 +0000 (07:53 +0000)]
ConsoleHandler.java, [...]: Standardized copyrigth header.

2004-10-20  Michael Koch  <konqueror@gmx.de>

* java/util/logging/ConsoleHandler.java,
java/util/logging/ErrorManager.java,
java/util/logging/FileHandler.java,
java/util/logging/Filter.java,
java/util/logging/Formatter.java,
java/util/logging/Handler.java,
java/util/logging/Level.java,
java/util/logging/LogManager.java,
java/util/logging/LogRecord.java,
java/util/logging/Logger.java,
java/util/logging/LoggingPermission.java,
java/util/logging/MemoryHandler.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/SocketHandler.java,
java/util/logging/StreamHandler.java,
java/util/logging/XMLFormatter.java:
Standardized copyrigth header.

From-SVN: r89322

19 years ago* MAINTAINERS (Write After Approval): Add myself.
Aaron W. LaFramboise [Wed, 20 Oct 2004 07:50:06 +0000 (01:50 -0600)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r89321

19 years agoparser.c (cp_token_position): New typedef.
Nathan Sidwell [Wed, 20 Oct 2004 07:25:35 +0000 (07:25 +0000)]
parser.c (cp_token_position): New typedef.

* parser.c (cp_token_position): New typedef. Define VEC thereof.
(struct cp_lexer): Allow buffer and buffer_end to be NULL. Make
next_token and last_token cp_token_position. Make saved_tokens a
VEC(cp_token_position).
(eof_token): New static variable.
(CP_SAVED_TOKENS_SIZE): Rename to ...
(CP_SAVED_TOKEN_STACK): ... here.
(cp_lexer_new_main): Adjust main lexer creation and buffer
filling.
(cp_lexer_new_from_tokens): Do not copy the tokens, merely point
to the parent buffer.  Do not append eof token.
(cp_lexer_destroy): Only free buffer if non-NULL. Free token
stack.
(cp_lexer_next_token, cp_lexer_prev_token): Remove.
(cp_lexer_token_position, cp_lexer_token_at): New.
(cp_lexer_saving_tokens): Adjust. Make inline.
(cp_lexer_advance_token, cp_lexer_token_difference): Remove.
(cp_lexer_peek_token_emit_debug_info): Fold into ...
(cp_lexer_peek_token): ... here.
(cp_lexer_peek_nth_token): Don't peek past EOF.
(cp_lexer_consume_token): Set next_token to eof_token, if reaching
EOF.
(cp_lexer_purge_token): Adjust eof setting.
(cp_lexer_purge_tokens_after): Likewise.
(cp_lexer_save_tokens): Push next_token directly.
(cp_lexer_commit_tokens): Adjust.
(cp_lexer_rollback_tokens): Pop next_token directly.
(cp_parser_check_for_invalid_template_id): Adjust token purging.
(cp_parser_translation_unit): Do not consume the EOF.
(cp_parser_nested_name_specifier_opt): Adjust token purging.
(cp_parser_template_id, cp_parser_template_name): Likewise.

From-SVN: r89320

19 years agoAlgorithmParameterGenerator.java, [...]: Import statements reorganized...
Michael Koch [Wed, 20 Oct 2004 07:21:49 +0000 (07:21 +0000)]
AlgorithmParameterGenerator.java, [...]: Import statements reorganized...

2004-10-20  Michael Koch  <konqueror@gmx.de>

* java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java,
java/security/DigestInputStream.java,
java/security/Identity.java,
java/security/KeyFactory.java,
java/security/KeyPairGenerator.java,
java/security/KeyStore.java,
java/security/MessageDigest.java,
java/security/MessageDigestSpi.java,
java/security/Policy.java,
java/security/SecureRandom.java,
java/security/Security.java,
java/security/Signature.java,
java/security/SignatureSpi.java,
java/security/cert/CertPathBuilder.java,
java/security/cert/CertPathValidator.java,
java/security/cert/CertStore.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateFactory.java,
java/security/cert/PolicyQualifierInfo.java,
java/security/cert/TrustAnchor.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
Import statements reorganized, some little formatting issues,
used java-style array declarations, added comments in empty catch
blocks.

From-SVN: r89319

19 years agoexpr.c (store_field): Remove two arguments value_mode and unsignedp.
Kazu Hirata [Wed, 20 Oct 2004 03:35:14 +0000 (03:35 +0000)]
expr.c (store_field): Remove two arguments value_mode and unsignedp.

* expr.c (store_field): Remove two arguments value_mode and
unsignedp.
(expand_assignment, store_constructor_field,
expand_expr_real_1): Adjust calls to store_field.

From-SVN: r89317

19 years agore PR target/17317 (Match Constraints for *movdf_insn fails)
Ramana Radhakrishnan [Wed, 20 Oct 2004 02:21:04 +0000 (02:21 +0000)]
re PR target/17317 (Match Constraints for *movdf_insn fails)

* config/arc/lib1funcs.asm (___umulsidi3): Correct usage of flags.

PR target/17317
* config/arc/arc.h (REGNO_OK_FOR_BASE_P,REGNO_OK_FOR_INDEX_P,
REG_OK_FOR_BASE, REG_OK_FOR_INDEX): Consider blink(r31) as a valid
base and index register for loads.

* config/arc/t-arc: Fix multilib handling.

From-SVN: r89316

19 years ago* Makefile.in (configure): Add @MAINT@ infront of configure.ac
Andrew Pinski [Wed, 20 Oct 2004 01:45:46 +0000 (18:45 -0700)]
* Makefile.in (configure): Add @MAINT@ infront of configure.ac

From-SVN: r89314

19 years agoifc-20040816-2.c: Use integer arithmetic instead of floating point arithmetic, which...
Ben Elliston [Wed, 20 Oct 2004 01:29:57 +0000 (01:29 +0000)]
ifc-20040816-2.c: Use integer arithmetic instead of floating point arithmetic, which could trap.

* gcc.dg/tree-ssa/ifc-20040816-2.c: Use integer arithmetic instead
of floating point arithmetic, which could trap.

Co-Authored-By: Devang Patel <dpatel@apple.com>
From-SVN: r89313

19 years agoaclocal.m4: Rename to ...
Mike Stump [Wed, 20 Oct 2004 01:26:37 +0000 (01:26 +0000)]
aclocal.m4: Rename to ...

2004-10-08  Mike Stump  <mrs@apple.com>
            Andrew Pinski  <pinskia@physics.uc.edu>

        * aclocal.m4: Rename to ...
        * acinclude.m4: here and also use m4_include instead of sinclude.
        * aclocal.m4: Regenerate.
        * configure: Regenerate.
        * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r89312

19 years agocfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, don't inspect BLOCK_F...
Hans-Peter Nilsson [Wed, 20 Oct 2004 00:23:16 +0000 (00:23 +0000)]
cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, don't inspect BLOCK_FOR_INSN for barriers.

* cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb,
don't inspect BLOCK_FOR_INSN for barriers.
* emit-rtl.c (emit_barrier_before): Revert last change.
(emit_barrier_after, emit_barrier): Ditto.

From-SVN: r89308

19 years agoDaily bump.
GCC Administrator [Wed, 20 Oct 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89306.2

19 years agoDaily bump.
GCC Administrator [Wed, 20 Oct 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89305.2

19 years agocall.c (struct conversion): Add base_p.
Mark Mitchell [Tue, 19 Oct 2004 23:24:20 +0000 (23:24 +0000)]
call.c (struct conversion): Add base_p.

* call.c (struct conversion): Add base_p.
(convert_like): Add c_cast_p argument.
(convert_like_with_conversion): Likewise.
(build_conv): Clear base_p.
(standard_conversion): Set it, for derived-to-base conversions.
(convert_like_real): Add c_cast_p parameter.  Handle pointer
conversions directly rather than relying on ocp_convert.
(perform_direct_initialization_if_possible): Add c_cast_p
parameter.
* cp-tree.h (perform_direct_initialization_if_possible): Change
prototype.
(convert_member_func_to_ptr): New function.
* typeck.c (check_for_casting_away_constness): Add diag_fn
parameter.
(build_static_cast_1): New function, split out from ...
(build_static_cast): ... here.  Use build_static_cast_1.
(build_reinterpret_cast_1): New function, split out from ...
(build_reinterpret_cast): ... here.  Use build_reinterpret_cast_1.
(build_const_cast_1): New function, split out from ...
(build_const_cast): ... here.  Use build_const_cast_1.
(build_c_cast): Rewrite to use build_const_cast_1,
build_static_cast_1, and build_reinterpret_cast_1.
(convert_member_func_to_ptr): New function.

* g++.dg/conversion/reinterpret1.C: Adjust error markers.
* g++.dg/conversion/const2.C: New test.
* g++.dg/expr/reinterpret2.C: New test.
* g++.dg/expr/reinterpret3.C: New test.
* g++.dg/expr/cast2.C: New test.
* g++.dg/expr/copy1.C: New test.
* g++.dg/other/conversion1.C: Change error message.
* g++.dg/parse/comma1.C: Use __extension__ to allow casts from
function pointers to void *.
* g++.old-deja/g++.mike/p10148.C: Likewise.

From-SVN: r89300

19 years agoextend.texi (Extended Asm): Warn and provide example solution for using a call-clobbe...
Hans-Peter Nilsson [Tue, 19 Oct 2004 23:17:06 +0000 (23:17 +0000)]
extend.texi (Extended Asm): Warn and provide example solution for using a call-clobbered asm register.

* doc/extend.texi (Extended Asm): Warn and provide example
solution for using a call-clobbered asm register.
(Local Reg Vars): Similar.  Cross-reference example.

From-SVN: r89299

19 years agoCRLF fixup
R. Kelley Cook [Tue, 19 Oct 2004 22:00:48 +0000 (22:00 +0000)]
CRLF fixup

From-SVN: r89297

19 years ago* gcc.dg/smod-1.c: Pass -mtune=i486 only on x86.
Eric Botcazou [Tue, 19 Oct 2004 20:57:30 +0000 (22:57 +0200)]
* gcc.dg/smod-1.c: Pass -mtune=i486 only on x86.

From-SVN: r89289

19 years agotree-cfg.c (group_case_labels): Look at the second to last case statement for combing...
Andrew Pinski [Tue, 19 Oct 2004 20:52:22 +0000 (20:52 +0000)]
tree-cfg.c (group_case_labels): Look at the second to last case statement for combing with the default case.

2004-10-19  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-cfg.c (group_case_labels): Look at the second to last
        case statement for combing with the default case.

From-SVN: r89288

19 years agoTestcase for PR 17962.
Richard Henderson [Tue, 19 Oct 2004 19:21:41 +0000 (12:21 -0700)]
Testcase for PR 17962.

From-SVN: r89285

19 years agore PR target/17962 (small fp vector uses sse/mmx vectors and is not aligned)
Richard Henderson [Tue, 19 Oct 2004 19:15:31 +0000 (12:15 -0700)]
re PR target/17962 (small fp vector uses sse/mmx vectors and is not aligned)

        PR 17962
        * stor-layout.c (layout_type): Set TYPE_ALIGN for vectors.

From-SVN: r89284

19 years agogc_priv.h (GC_generic_malloc_words_small_inner): Add prototype.
Ulrich Weigand [Tue, 19 Oct 2004 17:47:54 +0000 (17:47 +0000)]
gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype.

* include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
Add prototype.

From-SVN: r89283

19 years agobuiltins.c (expand_builtin_memmove): If fold_builtin_memmove succeeds, only expand...
Richard Henderson [Tue, 19 Oct 2004 17:43:31 +0000 (10:43 -0700)]
builtins.c (expand_builtin_memmove): If fold_builtin_memmove succeeds, only expand the result.

        * builtins.c (expand_builtin_memmove): If fold_builtin_memmove
        succeeds, only expand the result.

From-SVN: r89282

19 years agore PR middle-end/17885 (gimplifing of volatile &a->)
Richard Henderson [Tue, 19 Oct 2004 17:24:46 +0000 (10:24 -0700)]
re PR middle-end/17885 (gimplifing of volatile &a->)

        PR middle-end/17885
        * tree.c (recompute_tree_invarant_for_addr_expr): Always poll address
        of INDIRECT_REF.

From-SVN: r89280

19 years agotree-cfg.c (thread_jumps): Use a do-while loop instead of a loop with goto.
Kazu Hirata [Tue, 19 Oct 2004 15:38:25 +0000 (15:38 +0000)]
tree-cfg.c (thread_jumps): Use a do-while loop instead of a loop with goto.

* tree-cfg.c (thread_jumps): Use a do-while loop instead of a
loop with goto.

From-SVN: r89276

19 years agoexpr.c (expand_assignment): Remove the last argument.
Kazu Hirata [Tue, 19 Oct 2004 14:43:56 +0000 (14:43 +0000)]
expr.c (expand_assignment): Remove the last argument.

* expr.c (expand_assignment): Remove the last argument.
Change the return type to void.
* expr.h: Update the prototype of expand_assignment.
* function.c (assign_parm_setup_reg): Update a call to
expand_assignment.
* stmt.c (expand_asm_expr): Likewise.

From-SVN: r89275

19 years agoMAINTAINERS: Remove from Write After Approval those that are already maintainers.
Kazu Hirata [Tue, 19 Oct 2004 13:13:35 +0000 (13:13 +0000)]
MAINTAINERS: Remove from Write After Approval those that are already maintainers.

* MAINTAINERS: Remove from Write After Approval those that are
already maintainers.

From-SVN: r89274

19 years agoexpr.c (expand_expr_real_1): Remove unnecessary assignments to temp.
Kazu Hirata [Tue, 19 Oct 2004 12:51:05 +0000 (12:51 +0000)]
expr.c (expand_expr_real_1): Remove unnecessary assignments to temp.

* expr.c (expand_expr_real_1) <MODIFY_EXPR>: Remove
unnecessary assignments to temp.  Return const0_rtx.

From-SVN: r89273

19 years agore PR c++/18047 (Wrong precedence between equality (==, !=) and < operators)
Paolo Bonzini [Tue, 19 Oct 2004 12:40:31 +0000 (12:40 +0000)]
re PR c++/18047 (Wrong precedence between equality (==, !=) and < operators)

2004-10-19  Paolo Bonzini  <bonzini@gnu.org>

PR c++/18047
* parser.c (enum cp_parser_prec): Give relational expressions
a higher precedence than equality expressions.

2004-10-19  Paolo Bonzini  <bonzini@gnu.org>

PR c++/18047

* g++.dg/parse/expr3.C: New test.

From-SVN: r89272

19 years ago* config/sh/sh.c (sh5_schedule_saves): Fix typo.
Kaz Kojima [Tue, 19 Oct 2004 11:05:34 +0000 (11:05 +0000)]
* config/sh/sh.c (sh5_schedule_saves): Fix typo.

From-SVN: r89271

19 years ago* MAINTAINERS: Update my email address.
Sebastian Pop [Tue, 19 Oct 2004 09:27:04 +0000 (11:27 +0200)]
* MAINTAINERS:  Update my email address.

From-SVN: r89270

19 years agolist_sort_search.cc: Include <ext/new_allocator.h>.
Paolo Carlini [Tue, 19 Oct 2004 08:56:32 +0000 (08:56 +0000)]
list_sort_search.cc: Include <ext/new_allocator.h>.

2004-10-19  Paolo Carlini  <pcarlini@suse.de>

* testsuite/performance/20_util/allocator/list_sort_search.cc:
Include <ext/new_allocator.h>.
* testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.

From-SVN: r89269

19 years agoconfigure.ac (powerpc-*-darwin*): Require assembler to support .machine directive.
Kelley Cook [Tue, 19 Oct 2004 00:21:03 +0000 (00:21 +0000)]
configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive.

2004-10-18  Kelley Cook  <kcook@gcc.gnu.org>

* configure.ac (powerpc-*-darwin*): Require assembler to support
.machine directive.
* configure: Regenerate.

From-SVN: r89264

19 years agoDaily bump.
GCC Administrator [Tue, 19 Oct 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89262.2

19 years agoDaily bump.
GCC Administrator [Tue, 19 Oct 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89261.2

19 years agosbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited...
Kazu Hirata [Mon, 18 Oct 2004 23:56:18 +0000 (23:56 +0000)]
sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited word to right.

* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting
the currently visited word to right.

From-SVN: r89259

19 years agoreload1.c (ior_hard_reg_set): Remove.
Kazu Hirata [Mon, 18 Oct 2004 23:54:36 +0000 (23:54 +0000)]
reload1.c (ior_hard_reg_set): Remove.

* reload1.c (ior_hard_reg_set): Remove.
(finish_spills): Use IOR_HARD_REG_SET instead of
ior_hard_reg_set.

From-SVN: r89258

19 years agosbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited...
Kazu Hirata [Mon, 18 Oct 2004 23:51:07 +0000 (23:51 +0000)]
sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited word to right.

* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting
the currently visited word to right.

From-SVN: r89257

19 years agoffi.c (ffi_prep_closure): Set T bit in trampoline for the function returning a struct...
Kaz Kojima [Mon, 18 Oct 2004 23:12:20 +0000 (23:12 +0000)]
ffi.c (ffi_prep_closure): Set T bit in trampoline for the function returning a structure pointed with R2.

* src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline for
the function returning a structure pointed with R2.
* src/sh/sysv.S (ffi_closure_SYSV): Use R2 as the pointer to
the structure return value if T bit set.  Emit position
independent code and EH data if PIC.

From-SVN: r89254

19 years agore PR middle-end/18045 (signed integer remainder for power of 2 broken)
Eric Botcazou [Mon, 18 Oct 2004 22:45:01 +0000 (00:45 +0200)]
re PR middle-end/18045 (signed integer remainder for power of 2 broken)

PR middle-end/18045
* expmed.c (expand_smod_pow2): Handle modes whose size
is greater than that of HOST_WIDE_INT.

From-SVN: r89253

19 years agoc-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative.
Ziemowit Laski [Mon, 18 Oct 2004 22:28:09 +0000 (22:28 +0000)]
c-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative.

[gcc/ChangeLog]
2004-10-18  Ziemowit Laski  <zlaski@apple.com>

        * c-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative.

[gcc/testsuite/ChangeLog]
2004-10-18  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/method-14.m: New test.

From-SVN: r89252

19 years agore PR middle-end/17813 (ada bootstrap failure on i486-linux)
Eric Botcazou [Mon, 18 Oct 2004 22:06:36 +0000 (00:06 +0200)]
re PR middle-end/17813 (ada bootstrap failure on i486-linux)

PR middle-end/17813
* dojump.c (discard_pending_stack_adjust): New function.
(clear_pending_stack_adjust): Call it.
* expr.h (discard_pending_stack_adjust): Declare it.
* explow.c (emit_stack_save): Emit pending stack adjustments
before saving the stack pointer.
(emit_stack_restore): Discard pending stack adjustments before
restoring the stack pointer.

Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r89251

19 years agopr17529.c: Fix test for non x86.
Andrew Pinski [Mon, 18 Oct 2004 22:03:15 +0000 (22:03 +0000)]
pr17529.c: Fix test for non x86.

2004-10-18  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.c-torture/compile/pr17529.c: Fix test for non x86.
        Also xfail as the patch was reverted.

From-SVN: r89249

19 years agoc-common.c (handle_mode_attribute): Allow scalar->vector type changes yet.
Richard Henderson [Mon, 18 Oct 2004 22:01:51 +0000 (15:01 -0700)]
c-common.c (handle_mode_attribute): Allow scalar->vector type changes yet.

        * c-common.c (handle_mode_attribute): Allow scalar->vector
        type changes yet.

From-SVN: r89248

19 years agoFix typo.
Andrew Pinski [Mon, 18 Oct 2004 21:54:11 +0000 (14:54 -0700)]
Fix typo.

From-SVN: r89247

19 years ago* gnatvsn.ads: Set gnat library version to 4.0.
Matthias Klose [Mon, 18 Oct 2004 21:47:21 +0000 (21:47 +0000)]
* gnatvsn.ads: Set gnat library version to 4.0.

From-SVN: r89246

19 years agoexpr.c (expand_expr_real_1): Don't request a value to expand_assignment.
Kazu Hirata [Mon, 18 Oct 2004 21:18:23 +0000 (21:18 +0000)]
expr.c (expand_expr_real_1): Don't request a value to expand_assignment.

* expr.c (expand_expr_real_1) [MODIFY_EXPR]: Don't request a
value to expand_assignment.

From-SVN: r89245

19 years agotree-cfg.c (cleanup_tree_cfg): Don't iterate on thread_jumps.
Kazu Hirata [Mon, 18 Oct 2004 21:16:53 +0000 (21:16 +0000)]
tree-cfg.c (cleanup_tree_cfg): Don't iterate on thread_jumps.

* tree-cfg.c (cleanup_tree_cfg): Don't iterate on
thread_jumps.
(thread_jumps): Iterate until no new forwarder block arises.

From-SVN: r89244

19 years agotree-cfg.c (tree_forwarder_block_p): Don't set forwardable.
Kazu Hirata [Mon, 18 Oct 2004 21:14:34 +0000 (21:14 +0000)]
tree-cfg.c (tree_forwarder_block_p): Don't set forwardable.

* tree-cfg.c (tree_forwarder_block_p): Don't set forwardable.
(thread_jumps): Use forwardable as cache of
tree_forwarder_block_p throughout the function.

From-SVN: r89243

19 years agocfg.c (dump_flow_info): Remove redundant dump of reg life info.
Andreas Krebbel [Mon, 18 Oct 2004 19:58:01 +0000 (19:58 +0000)]
cfg.c (dump_flow_info): Remove redundant dump of reg life info.

2004-10-18  Andreas Krebbel  <krebbel1@de.ibm.com>

* cfg.c (dump_flow_info): Remove redundant dump of reg life info.

From-SVN: r89240

19 years agore PR middle-end/16973 (Differences between addresses of labels broken)
Andrew Pinski [Mon, 18 Oct 2004 19:38:47 +0000 (19:38 +0000)]
re PR middle-end/16973 (Differences between addresses of labels broken)

2004-10-18  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/16973
        * gcc.dg/pr16973.c: New test.

From-SVN: r89238

19 years agore PR middle-end/15014 (labels after are removed even though they are used)
Andrew Pinski [Mon, 18 Oct 2004 19:29:52 +0000 (19:29 +0000)]
re PR middle-end/15014 (labels after are removed even though they are used)

2004-10-18  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/15014
        PR middle-end/16973
        * tree-cfg.c (remove_bb): If we have a label expression in the
        basic block and the label we have taken the address, move the
        label expression to the basic block which is previous in the
        linked list.
        (tree_verify_flow_info): Fix printing out the label name of the
        problematic label expression.

From-SVN: r89237

19 years agoNote PR rtl-optimization/18002.
David Edelsohn [Mon, 18 Oct 2004 18:47:38 +0000 (14:47 -0400)]
Note PR rtl-optimization/18002.

From-SVN: r89236

19 years agosimplify-rtx.c (mode_signbit_p): Externalize function...
Pat Haugen [Mon, 18 Oct 2004 18:46:06 +0000 (18:46 +0000)]
simplify-rtx.c (mode_signbit_p): Externalize function...

2004-10-18  Pat Haugen  <pthaugen@us.ibm.com>

        * simplify-rtx.c (mode_signbit_p): Externalize function...
        * rtl.h (mode_signbit_p): ... to here.
        * combine.c (simplify_shift_const): Recognize PLUS signbit as
        canonical form of XOR signbit and move to outer op.

From-SVN: r89235

19 years agotree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi.
Diego Novillo [Mon, 18 Oct 2004 18:01:10 +0000 (18:01 +0000)]
tree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi.

* tree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi.
Update all callers.
* tree-ssa.c (replace_immediate_uses): Call bsi_for_stmt.
Don't call fold_stmt more than once, use bsi_replace.

From-SVN: r89234

19 years agore PR tree-optimization/17656 (internal compiler error: in replace_immediate_uses...
Diego Novillo [Mon, 18 Oct 2004 17:39:47 +0000 (17:39 +0000)]
re PR tree-optimization/17656 (internal compiler error: in replace_immediate_uses, at tree-ssa.c:1041)

PR tree-optimization/17656
* tree-ssa.c (replace_immediate_uses): When replacing a
constant, if the call to fold_stmt produced a different
statement, get an appropriate statement pointer by scanning
STMT's basic block.

PR tree-optimization/17656
* testsuite/gcc.c-torture/compile/pr17656.c: New test.

From-SVN: r89233

19 years agocp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call.
Nathan Sidwell [Mon, 18 Oct 2004 17:21:36 +0000 (17:21 +0000)]
cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call.

cp:
* cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call.
(ACCESSIBLY_UNIQUELY_DERIVED_P): Remove.
(PUBLICLY_UNIQUELY_DERIVED_P): Adjust lookup_base call.
(enum base_access): Reorganize.
(accessible_base_p, accessible_p): Add consider_local_p parameter.
* call.c (standard_conversion): Update comment about
DERIVED_FROM_P.
(enforce_access): Adjust accessible_p call.
(build_over_call): Adjust accessible_base_p call.
* class.c (convert_to_base): Adjust lookup_base call.
(build_vtbl_ref_1): Likewise.
(warn_about_ambiguous_bases): Likewise. Add early exit.
* cvt.c (convert_to_pointer_force) Adjust lookup_base call.
* search.c (accessible_base_p): Add consider_local_p parameter.
(lookup_base): Pass consider_local_p to accessible_base_p call.
(friend_accessible_p): Check whether scope is a class member.
Remove unnecessary class template check.
(accessible_p): Add consider_local_p parameter. Use it.
(adjust_result_of_qualified_name_lookup): Adjust lookup_base call.
* tree.c (maybe_dummy_object): Likewise.
* typeck.c (comp_except_type): Use PUBLICLY_UNIQUELY_DERIVED_P.
(build_class_member_access_expr): Adjust lookup_base call.
* typeck2.c (binfo_or_else): Likewise.
* rtti.c (build_dynamic_cast_1): Access can consider friendship
and current scope.
testsuite:
* g++.dg/eh/shadow1.C: New.

From-SVN: r89232

19 years ago* pointer-set.c (hash1): Don't use libm functions in fallback case.
Richard Henderson [Mon, 18 Oct 2004 16:44:50 +0000 (09:44 -0700)]
* pointer-set.c (hash1): Don't use libm functions in fallback case.

From-SVN: r89231

19 years agoCorrect date.
H.J. Lu [Mon, 18 Oct 2004 16:06:10 +0000 (09:06 -0700)]
Correct date.

From-SVN: r89229

19 years agore PR bootstrap/17684 (/usr/ccs/bin/ld: Can't create libgcc_s.sl)
H.J. Lu [Mon, 18 Oct 2004 15:52:51 +0000 (15:52 +0000)]
re PR bootstrap/17684 (/usr/ccs/bin/ld: Can't create libgcc_s.sl)

2004-11-18  H.J. Lu  <hongjiu.lu@intel.com>

PR bootstrap/17684
* Makefile.in (clean): Remove libgcc_s$(SHLIB_EXT).1.stage?.
(stage1-start): Remove and copy libunwind.a and
libunwind*$(SHLIB_EXT) instead of libunwind*.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.

* config/alpha/t-osf4 (SHLIB_LINK): Use a temporary file for
the shared library to be created and don't remove the existing
shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/i386/t-nwld (SHLIB_LINK): Likewise.
* config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.

* mklibgcc.in (libgcc-stage-start): Also move "*${objext}s"
files.

From-SVN: r89227

19 years agobasic-block.h (reg_set_iterator): New.
Kazu Hirata [Mon, 18 Oct 2004 15:11:31 +0000 (15:11 +0000)]
basic-block.h (reg_set_iterator): New.

* basic-block.h (reg_set_iterator): New.
(EXECUTE_IF_SET_IN_REG_SET): Make it iterator style.
(EXECUTE_IF_AND_COMPL_IN_REG_SET): Likewise.
(EXECUTE_IF_AND_IN_REG_SET): Likewise.
* caller-save.c (save_call_clobbered_regs): Adjust to the new
style.
* cfgcleanup.c (thread_jump): Likewise.
* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* flow.c (verify_local_live_at_start, update_life_info,
initialize_uninitialized_subregs, propagate_one_insn,
init_propagate_block_info, free_propagate_block_info,
propagate_block, dump_regset): Likewise.
* global.c (global_conflicts): Likewise.
* graph.c (start_bb): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (load_mems): Likewise.
* reload1.c (compute_use_by_pseudos, order_regs_for_reload,
find_reg, finish_spills): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* sched-deps.c (sched_analyze_insn): Likewise.
* sched-rgn.c (sched-rgn.c): Likewise.
* config/frv/frv.c (frv_ifcvt_modify_tests): Likewise.

From-SVN: r89226

19 years ago2004-10-18 Jeroen Frijters <jeroen@frijters.net>
Jeroen Frijters [Mon, 18 Oct 2004 15:07:04 +0000 (15:07 +0000)]
2004-10-18  Jeroen Frijters  <jeroen@frijters.net>

* java/security/Security.java
(static): Use AccessController.doPrivileged to get system property.

From-SVN: r89225

19 years ago2004-10-18 Sven de Marothy <sven@physto.se>
Sven de Marothy [Mon, 18 Oct 2004 14:41:45 +0000 (16:41 +0200)]
2004-10-18  Sven de Marothy  <sven@physto.se>

* java/nio/ByteBufferHelper.java
(putDouble): Use Double.toRawLongBits instead.

From-SVN: r89224

19 years agoExtraClassLoader.java: New.
Mark Wielaard [Mon, 18 Oct 2004 14:13:18 +0000 (14:13 +0000)]
ExtraClassLoader.java: New.

2004-10-18  Mark Wielaard  <mark@klomp.org>
        Andrew Haley  <aph@redhat.com>

        * testsuite/libjava.lang/ExtraClassLoader.java: New.

Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r89222

19 years agore PR libgcj/18036 (Bad interaction between interpreter and Class.forName())
Andrew Haley [Mon, 18 Oct 2004 14:07:42 +0000 (14:07 +0000)]
re PR libgcj/18036 (Bad interaction between interpreter and Class.forName())

2004-10-18  Andrew Haley  <aph@redhat.com>

        PR java/18036:
        * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
        and correct logic used to find interpreter.

From-SVN: r89221

19 years ago2004-10-18 Jeroen Frijters <jeroen@frijters.net>
Jeroen Frijters [Mon, 18 Oct 2004 14:05:04 +0000 (14:05 +0000)]
2004-10-18  Jeroen Frijters  <jeroen@frijters.net>

* java/util/logging/LogManager.java
(findAncestor): Fixed IndexOutOfBoundsException.

From-SVN: r89220

19 years agoBufferedInputStream.java: Fixed @author tag.
Michael Koch [Mon, 18 Oct 2004 13:40:05 +0000 (13:40 +0000)]
BufferedInputStream.java: Fixed @author tag.

2004-10-18  Michael Koch  <konqueror@gmx.de>

* java/io/BufferedInputStream.java: Fixed @author tag.
(read): Simplified expression.
(read): Merged javadoc a bit more.
(read): Renamed 'remain' to 'totalBytesRead'.
* java/io/DataInputStream.java,
java/io/DataOutputStream.java,
java/io/ObjectInputStream.java,
java/io/ObjectOutputStream.java:
Reworked modifier order.

From-SVN: r89218

19 years agoi386.md (addqi_1_slp): Test for incdec_operand operand 1 instead of 2
Jakub Jelinek [Mon, 18 Oct 2004 13:01:36 +0000 (15:01 +0200)]
i386.md (addqi_1_slp): Test for incdec_operand operand 1 instead of 2

* config/i386/i386.md (addqi_1_slp): Test for incdec_operand
operand 1 instead of 2

* gcc.c-torture/compile/20041018-1.c: New test.

From-SVN: r89212

19 years agoInet4Address.java: Merged file header and javadocs.
Michael Koch [Mon, 18 Oct 2004 12:36:27 +0000 (12:36 +0000)]
Inet4Address.java: Merged file header and javadocs.

2004-10-18  Michael Koch  <konqueror@gmx.de>

* java/net/Inet4Address.java: Merged file header and javadocs.
* java/net/Inet6Address.java: Likewise.
* java/net/InetAddress.java
(getCanonicalHostName): Create Inet4Address object instead of
InetAddress and add comment regarding IPv6.
(toString): Simplified.

From-SVN: r89211

19 years ago[multiple changes]
Michael Koch [Mon, 18 Oct 2004 12:22:51 +0000 (12:22 +0000)]
[multiple changes]

2004-10-18  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/http/Connection.java,
java/nio/MappedByteBufferImpl.java,
java/text/RuleBasedCollator.java,
java/util/ResourceBundle.java:
Reworked import statements.

2004-10-18  Jeroen Frijters  <jeroen@frijters.net>

* java/security/IdentityScope.java
(systemScope): Removed useless initializer.
* java/security/Policy.java
(currentPolicy): Likewise.

From-SVN: r89210

19 years ago* loop-unroll.c: Fix comment typos.
Kazu Hirata [Mon, 18 Oct 2004 12:15:45 +0000 (12:15 +0000)]
* loop-unroll.c: Fix comment typos.

From-SVN: r89209

19 years agoSystem.java: Revert accidential change.
Michael Koch [Mon, 18 Oct 2004 11:09:11 +0000 (11:09 +0000)]
System.java: Revert accidential change.

2004-10-18  Michael Koch  <konqueror@gmx.de>

* java/lang/System.java: Revert accidential change.

From-SVN: r89208

19 years agoMath.java, [...]: Reworked import statements, HTML in javadocs and modifier orders.
Michael Koch [Mon, 18 Oct 2004 10:41:56 +0000 (10:41 +0000)]
Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders.

2004-10-18  Michael Koch  <konqueror@gmx.de>

* java/lang/Math.java,
java/lang/Package.java,
java/lang/Runtime.java,
java/lang/StrictMath.java,
java/lang/System.java,
java/lang/Thread.java,
java/lang/ThreadLocal.java,
java/lang/Void.java:
Reworked import statements, HTML in javadocs and modifier orders.

From-SVN: r89207

19 years ago2004-10-18 Jeroen Frijters <jeroen@frijters.net>
Jeroen Frijters [Mon, 18 Oct 2004 10:23:59 +0000 (10:23 +0000)]
2004-10-18  Jeroen Frijters  <jeroen@frijters.net>

* java/util/Timer.java
(nr): Removed useless initializer.
* java/util/logging/LogRecord.java
(lastSeqNum): Likewise.
* javax/naming/spi/NamingManager.java
(icfb, ofb): Likewise.

From-SVN: r89206

19 years agoPlainDatagramSocketImpl.java: Reworked import statements.
Michael Koch [Mon, 18 Oct 2004 10:14:24 +0000 (10:14 +0000)]
PlainDatagramSocketImpl.java: Reworked import statements.

2004-10-18  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/PlainDatagramSocketImpl.java:
Reworked import statements.
* gnu/java/security/provider/DSAParameters.java:
Fixed copyrigth years.
* java/net/JarURLConnection.java:
Fixed HTML in @author tags.

From-SVN: r89205

19 years ago2004-10-18 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 18 Oct 2004 09:49:16 +0000 (09:49 +0000)]
2004-10-18  Michael Koch  <konqueror@gmx.de>

* java/rmi/activation/ActivationSystem.java
(SYSTEM_PORT): Initialize with correct port number.

From-SVN: r89202

19 years ago[multiple changes]
Michael Koch [Mon, 18 Oct 2004 09:46:48 +0000 (09:46 +0000)]
[multiple changes]

2004-10-18  Michael Koch  <konqueror@gmx.de>

* java/lang/reflect/Proxy.java: Improved javadocs.

2004-10-18  Michael Koch  <konqueror@gmx.de>

* java/lang/reflect/AccessibleObject.java
(checkPermission): Removed redundant final modifier.
(secureSetAccessible): Likewise.
* java/lang/reflect/Proxy.java:
Reworked import statements.
(generate): Removed redundant final modifier.
* java/lang/reflect/ReflectPermission.java:
Reorder package declaration and import statement.

2004-10-18  Jeroen Frijters  <jeroen@frijters.net>

* java/lang/reflect/Proxy.java
(count): Removed useless initializer.

From-SVN: r89201

19 years agobasic_string.tcc (_M_mutate): Do not reallocate unnecessarily when _M_rep() == &_S_em...
Paolo Carlini [Mon, 18 Oct 2004 08:43:17 +0000 (08:43 +0000)]
basic_string.tcc (_M_mutate): Do not reallocate unnecessarily when _M_rep() == &_S_empty_rep() and __new_size...

2004-10-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (_M_mutate): Do not reallocate
unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
== capacity() (== 0): is ok to just leave everything unchanged.

* include/bits/basic_string.h: Minor formatting fixes.
* include/bits/basic_string.tcc: Likewise.

From-SVN: r89199

19 years agoMake-lang.in (java/parse.o-warn, [...]): New rules to work around old Bison warnings.
Steven Bosscher [Mon, 18 Oct 2004 06:35:09 +0000 (06:35 +0000)]
Make-lang.in (java/parse.o-warn, [...]): New rules to work around old Bison warnings.

* Make-lang.in (java/parse.o-warn, java/parse-scan.o-warn):
New rules to work around old Bison warnings.

From-SVN: r89198

19 years agoMakefile.in (loop-unroll.o): Add VARRAY_H dependency.
Revital Eres [Mon, 18 Oct 2004 05:31:28 +0000 (05:31 +0000)]
Makefile.in (loop-unroll.o): Add VARRAY_H dependency.

2004-10-18  Revital Eres  <eres@il.ibm.com>

        * Makefile.in (loop-unroll.o): Add VARRAY_H dependency.
        * loop-unroll.c: Include varray.h.
        (struct var_to_expand, struct opt_info): Rename split_ivs_info to
        opt_info and expand it to support variable expansion.
        (analyze_insns_in_loop): Rename analyze_ivs_to_split and
        expand it to support variable expansion.
        (pt_info_start_duplication): Rename si_info_start_duplication.
        (apply_opt_in_copies): Rename split_ivs_in_copies and add support
        to the variable expansion optimization.
        (free_opt_info): Rename free_si_info.
        (analyze_insn_to_expand_var, referenced_in_one_insn_in_loop_p,
        expand_var_during_unrolling, insert_var_expansion_initialization,
        combine_var_copies_in_loop_exit, release_var_copies,
        get_expansion): New functions.
        (peel_loop_completely, unroll_loop_constant_iterations,
        unroll_loop_runtime_iterations, peel_loop_simple,
        unroll_loop_stupid): Change uses of struct si_info
        to struct opt_info
        and add uses of fvariable-expansion-in-unroller flag.
        * params.def: Add parameter to restrict the number of expansions.
        * params.h: (MAX_VARIABLE_EXPANSIONS): New define to restrict
        the number of expansions.
        * common.opt: (fvariable-expansion-in-unroller): New flag.
        * doc/invoke.texi: (fvariable-expansion-in-unroller): Document.

From-SVN: r89197

19 years agocygming.h (TARGET_OS_CPP_BUILTINS): Define __GXX_MERGED_TYPEINFO_NAMES to 0.
Danny Smith [Mon, 18 Oct 2004 03:48:57 +0000 (03:48 +0000)]
cygming.h (TARGET_OS_CPP_BUILTINS): Define __GXX_MERGED_TYPEINFO_NAMES to 0.

* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define
__GXX_MERGED_TYPEINFO_NAMES to 0.

From-SVN: r89196

19 years agoppc-sdata-1.c: Update to consider the possibility of the compiler referring to regist...
Ben Elliston [Mon, 18 Oct 2004 03:23:20 +0000 (03:23 +0000)]
ppc-sdata-1.c: Update to consider the possibility of the compiler referring to register 0 when...

* gcc.dg/ppc-sdata-1.c: Update to consider the possibility of the
compiler referring to register 0 when accessing sdata.  The linker
now patches things up.

From-SVN: r89195