gcc.git
21 years ago* function.c (purge_addressof_1): Postpone insn in fewer cases.
Zdenek Dvorak [Wed, 30 Apr 2003 10:03:35 +0000 (12:03 +0200)]
* function.c (purge_addressof_1): Postpone insn in fewer cases.

From-SVN: r66286

21 years ago2003-04-30 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 30 Apr 2003 08:57:04 +0000 (08:57 +0000)]
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

21 years agoThis accidently got it then the big java.security merge so revert this.
Michael Koch [Wed, 30 Apr 2003 07:26:36 +0000 (07:26 +0000)]
This accidently got it then the big java.security merge so revert this.

From-SVN: r66284

21 years agoEngine.java, [...]: New files from classpath.
Michael Koch [Wed, 30 Apr 2003 07:23:42 +0000 (07:23 +0000)]
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

21 years agohost-darwin.c (segv_handler): When -dH is used, call abort() after running out of...
Geoffrey Keating [Wed, 30 Apr 2003 01:52:06 +0000 (01:52 +0000)]
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

21 years agoc-typeck.c (function_types_compatible_p): Ignore incompatible 'volatile' qualifiers...
Geoffrey Keating [Wed, 30 Apr 2003 01:28:39 +0000 (01:28 +0000)]
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

21 years agoexpr.c (emit_group_load): Dump parallels of simd types to memory.
Aldy Hernandez [Wed, 30 Apr 2003 00:49:01 +0000 (00:49 +0000)]
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

21 years agoDaily bump.
GCC Administrator [Wed, 30 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r66279

21 years agomainpage.html: Bring up to date.
Phil Edwards [Tue, 29 Apr 2003 23:48:52 +0000 (23:48 +0000)]
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

21 years agotree-inline.c (inlinable_function_p): Don't support inlining functions using varargs.
Geoffrey Keating [Tue, 29 Apr 2003 23:32:44 +0000 (23:32 +0000)]
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

21 years agostor-layout.c (mode_for_size_tree): Use tree_low_cst.
Richard Kenner [Tue, 29 Apr 2003 22:48:55 +0000 (22:48 +0000)]
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

21 years agoacinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside of libc if message...
Phil Edwards [Tue, 29 Apr 2003 22:47:03 +0000 (22:47 +0000)]
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

21 years agogenautomata.c (add_vect): Check undefined value for range type too.
Vladimir Makarov [Tue, 29 Apr 2003 22:46:54 +0000 (22:46 +0000)]
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

21 years agoconfigure.in: More general test for cmp --ignore-initial.
Phil Edwards [Tue, 29 Apr 2003 22:39:26 +0000 (22:39 +0000)]
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

21 years ago* tree.c (save_expr): Don't fold a COMPONENT_REF.
Richard Kenner [Tue, 29 Apr 2003 22:38:09 +0000 (22:38 +0000)]
* tree.c (save_expr): Don't fold a COMPONENT_REF.

From-SVN: r66264

21 years agore PR c++/10551 (Failure to emit explicitly instantiated template w/--no-implicit...
Mark Mitchell [Tue, 29 Apr 2003 22:15:34 +0000 (22:15 +0000)]
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

21 years agoatomicity.h: New file.
Joel Sherrill [Tue, 29 Apr 2003 21:57:39 +0000 (21:57 +0000)]
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

21 years agocalls.c (expand_call): When modes of target and valreg match, force sibcall failure...
Olivier Hainque [Tue, 29 Apr 2003 21:47:42 +0000 (23:47 +0200)]
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

21 years agore PR c++/10549 (ICE in store_bit_field on bitfields that exceed the precision of...
Mark Mitchell [Tue, 29 Apr 2003 21:28:41 +0000 (21:28 +0000)]
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

21 years ago* doc/invoke.texi (Overall Options): Mention -x objective-c-header.
Geoffrey Keating [Tue, 29 Apr 2003 20:45:55 +0000 (20:45 +0000)]
* doc/invoke.texi (Overall Options): Mention -x objective-c-header.

From-SVN: r66254

21 years agodwarf2out.c (output_call_frame_info): No need to output EH unwind information if...
Geoffrey Keating [Tue, 29 Apr 2003 20:42:55 +0000 (20:42 +0000)]
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

21 years agoc-semantics.c (expand_unreachable_stmt): Return a tree.
Geoffrey Keating [Tue, 29 Apr 2003 20:39:12 +0000 (20:39 +0000)]
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

21 years ago* Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
Geoffrey Keating [Tue, 29 Apr 2003 20:34:45 +0000 (20:34 +0000)]
* Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.

From-SVN: r66251

21 years agore PR middle-end/10336 (ICE with -Wunreachable-code)
Jason Merrill [Tue, 29 Apr 2003 20:25:11 +0000 (16:25 -0400)]
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

21 years agore PR c++/10527 (confused error message with "new int()" parameter initializer)
Mark Mitchell [Tue, 29 Apr 2003 20:17:00 +0000 (20:17 +0000)]
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

21 years agofstream.tcc (open): Change to single return.
Paolo Carlini [Tue, 29 Apr 2003 19:46:07 +0000 (21:46 +0200)]
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

21 years agoelf.h (SIZE_TYPE, [...]): Remove redundant macros.
Bob Wilson [Tue, 29 Apr 2003 18:56:53 +0000 (18:56 +0000)]
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

21 years agogengtype-yacc.y: Improve portability.
Alexander Kabaev [Tue, 29 Apr 2003 18:51:38 +0000 (18:51 +0000)]
gengtype-yacc.y: Improve portability.

bootstrap/10452
* gengtype-yacc.y: Improve portability.

From-SVN: r66239

21 years agoconfig.gcc: Install obsolete target list for GCC 3.3.
Zack Weinberg [Tue, 29 Apr 2003 18:47:40 +0000 (18:47 +0000)]
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

21 years agore PR c++/10515 (problem when initializing a field in a union)
Mark Mitchell [Tue, 29 Apr 2003 18:26:47 +0000 (18:26 +0000)]
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

21 years agore PR c++/10515 (problem when initializing a field in a union)
Mark Mitchell [Tue, 29 Apr 2003 18:00:23 +0000 (18:00 +0000)]
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

21 years agostd_sstream.h (underflow): Change to single return.
Paolo Carlini [Tue, 29 Apr 2003 17:47:38 +0000 (19:47 +0200)]
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

21 years ago* tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.
Zack Weinberg [Tue, 29 Apr 2003 17:10:48 +0000 (17:10 +0000)]
* tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.

From-SVN: r66233

21 years agoc-pragma.c (maybe_apply_renaming_pragma): Fix typo.
Kriang Lerdsuwanakij [Tue, 29 Apr 2003 14:16:48 +0000 (14:16 +0000)]
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

21 years agofreebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
David O'Brien [Tue, 29 Apr 2003 12:52:57 +0000 (12:52 +0000)]
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

21 years agoTwo little fixes I commited to classpath but not to libgcj first
Michael Koch [Tue, 29 Apr 2003 12:34:49 +0000 (12:34 +0000)]
Two little fixes I commited to classpath but not to libgcj first

From-SVN: r66222

21 years ago2003-04-29 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 29 Apr 2003 12:31:25 +0000 (12:31 +0000)]
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

21 years ago* varasm.c (default_assemble_visibility): Use assemble_name.
J"orn Rennecke [Tue, 29 Apr 2003 12:18:17 +0000 (12:18 +0000)]
* varasm.c (default_assemble_visibility): Use assemble_name.

From-SVN: r66220

21 years agofreebsd.h (LINK_SHLIB_SPEC): New macro.
David O'Brien [Tue, 29 Apr 2003 12:01:59 +0000 (12:01 +0000)]
freebsd.h (LINK_SHLIB_SPEC): New macro.

* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
(SIZE_TYPE): New macro.

From-SVN: r66217

21 years ago* config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
David O'Brien [Tue, 29 Apr 2003 11:42:16 +0000 (11:42 +0000)]
* config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.

From-SVN: r66215

21 years agoPropertyPermission.java: New version from classpath
Michael Koch [Tue, 29 Apr 2003 11:36:34 +0000 (11:36 +0000)]
PropertyPermission.java: New version from classpath

2003-04-29  Michael Koch  <konqueror@gmx.de>

* java/util/PropertyPermission.java:
New version from classpath
* java/util/ResourceBundle.java:
Partly merged from classpath
(getObject): Reformated.
(tryBundle): Set foundBundle = null if no bundle found.

From-SVN: r66214

21 years agoAbstractListModel.java, [...]: New Versions from classpath.
Michael Koch [Tue, 29 Apr 2003 09:26:29 +0000 (09:26 +0000)]
AbstractListModel.java, [...]: New Versions from classpath.

2003-04-29  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractListModel.java,
javax/swing/DefaultBoundedRangeModel.java,
javax/swing/DefaultSingleSelectionModel.java:
New Versions from classpath.

From-SVN: r66212

21 years ago2003-04-29 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 29 Apr 2003 07:51:46 +0000 (07:51 +0000)]
2003-04-29  Michael Koch  <konqueror@gmx.de>

* java/awt/Window.java
(show): Call super.show() instead of setVisible() to avoid endless
loop.
(hide): Call super.hide() instead of setVisible() to avoid endless
loop.

From-SVN: r66208

21 years agoDeflater.java, [...]: Partly merged with classpath.
Michael Koch [Tue, 29 Apr 2003 07:37:14 +0000 (07:37 +0000)]
Deflater.java, [...]: Partly merged with classpath.

2003-04-29  Michael Koch  <konqueror@gmx.de>

* java/util/zip/Deflater.java,
java/util/zip/DeflaterOutputStream.java:
Partly merged with classpath.

From-SVN: r66207

21 years agoRemove accidental commit
Mark Mitchell [Tue, 29 Apr 2003 07:35:47 +0000 (07:35 +0000)]
Remove accidental commit

From-SVN: r66206

21 years agodecl.c (maybe_commonize_var): Further tweak support for systems without weak symbols.
Mark Mitchell [Tue, 29 Apr 2003 07:13:33 +0000 (07:13 +0000)]
decl.c (maybe_commonize_var): Further tweak support for systems without weak symbols.

* decl.c (maybe_commonize_var): Further tweak support for systems
without weak symbols.

* g++.old-deja/g++.pt/deduct5.C: Remove unnecessary initializer.

From-SVN: r66205

21 years agoFix date typo.
Loren J. Rittle [Tue, 29 Apr 2003 03:54:23 +0000 (03:54 +0000)]
Fix date typo.

From-SVN: r66203

21 years agore PR c++/10180 (gcc fails to warn about non-inlined function)
Mark Mitchell [Tue, 29 Apr 2003 03:24:27 +0000 (03:24 +0000)]
re PR c++/10180 (gcc fails to warn about non-inlined function)

PR c++/10180
* tree-inline.c (expand_call_inline): Call push_srcloc when
encountering EXPR_WITH_FILE_LOCATION.  Honor warn_inline.

PR c++/10180
* g++.dg/warn/Winline-1.C: New test.

From-SVN: r66202

21 years agoDaily bump.
GCC Administrator [Tue, 29 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r66200

21 years agostd_streambuf.h (_M_buf): is currently used only for basic_filebuf, therefore move...
Paolo Carlini [Mon, 28 Apr 2003 23:51:37 +0000 (01:51 +0200)]
std_streambuf.h (_M_buf): is currently used only for basic_filebuf, therefore move it there.

2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_M_buf): is currently
used only for basic_filebuf, therefore move it there.
(basic_streambuf(), ~basic_streambuf()): Adjust.
* include/std/std_fstream.h (_M_buf): Moved here.
* include/std/std_sstream.h (setbuf): Don't set _M_buf,
is actually redundant for basic_stringbuf.
(_M_really_sync): Likewise.
* include/bits/fstream.tcc (basic_filebuf()): Adjust.
* include/bits/sstream.tcc (seekoff): Adjust.

From-SVN: r66193

21 years agolocalename.cc: Standardize exception strings.
Benjamin Kosnik [Mon, 28 Apr 2003 23:05:57 +0000 (23:05 +0000)]
localename.cc: Standardize exception strings.

2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>

* src/localename.cc: Standardize exception strings.
* src/locale.cc: Same.
* src/ios.cc: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/std/std_bitset.h: Same.
* include/ext/ropeimpl.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_bvector.h: Same.
* config/locale/generic/c_locale.cc: Same.
* config/locale/gnu/c_locale.cc: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.

* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.

From-SVN: r66192

21 years agostd_streambuf.h (_M_buf_size): is currently used only for basic_filebuf, therefore...
Paolo Carlini [Mon, 28 Apr 2003 23:02:46 +0000 (01:02 +0200)]
std_streambuf.h (_M_buf_size): is currently used only for basic_filebuf, therefore move it there.

2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_M_buf_size): is currently
used only for basic_filebuf, therefore move it there.
(basic_streambuf(), ~basic_streambuf()): Adjust.
* include/std/std_fstream.h (_M_buf_size): Moved here.
* include/bits/fstream.tcc (basic_filebuf()): Adjust.

From-SVN: r66191

21 years agostreambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now correct...
Paolo Carlini [Mon, 28 Apr 2003 22:15:58 +0000 (00:15 +0200)]
streambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now correctly dealt with elsewhere)...

2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/streambuf.tcc (__copy_streambufs): Don't use
_M_buf_size (synced input is now correctly dealt with
elsewhere); when the output buffer is full don't fall back
to a snextc-sputc loop, call overflow instead.

From-SVN: r66190

21 years agosstream.tcc (pbackfail): Shorten a bit (6 lines) the innermost 'if' by factoring...
Paolo Carlini [Mon, 28 Apr 2003 21:28:25 +0000 (23:28 +0200)]
sstream.tcc (pbackfail): Shorten a bit (6 lines) the innermost 'if' by factoring out some code.

2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
the innermost 'if' by factoring out some code.

From-SVN: r66187

21 years ago* gdbinit.in: Update to reflect new identifier structure.
Mike Stump [Mon, 28 Apr 2003 21:24:06 +0000 (21:24 +0000)]
* gdbinit.in: Update to reflect new identifier structure.

From-SVN: r66186

21 years agoconfigure.in: Test for libintl.h.
Phil Edwards [Mon, 28 Apr 2003 21:03:19 +0000 (21:03 +0000)]
configure.in: Test for libintl.h.

2003-04-28  Phil Edwards  <pme@gcc.gnu.org>

* configure.in:  Test for libintl.h.
* include/bits/c++config:  Define __N for everybody.
* include/bits/basic_string.h, include/bits/stl_bvector.h,
include/bits/stl_deque.h, include/bits/stl_vector.h,
include/std/std_bitset.h:  Wrap all __throw* text with __N.
* po/Makefile.am (pot):  New rule, mostly working.
* src/functexcept.cc:  Call gettext on all __throw* arguments when
-fexceptions is in effect.
* po/Makefile.in, config.h.in, configure:  Regenerate.

From-SVN: r66185

21 years agoconfigure.in: define GC_DLL under mingw if --enable-shared
Mohan Embar [Mon, 28 Apr 2003 20:54:37 +0000 (20:54 +0000)]
configure.in: define GC_DLL under mingw if --enable-shared

2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>

* configure.in: define GC_DLL under mingw if --enable-shared
* configure: rebuilt
* win32_threads.c: add #ifdef GC_DLL around DllMain

From-SVN: r66183

21 years agotree.h (TREE_CST_RTL, [...]): Delete.
Zack Weinberg [Mon, 28 Apr 2003 20:02:28 +0000 (20:02 +0000)]
tree.h (TREE_CST_RTL, [...]): Delete.

* tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
(struct tree_int_cst, struct tree_real_cst, struct tree_string,
struct tree_complex, struct tree_vector): Remove RTL field.
(CONSTRUCTOR_ELTS): Use elt 0.
* tree.def (CONSTRUCTOR): Delete first of its two operands.
* varasm.c (output_constant_def): Remove early exit if
TREE_CST_RTL is set.  Don't set TREE_CST_RTL.
(decode_addr_const): Don't mention TREE_CST_RTL in comment.
* target.h (select_section): Don't mention TREE_CST_RTL in comment.
* doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.

ada:
* utils.c (convert): No need to clear TREE_CST_RTL.

From-SVN: r66182

21 years agoc-decl.c (finish_decl): When prototype with asmspec is found for built-in...
Jakub Jelinek [Mon, 28 Apr 2003 19:58:52 +0000 (21:58 +0200)]
c-decl.c (finish_decl): When prototype with asmspec is found for built-in...

* c-decl.c (finish_decl): When prototype with asmspec is found
for built-in, adjust built_in_decls as well as expr.c decls.
* expr.c (init_block_move_fn, init_block_clear_fn): New functions.
(emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
* expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.

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

From-SVN: r66181

21 years agonatString.cc (_Jv_AllocString): Initialize cachedHashCode.
Tom Tromey [Mon, 28 Apr 2003 18:19:23 +0000 (18:19 +0000)]
natString.cc (_Jv_AllocString): Initialize cachedHashCode.

* java/lang/natString.cc (_Jv_AllocString): Initialize
cachedHashCode.
(init): Likewise.
(_Jv_NewStringUtf8Const): Likewise.

From-SVN: r66180

21 years agosparc.c (print_operand): Add 's' to sign-extend.
Richard Henderson [Mon, 28 Apr 2003 17:58:02 +0000 (10:58 -0700)]
sparc.c (print_operand): Add 's' to sign-extend.

        * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
        * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
        integral constant mult operand.
        (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
        (const_smulsi3_highpart_v8plus): Likewise.
        (const_smulsi3_highpart): Likewise.
        (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
        (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
        (const_umulsi3_highpart_v8plus): Likewise.
        (const_umulsi3_highpart): Likewise.

From-SVN: r66179

21 years ago[multiple changes]
Benjamin Kosnik [Mon, 28 Apr 2003 17:15:03 +0000 (17:15 +0000)]
[multiple changes]

2003-04-28  Petur Runolfsson  <peturr02@ru.is>

        PR libstdc++/9523
        * include/bits/ios_base.h (Init::_S_ios_create,
        Init::_S_ios_destroy):  Remove declarations.
        (Init::_S_create_buffers,
        Init::_S_destroy_buffers):  Declare
        * src/ios.cc (Init::_S_ios_create):  Remove
        (Init::_S_create_buffers):  Create buffers and add to streams.
        (Init::_S_ios_destroy):  Rename to...
        (Init::_S_destroy_buffers):  this.
        (Init::Init):  Only construct streams once.
        (Init::~Init):  Flush streams, don't destroy them.
        (ios_base::sync_with_stdio):  Don't destroy streams, only buffers.
        * testsuite/27_io/ios_base/sync_with_stdio/9523.cc:  New test.
        * testsuite/27_io/objects/char/5.cc:  New test.
        * testsuite/27_io/objects/char/5268.cc:  Avoid undefined behavior.
        * testsuite/27_io/objects/char/6.cc:  New test.
        * testsuite/27_io/objects/char/7.cc:  New test.

2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>

        * testsuite/27_io/objects/char/8.cc:  New test.

From-SVN: r66177

21 years agox86-64.h (NO_PROFILE_COUNTERS, [...]): Define as 1.
David O'Brien [Mon, 28 Apr 2003 15:30:25 +0000 (15:30 +0000)]
x86-64.h (NO_PROFILE_COUNTERS, [...]): Define as 1.

2003-04-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE):
Define as 1.

From-SVN: r66174

21 years agoi386.h (builtin_define): Add __amd64 and __amd64__.
David O'Brien [Mon, 28 Apr 2003 15:11:06 +0000 (15:11 +0000)]
i386.h (builtin_define): Add __amd64 and __amd64__.

2003-04-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.

From-SVN: r66171

21 years agochar.cc: Remove bom usage.
Benjamin Kosnik [Mon, 28 Apr 2003 14:30:07 +0000 (14:30 +0000)]
char.cc: Remove bom usage.

2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
* testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.

From-SVN: r66170

21 years agobuiltins.def (BUILT_IN_BCOPY, [...]): New.
Jakub Jelinek [Mon, 28 Apr 2003 12:10:35 +0000 (14:10 +0200)]
builtins.def (BUILT_IN_BCOPY, [...]): New.

* builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
* builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
* builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
functions.
(expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.

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

From-SVN: r66169

21 years ago* config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.
Nick Clifton [Mon, 28 Apr 2003 08:28:21 +0000 (08:28 +0000)]
* config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.

From-SVN: r66156

21 years ago* decl.c (maybe_commonize_var): Fix thinko in last patch.
Mark Mitchell [Mon, 28 Apr 2003 06:13:23 +0000 (06:13 +0000)]
* decl.c (maybe_commonize_var): Fix thinko in last patch.

From-SVN: r66154

21 years agore PR c++/10506 (ICE in build_new at cp/init.c with -fkeep-inline-functions and multi...
Mark Mitchell [Mon, 28 Apr 2003 06:06:59 +0000 (06:06 +0000)]
re PR c++/10506 (ICE in build_new at cp/init.c with -fkeep-inline-functions and multiple inheritance)

PR c++/10506
* method.c (use_thunk): Decrement immediate_size_expand.

PR c++/10503
* cp-tree.h (DECL_VAR_MARKED_P): New macro.
(DECL_MAYBE_TEMPLATE): Remove.
* class.c (fixed_type_or_null): Avoid infinite recursion.

PR c++/10506
* g++.dg/init/new6.C: New test.

PR c++/10503
* g++.dg/init/ref6.C: New test.

From-SVN: r66150

21 years agostd_fstream.h (basic_filebuf): _M_pback_destroy to _M_destroy_pback.
Benjamin Kosnik [Mon, 28 Apr 2003 04:54:54 +0000 (04:54 +0000)]
std_fstream.h (basic_filebuf): _M_pback_destroy to _M_destroy_pback.

2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
_M_destroy_pback. _M_pback_create to
_M_create_pback. _M_underflow_common to
_M_underflow. _M_really_overflow to _M_overflow.
* include/bits/fstream.tcc: Same.
* src/fstream.cc: Same.
* include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
_M_move_in_cur.  _M_out_cur_move to _M_move_out_cur.
* include/bits/streambuf.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/sstream.tcc: Same.

From-SVN: r66149

21 years agoexpr.c (expand_expr <COMPLEX_CST, [...]): Always call output_constant_def, use its...
Zack Weinberg [Mon, 28 Apr 2003 04:13:48 +0000 (04:13 +0000)]
expr.c (expand_expr <COMPLEX_CST, [...]): Always call output_constant_def, use its result instead of TREE_CST_RTL (exp).

        * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
        output_constant_def, use its result instead of TREE_CST_RTL (exp).
        Can assume it has the form (mem (symbol_ref ".LCxxx")).
        (expand_expr <COMPONENT_REF>): Can always just extract the
        relevant field of a CONSTRUCTOR.
        (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF,
        ARRAY_RANGE_REF>): Make control flow explicit.
        * varasm.c (output_constant_def): Can look at TREE_CST_RTL of
        an INTEGER_CST.

From-SVN: r66148

21 years agolocale_classes.h (locale::_Impl): Change _M_names from fixed size array.
Benjamin Kosnik [Mon, 28 Apr 2003 03:41:49 +0000 (03:41 +0000)]
locale_classes.h (locale::_Impl): Change _M_names from fixed size array.

2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_classes.h (locale::_Impl): Change _M_names
from fixed size array.
(locale): Change _S_categories as well.
Formatting tweaks.
* include/bits/locale_facets.tcc: Tweak.
* config/locale/gnu/c_locale.cc: Assign _S_categories.
* config/locale/generic/c_locale.cc: Same.
* src/locale.cc: Tweak.
* src/globals.cc: Change facet_name to name_vec, add names_c.
* src/localename.cc: Use them.
(locale::_Impl::~_Impl): Destroy _M_names.
(locale::_Impl::_Impl): Create _M_names.

From-SVN: r66147

21 years agoMakefile.tpl: Clean $(BUILD_SUBDIR).
Daniel Jacobowitz [Mon, 28 Apr 2003 02:23:46 +0000 (02:23 +0000)]
Makefile.tpl: Clean $(BUILD_SUBDIR).

* Makefile.tpl: Clean $(BUILD_SUBDIR).
* Makefile.in: Regenerated.

From-SVN: r66145

21 years agoDaily bump.
GCC Administrator [Mon, 28 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r66144

21 years ago* reload1.c (reg_set_luid): Fix a comment typo.
Kazu Hirata [Sun, 27 Apr 2003 20:10:49 +0000 (20:10 +0000)]
* reload1.c (reg_set_luid): Fix a comment typo.

From-SVN: r66137

21 years ago* config/locale/ieee_1003.1-2001/codecvt_specializations.h
Andreas Schwab [Sun, 27 Apr 2003 19:51:25 +0000 (19:51 +0000)]
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(__enc_traits): Use __ibom and __ebom instead of ignoring them.

From-SVN: r66136

21 years agodecl.c (maybe_commonize_var): Make the code match the comments.
Mark Mitchell [Sun, 27 Apr 2003 19:33:38 +0000 (19:33 +0000)]
decl.c (maybe_commonize_var): Make the code match the comments.

* decl.c (maybe_commonize_var): Make the code match the comments.
* pt.c (instantiate_decl): Move call to import_export_decl.

From-SVN: r66135

21 years agovarasm.c (const_str_htab_hash, [...]): Kill.
Zack Weinberg [Sun, 27 Apr 2003 18:57:51 +0000 (18:57 +0000)]
varasm.c (const_str_htab_hash, [...]): Kill.

* varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
struct deferred_string, const_str_htab): Kill.
(n_deferred_strings): New static variable.
(build_constant_desc): Set SYMBOL_REF_DECL of the new
symbol_ref to point to the constant.
(output_constant_def): When a deferred string is forced out,
just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings.
(mark_constant): Likewise.
(maybe_output_constant_def_contents): When deferring a string
constant, just set STRING_POOL_ADDRESS_P and increment
n_deferred_strings.
(mark_constant_pool): Check n_deferred_strings, not the size
of const_str_htab.
(init_varasm_once): No need to create const_str_htab.

* rtl.def, rtl.h, doc/rtl.texi: Document possibility that
SYMBOL_REF_DECL points to a constant.

From-SVN: r66133

21 years agoMove some basic_string members out of line because they are too big to reasonably...
Nathan Myers [Sun, 27 Apr 2003 17:20:42 +0000 (17:20 +0000)]
Move some basic_string members out of line because they are too big to reasonably be inline.

2003-04-27  Nathan Myers  <ncm@cantrip.org>

Move some basic_string members out of line because
they are too big to reasonably be inline.
* include/bits/basic_string.h
(assign(const basic_string&, size_type, size_type),
assign(const _CharT*, size_type),
insert(size_type, const basic_string&, size_type, size_type),
insert(size_type, const _CharT*, size_type),
replace(size_type, size_type, const _CharT*, size_type)):
Move from here to...
* include/bits/basic_string.tcc: ...here.

From-SVN: r66132

21 years agovarasm.c (output_constant_def): Split out two new static functions...
Zack Weinberg [Sun, 27 Apr 2003 03:50:27 +0000 (03:50 +0000)]
varasm.c (output_constant_def): Split out two new static functions...

* varasm.c (output_constant_def): Split out two new static
functions, build_constant_desc and maybe_output_constant_def_contents.
Restructure for comprehensibility.  Don't call
output_addressed_constants.  Treat defstr being non-NULL for
STRING_POOL_ADDRESS_P constants as an invariant.
(struct deferred_string): Remove labelno field.
(output_constant_def_contents): Kill labelno argument.  Call
output_addressed_constants here.  Use ASM_OUTPUT_LABEL, not
asm_out.internal_label.
(mark_constant): Update call to output_constant_def_contents.
Treat defstr being non-NULL for STRING_POOL_ADDRESS_P
constants as an invariant.

From-SVN: r66129

21 years agoi386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
Richard Henderson [Sun, 27 Apr 2003 02:15:25 +0000 (19:15 -0700)]
i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.

        * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
        (ix86_expand_call, ix86_rtx_consts): Likewise.

From-SVN: r66128

21 years agoDaily bump.
GCC Administrator [Sun, 27 Apr 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r66127

21 years ago* g++.dg/warn/weak1.C: XFAIL on AIX4.
David Edelsohn [Sat, 26 Apr 2003 21:31:23 +0000 (21:31 +0000)]
* g++.dg/warn/weak1.C: XFAIL on AIX4.

From-SVN: r66120

21 years agoRevert cpplex.c change
Neil Booth [Sat, 26 Apr 2003 21:03:51 +0000 (21:03 +0000)]
Revert cpplex.c change

From-SVN: r66118

21 years agoUpdate copyright
Kaveh Ghazi [Sat, 26 Apr 2003 21:03:46 +0000 (21:03 +0000)]
Update copyright

From-SVN: r66117

21 years agomd.texi (cmpstr): Document additional restrictions.
Kaveh R. Ghazi [Sat, 26 Apr 2003 20:44:30 +0000 (20:44 +0000)]
md.texi (cmpstr): Document additional restrictions.

gcc:
* doc/md.texi (cmpstr): Document additional restrictions.

testsuite:
* gcc.c-torture/execute/string-opt-8.c: Don't perform cmpstr
checks for __pj__, but do them for !__OPTIMIZE__ and __s390__.

From-SVN: r66116

21 years ago* decl2.c (finish_file): Fix merge botch.
Mark Mitchell [Sat, 26 Apr 2003 20:22:12 +0000 (20:22 +0000)]
* decl2.c (finish_file): Fix merge botch.

From-SVN: r66114

21 years agoflags.h (time_report): Remove.
Neil Booth [Sat, 26 Apr 2003 15:19:06 +0000 (15:19 +0000)]
flags.h (time_report): Remove.

* flags.h (time_report): Remove.
* timevar.c (timevar_enable): New.
(TIMEVAR_ENABLE): Remove, use timevar_enable.
(timevar_init): Rename from init_timevar.
* timevar.h (timevar_init): Rename from init_timevar.
* toplev.c (time_report): Make static.
(do_compile): Conditionally call init_timevar first.
(preprocess_options): Move some code to do_compile.

From-SVN: r66110

21 years ago* doc/install.texi (Binaries): Mention binaries for HC11/HC12.
Stephane Carrez [Sat, 26 Apr 2003 13:09:38 +0000 (15:09 +0200)]
* doc/install.texi (Binaries): Mention binaries for HC11/HC12.

From-SVN: r66107

21 years ago* _cpp_lex_direct: Remove pointless code.
Neil Booth [Sat, 26 Apr 2003 12:55:09 +0000 (12:55 +0000)]
* _cpp_lex_direct: Remove pointless code.

From-SVN: r66106

21 years agoextend.texi (Function Attributes): Document "near" and "far" for 68HC11 and 68HC12.
Stephane Carrez [Sat, 26 Apr 2003 12:35:19 +0000 (14:35 +0200)]
extend.texi (Function Attributes): Document "near" and "far" for 68HC11 and 68HC12.

* doc/extend.texi (Function Attributes): Document "near" and "far"
for 68HC11 and 68HC12.

From-SVN: r66104

21 years agoexpr.c (store_field): When making temporary for store, don't make it TYPE_QUAL_CONST.
Richard Kenner [Sat, 26 Apr 2003 11:16:44 +0000 (11:16 +0000)]
expr.c (store_field): When making temporary for store, don't make it TYPE_QUAL_CONST.

* expr.c (store_field): When making temporary for store, don't
make it TYPE_QUAL_CONST.

From-SVN: r66103

21 years agofstream.tcc (pbackfail): Shorten a bit (10 lines) the innermost 'if' by factoring...
Paolo Carlini [Sat, 26 Apr 2003 08:31:57 +0000 (10:31 +0200)]
fstream.tcc (pbackfail): Shorten a bit (10 lines) the innermost 'if' by factoring out some code.

2003-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
the innermost 'if' by factoring out some code.

From-SVN: r66102

21 years agostreambuf.tcc (__copy_streambufs): Don't use in_avail(), simplify.
Paolo Carlini [Sat, 26 Apr 2003 08:13:35 +0000 (10:13 +0200)]
streambuf.tcc (__copy_streambufs): Don't use in_avail(), simplify.

2003-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/streambuf.tcc (__copy_streambufs): Don't
use in_avail(), simplify.

2003-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_sstream.h (setbuf): don't set _M_buf_size,
in basic_stringbuf it's unused.

* include/std/std_sstream.h (underflow): consistently use
_M_in_cur, not gptr().

From-SVN: r66100

21 years agotestsuite_flags.in: Guard against the possibility of having "xgcc" as a part of a...
Ranjit Mathew [Sat, 26 Apr 2003 04:01:47 +0000 (04:01 +0000)]
testsuite_flags.in: Guard against the possibility of having "xgcc" as a part of a folder name in...

2003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
            Phil Edwards  <pme@gcc.gnu.org>

* testsuite_flags.in: Guard against the possibility
of having "xgcc" as a part of a folder name in the
path to the GCC build folder.
* testsuite/Makefile.am: Likewise.
* testsuite/Makefile.in: Regenerated.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r66098

21 years agotoplev.c (read_integral_parameter): Use "argument" in error message to distinguish...
Phil Edwards [Sat, 26 Apr 2003 03:27:07 +0000 (03:27 +0000)]
toplev.c (read_integral_parameter): Use "argument" in error message to distinguish it from actual invalid options.

2003-04-25  Phil Edwards  <pme@gcc.gnu.org>

* toplev.c (read_integral_parameter):  Use "argument" in error
message to distinguish it from actual invalid options.

From-SVN: r66097

21 years agodecl2.c (finish_file): Don't call import_export_decl for functions that are not defined.
Mark Mitchell [Sat, 26 Apr 2003 01:27:09 +0000 (01:27 +0000)]
decl2.c (finish_file): Don't call import_export_decl for functions that are not defined.

* decl2.c (finish_file): Don't call import_export_decl for
functions that are not defined.
(handle_class_head): Robustify.
* pt.c (instantiate_decl): Do not call cp_finish_decl for
variables that are not defined.

* g++.old-deja/g++.pt/instantiate12.C: Explicit instantiate
initialized static data members.

From-SVN: r66095

21 years agolinux.h (TARGET_OS_CPP_BUILTINS): Back out previous addition of __PIC__ and __pic__...
Bob Wilson [Sat, 26 Apr 2003 00:39:02 +0000 (00:39 +0000)]
linux.h (TARGET_OS_CPP_BUILTINS): Back out previous addition of __PIC__ and __pic__ macros.

* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
addition of __PIC__ and __pic__ macros.
* config/xtensa/xtensa.h: Clean up indentation.

From-SVN: r66093

21 years agore PR libstdc++/10132 (filebuf destructor throws exceptions)
Benjamin Kosnik [Sat, 26 Apr 2003 00:23:18 +0000 (00:23 +0000)]
re PR libstdc++/10132 (filebuf destructor throws exceptions)

2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/10132
* include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
exception specifications.
(basic_filebuf::close): Same.
(basic_filebuf::_M_pback_destroy): Same.
(basic_filebuf::_M_destroy_internal_buffer): Same.
(basic_filebuf): Remove __res_type typedef.
* src/fstream.cc: Same.
* include/bits/fstream.tcc
(basic_filebuf::_M_convert_to_external): Simplify.
(basic_filebuf::seekoff): Use has_facet before use_facet.
(basic_filebuf::close): Add exception specification of throw().
* testsuite/27_io/basic_filebuf/cons: New.
* testsuite/27_io/basic_filebuf/cons/wchar_t: New.
* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.

From-SVN: r66091

21 years agoDaily bump.
GCC Administrator [Sat, 26 Apr 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r66090