]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
21 years agoMerge from rewrite branch.
Eric Christopher [Thu, 1 May 2003 02:33:13 +0000 (02:33 +0000)] 
Merge from rewrite branch.

From-SVN: r66318

21 years agog++-dg.exp (g++-dg-test): Add "repo" option.
Mark Mitchell [Thu, 1 May 2003 02:02:59 +0000 (02:02 +0000)] 
g++-dg.exp (g++-dg-test): Add "repo" option.

* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
(dg-gpp-additional-sources): New function.
(dg-gpp-additional-files): Likewise.
* lib/g++.exp (additional_sources): New variable.
(additional_files): Likewise.
(g++_target_compile): Deal with them.
* lib/old-dejagnu.exp: Remove.
* g++.old-deja/old-deja.exp: Use dg.exp, not old-dejagnu.exp.
* g++.old-deja: Revise all tests to use dg commands.

From-SVN: r66317

21 years ago* builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
Diego Novillo [Thu, 1 May 2003 01:27:48 +0000 (01:27 +0000)] 
* builtins.def (BUILTIN_CONSTANT_P): Mark as constant.

From-SVN: r66316

21 years agotree-inline.c (inlinable_function_p): Back out last change, it's unnecessary.
Geoffrey Keating [Thu, 1 May 2003 01:21:45 +0000 (01:21 +0000)] 
tree-inline.c (inlinable_function_p): Back out last change, it's unnecessary.

* tree-inline.c (inlinable_function_p): Back out last change, it's
unnecessary.

From-SVN: r66315

21 years agoDaily bump.
GCC Administrator [Thu, 1 May 2003 00:17:10 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r66314

21 years agoggc-page.c (TREE_EXP_SIZE): Define.
Steven Bosscher [Wed, 30 Apr 2003 21:44:23 +0000 (21:44 +0000)] 
ggc-page.c (TREE_EXP_SIZE): Define.

* ggc-page.c (TREE_EXP_SIZE): Define.
(extra_order_size_table): New entry for expr trees with
two operands.

From-SVN: r66306

21 years ago* stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
Richard Kenner [Wed, 30 Apr 2003 20:30:37 +0000 (20:30 +0000)] 
* stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.

From-SVN: r66305

21 years agoc-common.c (if_elt): Use location_t in lieu of "file, line" pair.
Gabriel Dos Reis [Wed, 30 Apr 2003 20:27:26 +0000 (20:27 +0000)] 
c-common.c (if_elt): Use location_t in lieu of "file, line" pair.

        * c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
        (c_expand_start_cond): Adjust.
        (c_expand_end_cond): Don't use warning_with_file_and_file.
        (shadow_warning): Likewise.

From-SVN: r66304

21 years agoparse.y (make_plus_expression): New function.
Steven Bosscher [Wed, 30 Apr 2003 19:08:12 +0000 (19:08 +0000)] 
parse.y (make_plus_expression): New function.

* parse.y (make_plus_expression): New function.
(expression:): Use make_plus_expression for PLUS, MINUS,
ASSIGN and EQUALS.
* tree1.c (treelang_decode_option): Don't fall through to
options that start with a different character when an option
was not recognized.

From-SVN: r66303

21 years agoMake-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
Nathan Sidwell [Wed, 30 Apr 2003 18:27:43 +0000 (18:27 +0000)] 
Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.

* Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
* treetree.c: Do not #include parse.h.

From-SVN: r66301

21 years agotree.h (DECL_POINTER_DEPTH): Remove.
Nathan Sidwell [Wed, 30 Apr 2003 18:24:06 +0000 (18:24 +0000)] 
tree.h (DECL_POINTER_DEPTH): Remove.

* tree.h (DECL_POINTER_DEPTH): Remove.
(struct tree_decl): Remove pointer_depth.

From-SVN: r66300

21 years agoacinclude.m4: Add bit missing from previous patch.
Phil Edwards [Wed, 30 Apr 2003 18:04:23 +0000 (18:04 +0000)] 
acinclude.m4: Add bit missing from previous patch.

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

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

From-SVN: r66299

21 years agoPR c++/9432, c++/9528
Kriang Lerdsuwanakij [Wed, 30 Apr 2003 17:51:41 +0000 (17:51 +0000)] 
PR c++/9432, c++/9528

PR c++/9432, c++/9528
* decl2.c (validate_nonmember_using_decl): Handle SCOPE_REF.

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

From-SVN: r66298

21 years agolinux64.h (ASM_OUTPUT_LABELREF): Remove.
Janis Johnson [Wed, 30 Apr 2003 16:51:23 +0000 (16:51 +0000)] 
linux64.h (ASM_OUTPUT_LABELREF): Remove.

2003-04-30  Janis Johnson  <janis187@us.ibm.com>

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

From-SVN: r66297

21 years ago* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
Gabriel Dos Reis [Wed, 30 Apr 2003 16:12:58 +0000 (16:12 +0000)] 
* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.

From-SVN: r66295

21 years ago* MAINTAINERS (GNATS only): Add Giovanni Bajo.
Wolfgang Bangerth [Wed, 30 Apr 2003 14:20:44 +0000 (08:20 -0600)] 
* MAINTAINERS (GNATS only): Add Giovanni Bajo.

From-SVN: r66294

21 years agoextend.texi (Other Builtins): Enclose multiple word data type in braces for @deftypefn.
Andreas Schwab [Wed, 30 Apr 2003 14:17:26 +0000 (14:17 +0000)] 
extend.texi (Other Builtins): Enclose multiple word data type in braces for @deftypefn.

* doc/extend.texi (Other Builtins): Enclose multiple word data
type in braces for @deftypefn.

From-SVN: r66293

21 years ago* doc/install.texi (--enable-threads): Document "gnat" option.
Richard Kenner [Wed, 30 Apr 2003 14:08:14 +0000 (14:08 +0000)] 
* doc/install.texi (--enable-threads): Document "gnat" option.

From-SVN: r66291

21 years agodecl.c (check_previous_goto_1): Adjust prototype.
Gabriel Dos Reis [Wed, 30 Apr 2003 13:45:40 +0000 (13:45 +0000)] 
decl.c (check_previous_goto_1): Adjust prototype.

        * decl.c (check_previous_goto_1): Adjust prototype.
        (check_previous_goto): Adjust use.
        (check_switch_goto): Likewise.
        (use_label): Adjust.
        (check_previous_goto_1): Don't use pedwarn_with_file_and_line.
        (struct named_label_use_list): Use location_t datatype.

From-SVN: r66290

21 years ago2003-04-30 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 30 Apr 2003 13:22:45 +0000 (13:22 +0000)] 
2003-04-30  Michael Koch  <konqueror@gmx.de>

* java/text/BreakIterator.java
(clone): New method.

From-SVN: r66289

21 years agoCollationElementIterator.java, [...]: Merged copyright and documentation from classpa...
Michael Koch [Wed, 30 Apr 2003 13:09:40 +0000 (13:09 +0000)] 
CollationElementIterator.java, [...]: Merged copyright and documentation from classpath and rearranged some code.

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

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

From-SVN: r66288

21 years agodiagnostic.h (output_formatted_scalar): Tweak.
Gabriel Dos Reis [Wed, 30 Apr 2003 12:54:29 +0000 (12:54 +0000)] 
diagnostic.h (output_formatted_scalar): Tweak.

        * diagnostic.h (output_formatted_scalar): Tweak.
        * diagnostic.c (output_long_decimal): Likewise.
        (output_unsigned_decimal): Likewise.
        (output_long_unsigned_decimal): Likewise.
        (output_octal): Likewise.
        (output_long_octal): Likewise.
        (output_hexadecimal): Likewise.
        (output_long_hexadecimal): Likewise.
        (output_pointer): New function.
        (output_format): Use it.  Recognize "%p" format specifier.

From-SVN: r66287

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