]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years agoDaily bump.
GCC Administrator [Mon, 23 Dec 2002 08:16:44 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60426

22 years agoDaily bump.
GCC Administrator [Sun, 22 Dec 2002 08:16:54 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60400

22 years agore PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)
Eric Botcazou [Sat, 21 Dec 2002 20:31:15 +0000 (21:31 +0100)] 
re PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)

PR optimization/8599
* doloop.c (doloop_modify_runtime): Fix loop count computation
for preconditioned unrolled loops.

From-SVN: r60393

22 years agore PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)
Eric Botcazou [Sat, 21 Dec 2002 20:25:44 +0000 (21:25 +0100)] 
re PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)

PR optimization/8599
* doloop.c (doloop_modify_runtime): Revert 2002-11-22 change.
* loop.c (loop_invariant_p): Likewise.

From-SVN: r60392

22 years agoDaily bump.
GCC Administrator [Sat, 21 Dec 2002 08:16:36 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60382

22 years agoDaily bump.
GCC Administrator [Fri, 20 Dec 2002 08:16:57 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60359

22 years agore PR rtl-optimization/8988 (gcc3.2 and 3.2.1 with -O2 and -mcpu=i386 generates code...
Eric Botcazou [Thu, 19 Dec 2002 20:27:56 +0000 (21:27 +0100)] 
re PR rtl-optimization/8988 (gcc3.2 and 3.2.1 with -O2 and -mcpu=i386 generates code that segfaults)

PR optimization/8988
* loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
the biv when eliminating.

From-SVN: r60329

22 years agoDaily bump.
GCC Administrator [Thu, 19 Dec 2002 08:16:55 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60297

22 years agovector_capacity.cc (test03): Move ...
Kaveh R. Ghazi [Thu, 19 Dec 2002 01:49:44 +0000 (01:49 +0000)] 
vector_capacity.cc (test03): Move ...

* testsuite/23_containers/vector_capacity.cc (test03): Move ...
* testsuite/23_containers/vector_resize.cc: ...here as a new file.
Pass in -lmalloc for irix6.
* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.

From-SVN: r60274

22 years ago* parse.y (bad_parm): Add missing argument to error function call.
Kriang Lerdsuwanakij [Wed, 18 Dec 2002 15:03:01 +0000 (15:03 +0000)] 
* parse.y (bad_parm): Add missing argument to error function call.

From-SVN: r60250

22 years agore PR c++/8442 (rejects nested template classes)
Kriang Lerdsuwanakij [Wed, 18 Dec 2002 14:58:35 +0000 (14:58 +0000)] 
re PR c++/8442 (rejects nested template classes)

PR c++/8442
* decl2.c (handle_class_head): Verify if the looked up name is a
type or template.
* pt.c (convert_template_argument): Fix type or template template
parameter decision logic.

* g++.dg/template/type2.C: New test.
* g++.dg/template/ttp3.C: Change expected error message.

From-SVN: r60249

22 years agoDaily bump.
GCC Administrator [Wed, 18 Dec 2002 08:16:53 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60240

22 years agore PR rtl-optimization/8794 (optimization improperly eliminates certain expressions)
Jakub Jelinek [Tue, 17 Dec 2002 13:52:38 +0000 (14:52 +0100)] 
re PR rtl-optimization/8794 (optimization improperly eliminates certain expressions)

PR opt/8794
* combine.c (force_to_mode) [MINUS]: Only replace with (not Y) if all
bits in fuller_mask (not just mask) are set in C.

* gcc.c-torture/execute/20021118-3.c: New test.

From-SVN: r60210

22 years agoDaily bump.
GCC Administrator [Tue, 17 Dec 2002 08:16:41 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60201

22 years agoDaily bump.
GCC Administrator [Mon, 16 Dec 2002 08:16:38 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60168

22 years agoDaily bump.
GCC Administrator [Sun, 15 Dec 2002 08:16:37 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60150

22 years agoDaily bump.
GCC Administrator [Sat, 14 Dec 2002 08:16:35 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60121

22 years agoFix test for LP64, move to gcc.c-torture/compile (per Kaveh Ghazi)
Dale Johannesen [Sat, 14 Dec 2002 00:56:36 +0000 (00:56 +0000)] 
Fix test for LP64, move to gcc.c-torture/compile (per Kaveh Ghazi)

From-SVN: r60114

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 14 Dec 2002 00:56:36 +0000 (00:56 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60113

22 years agoparse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for anonymous structs.
Joe Buck [Sat, 14 Dec 2002 00:09:28 +0000 (00:09 +0000)] 
parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for anonymous structs.

* parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for
anonymous structs.

From-SVN: r60110

22 years agore PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)
Gabriel Dos Reis [Fri, 13 Dec 2002 21:54:46 +0000 (21:54 +0000)] 
re PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)

PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing against
erronous type.

From-SVN: r60105

22 years agoDaily bump.
GCC Administrator [Fri, 13 Dec 2002 08:16:30 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60092

22 years agopa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
John David Anglin [Thu, 12 Dec 2002 22:37:08 +0000 (22:37 +0000)] 
pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.

* pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
(MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
BIGGEST_ALIGNMENT.
(PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
(FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.

From-SVN: r60084

22 years ago* gcc.c-torture/compile/20021212-1.c: New test.
Eric Botcazou [Thu, 12 Dec 2002 11:21:41 +0000 (11:21 +0000)] 
* gcc.c-torture/compile/20021212-1.c: New test.

From-SVN: r60071

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 12 Dec 2002 11:21:41 +0000 (11:21 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60070

22 years agoLink PR opt/8334 to its fix.
Eric Botcazou [Thu, 12 Dec 2002 11:12:58 +0000 (11:12 +0000)] 
Link PR opt/8334 to its fix.

From-SVN: r60069

22 years agoDaily bump.
GCC Administrator [Thu, 12 Dec 2002 08:16:30 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60062

22 years agore PR libstdc++/8887 (locale)
Paolo Carlini [Thu, 12 Dec 2002 00:30:16 +0000 (01:30 +0100)] 
re PR libstdc++/8887 (locale)

2002-12-11  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/8887
* config/locale/generic/time_members.cc
(__timepunct<char>::_M_initialize_timepunct): Fix typos
in _M_date_format and _M_date_era_format string literals.

From-SVN: r60051

22 years agoDaily bump.
GCC Administrator [Wed, 11 Dec 2002 08:16:29 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r60026

22 years agore PR c++/8372 (ICE on explicit call of destructor)
Mark Mitchell [Tue, 10 Dec 2002 22:32:42 +0000 (22:32 +0000)] 
re PR c++/8372 (ICE on explicit call of destructor)

PR c++/8372
* pt.c (tsubst_copy): Handle destructor names more correctly.

PR c++/8372
* g++.dg/template/dtor1.C: New test.

From-SVN: r60017

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 10 Dec 2002 22:32:42 +0000 (22:32 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60016

22 years agore PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")
Janis Johnson [Tue, 10 Dec 2002 21:01:54 +0000 (21:01 +0000)] 
re PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")

2002-12-10  Janis Johnson  <janis187@us.ibm.com>

PR other/8882
* doc/tm.texi (PUSH_ARGS): Remove misplaced line.

From-SVN: r60012

22 years agomemconst.C: Use old-deja, not dg, error markers.
Mark Mitchell [Tue, 10 Dec 2002 14:46:32 +0000 (14:46 +0000)] 
memconst.C: Use old-deja, not dg, error markers.

* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.

From-SVN: r59998

22 years ago* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
Jakub Jelinek [Tue, 10 Dec 2002 11:40:26 +0000 (12:40 +0100)] 
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.

From-SVN: r59995

22 years agoDaily bump.
GCC Administrator [Tue, 10 Dec 2002 08:16:29 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59986

22 years ago* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
Gabriel Dos Reis [Tue, 10 Dec 2002 07:39:51 +0000 (07:39 +0000)] 
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.

From-SVN: r59984

22 years agore PR c++/8153 (ICE with static const member in class)
Mark Mitchell [Tue, 10 Dec 2002 07:16:06 +0000 (07:16 +0000)] 
re PR c++/8153 (ICE with static const member in class)

PR c++/8153
PR c++/8036
* NEWS: Document removal of in-class initialization extension for
static data members of non-arithmetic, non-enumeration type.
* decl.c (check_static_variable_definition): Do not allow that
extension.
* decl2.c (grokfield): Do not call digest_init when processing
templates.

PR c++/8153
PR c++/8036
* g++.dg/template/static1.C: New test.
* g++.dg/template/static2.C: New test.
* g++.old-deja/g++.ext/memconst.C: New test.

From-SVN: r59982

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 10 Dec 2002 07:16:06 +0000 (07:16 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59981

22 years agoi386.h (CPP_CPU_DEFAULT_SPEC): Fix typo wrt line continuation in p2 and p3 cases.
Richard Henderson [Tue, 10 Dec 2002 00:40:11 +0000 (16:40 -0800)] 
i386.h (CPP_CPU_DEFAULT_SPEC): Fix typo wrt line continuation in p2 and p3 cases.

        * config/i386/i386.h (CPP_CPU_DEFAULT_SPEC): Fix typo wrt line
        continuation in p2 and p3 cases.

From-SVN: r59973

22 years agoDaily bump.
GCC Administrator [Mon, 9 Dec 2002 08:16:32 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59957

22 years agoconpr-2.C: Expect failure on solaris2.
Kaveh R. Ghazi [Mon, 9 Dec 2002 00:55:41 +0000 (00:55 +0000)] 
conpr-2.C: Expect failure on solaris2.

* g++.dg/special/conpr-2.C: Expect failure on solaris2.
* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
* g++.dg/special/initp1.C: Likewise.

From-SVN: r59952

22 years ago* g++.dg/template/varmod1.C: Fix typo.
Mark Mitchell [Mon, 9 Dec 2002 00:54:17 +0000 (00:54 +0000)] 
* g++.dg/template/varmod1.C: Fix typo.

From-SVN: r59951

22 years agoDaily bump.
GCC Administrator [Sun, 8 Dec 2002 08:16:22 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59931

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 7 Dec 2002 18:47:55 +0000 (18:47 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59922

22 years agoDaily bump.
GCC Administrator [Sat, 7 Dec 2002 08:16:32 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59906

22 years agoDaily bump.
GCC Administrator [Fri, 6 Dec 2002 08:16:36 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59883

22 years agotree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
Dale Johannesen [Fri, 6 Dec 2002 00:58:46 +0000 (00:58 +0000)] 
tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.

2002-12-05  Dale Johannesen  <dalej@apple.com>

        * tree.c (unsafe_for_reeval):  Consider callee child of CALL_EXPR.

From-SVN: r59877

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 6 Dec 2002 00:58:46 +0000 (00:58 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59876

22 years ago[multiple changes]
Benjamin Kosnik [Thu, 5 Dec 2002 23:48:57 +0000 (23:48 +0000)] 
[multiple changes]

2002-12-05  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu: Put _S_force_new into GLIBCPP_3.2.2.
* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.

2002-12-05  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@integrable-solutions.net>

PR libstdc++/8230
* include/bits/stl_alloc.h: Use builtin_expect for the most
obvious limit checks.
(__default_alloc_template::allocate): Check for null, throw
bad_alloc.
* testsuite/20_util/allocator_members.cc (test02): Add.
* testsuite/23_containers/vector_capacity.cc (test03): Add.

2002-12-05  Loren J. Rittle  <ljrittle@acm.org>
    Brad Spencer  <spencer@infointeractive.com>
    (provided alternate patch and improvements)

PR libstdc++/8708
* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
new environment variable which replaces all uses of __USE_MALLOC
macro.
* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
(__mem_interface): Remove all references to old internal typedef.
* include/backward/alloc.h (__USE_MALLOC): Remove it and all
guarded code.
* include/bits/c++config (__USE_MALLOC): Update related error
message and comment.
* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
guarded code.  Update all related comments.
(__mem_interface): Unconditionally replace it with __new_alloc.
However, leave the typedef around in case anyone used it.
(__default_alloc_template<>::_S_force_new): New class static.
(__default_alloc_template<>::allocate, deallocate): Add
run-time controlled feature similar to what __USE_MALLOC code
path had provided.
* src/stl-inst.cc (__USE_MALLOC): Remove it and all
guarded code.
* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
Add documentation on GLIBCPP_FORCE_NEW environment variable.
* testsuite/ext/allocators.cc: Likewise.

From-SVN: r59873

22 years ago* error.c (dump_expr): Fix format specifier warning.
Kaveh R. Ghazi [Thu, 5 Dec 2002 22:24:53 +0000 (22:24 +0000)] 
* error.c (dump_expr): Fix format specifier warning.

From-SVN: r59868

22 years agocygwin.h (SUBTARGET_PROLOGUE): Replace with PROFILE_HOOK.
Danny Smith [Thu, 5 Dec 2002 20:30:32 +0000 (20:30 +0000)] 
cygwin.h (SUBTARGET_PROLOGUE): Replace with PROFILE_HOOK.

* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
PROFILE_HOOK.
* config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.

From-SVN: r59866

22 years ago(GO_IF_LEGITIMATE_ADDRESS): Check for frame pointer and arg pointer by examining...
Nick Clifton [Thu, 5 Dec 2002 18:34:11 +0000 (18:34 +0000)] 
(GO_IF_LEGITIMATE_ADDRESS): Check for frame pointer and arg pointer by examining the register number.

(GO_IF_LEGITIMATE_ADDRESS): Check for frame pointer and arg pointer by
examining the register number.  (GNATS case 6172).

From-SVN: r59863

22 years agore PR libstdc++/8790 (Use of non thread-safe strtok in src/localename.cc)
Paolo Carlini [Thu, 5 Dec 2002 13:04:43 +0000 (14:04 +0100)] 
re PR libstdc++/8790 (Use of non thread-safe strtok in src/localename.cc)

2002-12-05  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>

PR libstdc++/8790
* src/localename.cc
(locale::_Impl::_Impl(const char*, size_t)):
Avoid strtok for thread safety.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r59856

22 years agoDaily bump.
GCC Administrator [Thu, 5 Dec 2002 08:16:26 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59850

22 years ago* doc/invoke.texi: Remove last reference to -a.
Matthias Klose [Wed, 4 Dec 2002 23:24:21 +0000 (23:24 +0000)] 
* doc/invoke.texi: Remove last reference to -a.

From-SVN: r59835

22 years agore PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded...
Loren J. Rittle [Wed, 4 Dec 2002 22:24:05 +0000 (22:24 +0000)] 
re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)

PR libstdc++/7445
* src/locale.cc (std::locale::classic()): Weaken locking protocol.

From-SVN: r59834

22 years ago* gcc.c-torture/compile/20021204-1.c: New test.
Eric Botcazou [Wed, 4 Dec 2002 20:31:43 +0000 (20:31 +0000)] 
* gcc.c-torture/compile/20021204-1.c: New test.

From-SVN: r59831

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 4 Dec 2002 20:31:43 +0000 (20:31 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59830

22 years agore PR c/7622 (tree inliner fallout (regression relative to 2.95))
Eric Botcazou [Wed, 4 Dec 2002 20:28:33 +0000 (21:28 +0100)] 
re PR c/7622 (tree inliner fallout (regression relative to 2.95))

PR c/7622
* c-semantics (genrtl_scope_stmt): Do not output inlined
nested functions that contain no code.

From-SVN: r59829

22 years agofold-const.c (associate_trees): Only optimize NEGATE_EXPR in one of the operands...
Jakub Jelinek [Wed, 4 Dec 2002 19:28:27 +0000 (20:28 +0100)] 
fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one of the operands into MINUS_EXPR if...

* fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
of the operands into MINUS_EXPR if code is PLUS_EXPR.

* gcc.c-torture/execute/20020805-1.c: New test.

From-SVN: r59824

22 years agore PR c++/8799 (ICE: Error reporting routines re-entered.)
Gabriel Dos Reis [Wed, 4 Dec 2002 11:37:03 +0000 (11:37 +0000)] 
re PR c++/8799 (ICE: Error reporting routines re-entered.)

        PR C++/8799
        * error.c (dump_expr): Don't ever try to dump a non-existent
        expression.

From-SVN: r59815

22 years agoDaily bump.
GCC Administrator [Wed, 4 Dec 2002 08:16:32 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59803

22 years agostreambuf.tcc (basic_streambuf::sputbackc): Prefix "this->" to call to pbackfail.
Phil Edwards [Tue, 3 Dec 2002 16:13:03 +0000 (16:13 +0000)] 
streambuf.tcc (basic_streambuf::sputbackc): Prefix "this->" to call to pbackfail.

2002-12-03  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
"this->" to call to pbackfail.

From-SVN: r59774

22 years agoDaily bump.
GCC Administrator [Tue, 3 Dec 2002 08:16:24 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59762

22 years agore PR c++/8615 (ICE in tree_low_cst, at tree.c:3484)
Mark Mitchell [Tue, 3 Dec 2002 06:53:11 +0000 (06:53 +0000)] 
re PR c++/8615 (ICE in tree_low_cst, at tree.c:3484)

PR c++/8615
* error.c (dump_expr): Handle character constants with
TREE_OVERFLOW set.

PR c++/8615
* g++.dg/template/char1.C: New test.

From-SVN: r59760

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 3 Dec 2002 06:53:11 +0000 (06:53 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59759

22 years agorevert: [multiple changes]
Paolo Carlini [Mon, 2 Dec 2002 22:05:21 +0000 (22:05 +0000)] 
revert: [multiple changes]

2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
            Jonathan Lennox  <lennox@cs.columbia.edu>

* include/bits/streambuf.tcc (__copy_streambufs):
Revert previous fix for the interactive half of
libstdc++/6745, use _M_buf_size_opt to set dynamically
the correct buffer size.

2002-12-02  Jonathan Lennox  <lennox@cs.columbia.edu>

* include/bits/streambuf.tcc (__copy_streambufs): verify
__sbin->gptr() + __bufsize < __sbin->egptr() before using.
* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
(test05): Use test_buffer_4. Delete unused ostringstream
variables.

2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6745 (continued)
* include/bits/streambuf.tcc (__copy_streambufs):
Deal with interactive input by using isatty as in the
fix for libstdc++/8399.

2002-12-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.

2002-12-02  Paolo Carlini  <pcarlini@unitus.it>
            Loren J. Rittle <ljrittle@acm.org>

PR libstdc++/8399
* acinclude.m4
(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
check for unistd.h functions.
(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
in unistd.h.
* configure.in: Call here.
* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
input __in_size = 1 even when sync_with_stdio is false;
otherwise fall back to __in_size = 1.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.

From-SVN: r59744

22 years agoxtensa.c (xtensa_emit_call): Use a static buffer.
Bob Wilson [Mon, 2 Dec 2002 21:30:12 +0000 (21:30 +0000)] 
xtensa.c (xtensa_emit_call): Use a static buffer.

        * config/xtensa/xtensa.c (xtensa_emit_call): Use a static buffer.
        * config/xtensa/xtensa.h (MAX_WCHAR_TYPE_SIZE): Delete.

From-SVN: r59742

22 years agoacconfig.h (HAVE_DRAND48): Add.
Benjamin Kosnik [Mon, 2 Dec 2002 21:20:07 +0000 (21:20 +0000)] 
acconfig.h (HAVE_DRAND48): Add.

2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

* acconfig.h (HAVE_DRAND48): Add.
(HAVE_GETPAGESIZE): Add.
(HAVE_SETENV): Add.
(HAVE_SIGSETJMP): Add.
* config.h.in: Regenerate.
* configure: Regenerate.

From-SVN: r59739

22 years agore PR libstdc++/8230 (Buggy allocator behaviour)
Benjamin Kosnik [Mon, 2 Dec 2002 20:01:54 +0000 (20:01 +0000)] 
re PR libstdc++/8230 (Buggy allocator behaviour)

2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/8230
        * include/bits/stl_vector.h (vector::reserve): Throw length_error if
        requested size is bigger than max_size().
        * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
        * testsuite/23_containers/vector_capacity.cc (test02): Add.

From-SVN: r59734

22 years agoconfigure.in (libtool_VERSION): Update to 5:2:0.
Benjamin Kosnik [Mon, 2 Dec 2002 18:03:38 +0000 (18:03 +0000)] 
configure.in (libtool_VERSION): Update to 5:2:0.

2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (libtool_VERSION): Update to 5:2:0.
* configure: Regenerate.

From-SVN: r59721

22 years agoDaily bump.
GCC Administrator [Mon, 2 Dec 2002 08:16:29 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59708

22 years agore PR c++/5919 (ICE when passing variable array to template function)
Mark Mitchell [Sun, 1 Dec 2002 20:52:55 +0000 (20:52 +0000)] 
re PR c++/5919 (ICE when passing variable array to template function)

PR c++/5919
* g++.dg/template/varmod1.C: New test.

PR c++/5919
* pt.c (unify): Use variably_modified_type_p to test validity of
template argument types.

From-SVN: r59700

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 1 Dec 2002 20:52:55 +0000 (20:52 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59699

22 years agore PR c++/8727 (compiler confused by inheritance from an anonymous struct)
Mark Mitchell [Sun, 1 Dec 2002 20:40:38 +0000 (20:40 +0000)] 
re PR c++/8727 (compiler confused by inheritance from an anonymous struct)

PR c++/8727
* g++.dg/inherit/typeinfo1.C: New test.

PR c++/8663
* g++.dg/inherit/typedef1.C: New test.

PR c++/8727
* cp-tree.h (lang_type_class): Add typeinfo_var.
(CLASSTYPE_TYPEINFO_VAR): New macro.
* rtti.c (get_tinfo_decl): Use it.

PR c++/8663
* init.c (expand_member_init): Always get the main variant of a
base class.

From-SVN: r59697

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 1 Dec 2002 20:40:38 +0000 (20:40 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59696

22 years agore PR c++/8332 (strlen/template interaction causes ICE)
Mark Mitchell [Sun, 1 Dec 2002 18:19:14 +0000 (18:19 +0000)] 
re PR c++/8332 (strlen/template interaction causes ICE)

PR c++/8332
PR c++/8493
* decl.c (cxx_init_decl_processing): Use size_type_node, not
c_size_type_node.
* decl2.c (coerce_new_type): Likewise.
* except.c (do_allocate_exception): Likewise.
* typeck.c (c_sizeof): Likewise.
(c_sizeof_nowarn): Likewise.

* builtin-types.def (BT_SIZE): Use size_type_node.
* builtins.c (fold_builtin): Make the builtin strlen returns a
size_t, not a sizetype.
* c-common.c (c_alignof): Use size_type_node, not c_size_type_node.
(c_alignof_expr): Likewise.
(c_common_nodes_and_builtins): Likewise.
* c-common.h (CTI_C_SIZE_TYPE): Remove.
(c_size_type_node): Likewise.
* c-format.c (T_ST): Use size_type_node, not c_size_type_node.
* tree.h (TI_SIZE_TYPE): New enumeral.
(size_type_node): Likewise.

PR c++/8332
PR c++/8493
* g++.dg/template/strlen1.C: New test.

From-SVN: r59692

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 1 Dec 2002 18:19:14 +0000 (18:19 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59691

22 years agoDaily bump.
GCC Administrator [Sun, 1 Dec 2002 08:16:25 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59675

22 years agore PR c++/8214 (character conversion problem)
Mark Mitchell [Sun, 1 Dec 2002 03:58:53 +0000 (03:58 +0000)] 
re PR c++/8214 (character conversion problem)

PR c++/8214
* g++.dg/init/string1.C: New test.

PR c++/8214
* typeck.c (convert_for_assignment): Do not use
decl_constant_value on the operand.

From-SVN: r59671

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 1 Dec 2002 03:58:53 +0000 (03:58 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59670

22 years agoDaily bump.
GCC Administrator [Sat, 30 Nov 2002 08:16:25 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59653

22 years agoDaily bump.
GCC Administrator [Fri, 29 Nov 2002 08:16:32 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59627

22 years agoDaily bump.
GCC Administrator [Thu, 28 Nov 2002 08:16:29 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59599

22 years agoDaily bump.
GCC Administrator [Wed, 27 Nov 2002 08:16:53 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59563

22 years agore PR preprocessor/8524 (_Pragma within macros is improperly expanded)
Neil Booth [Tue, 26 Nov 2002 20:40:46 +0000 (20:40 +0000)] 
re PR preprocessor/8524 (_Pragma within macros is improperly expanded)

PR preprocessor/8524
* cpplib.c (run_directive): Remove previous kludge to _Pragma.
Add a new one in its place, which hopefully works.
(skip_rest_of_line): Change test for bottom-of-context-stack.
testsuite:
* gcc.dg/cpp/_Pragma5.c: New test.

From-SVN: r59534

22 years ago- Fix typo
David Edelsohn [Tue, 26 Nov 2002 16:18:48 +0000 (11:18 -0500)] 
- Fix typo

From-SVN: r59524

22 years ago* testsuite/abi_check.cc: Remove guards kludge.
David Edelsohn [Tue, 26 Nov 2002 16:02:52 +0000 (16:02 +0000)] 
* testsuite/abi_check.cc: Remove guards kludge.

From-SVN: r59521

22 years agore PR middle-end/8362 (hard reg not substituted for all pseudos on PowerPC)
David Edelsohn [Tue, 26 Nov 2002 15:59:58 +0000 (15:59 +0000)] 
re PR middle-end/8362 (hard reg not substituted for all pseudos on PowerPC)

        * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
        (rs6000_override_options): Save original flag_pic value.
        (rs6000_encode_section_info): More accurate test for "local" symbol.

        PR 8362
        * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
        * config/rs6000/rs6000.md (ldmsi[3-8]): New patterns.

From-SVN: r59520

22 years agoDaily bump.
GCC Administrator [Tue, 26 Nov 2002 08:16:40 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59501

22 years agore PR c/8639 (simple integer arithmetic expression broken)
Christian Ehrhardt [Mon, 25 Nov 2002 22:41:58 +0000 (22:41 +0000)] 
re PR c/8639 (simple integer arithmetic expression broken)

        PR c/8639
        * fold-const.c (extract_muldiv): Don't propagate division unless
        both arguments are multiples of C.

From-SVN: r59471

22 years agoDaily bump.
GCC Administrator [Mon, 25 Nov 2002 08:16:27 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59450

22 years agore PR rtl-optimization/8275 (ICE in simplify_subreg, at simplify-rtx.c:2452)
Eric Botcazou [Sun, 24 Nov 2002 22:14:19 +0000 (22:14 +0000)] 
re PR rtl-optimization/8275 (ICE in simplify_subreg, at simplify-rtx.c:2452)

PR optimization/8275

Merge from mainline:
2002-09-19 �Dale Johannesen <dalej@apple.com>

* combine.c (make_extraction): Don't create
invalid subreg.

From-SVN: r59440

22 years ago* gcc.c-torture/compile/20021124-1.c: New test.
Eric Botcazou [Sun, 24 Nov 2002 22:09:59 +0000 (22:09 +0000)] 
* gcc.c-torture/compile/20021124-1.c: New test.

From-SVN: r59439

22 years agoloop-2e.x: Let the testcase XFAIL for all x86 processors.
Eric Botcazou [Sun, 24 Nov 2002 22:06:04 +0000 (22:06 +0000)] 
loop-2e.x: Let the testcase XFAIL for all x86 processors.

* gcc.c-torture/execute/loop-2e.x: Let the testcase
XFAIL for all x86 processors.
* gcc.c-torture/execute/loop-3c.x: Likewise.

From-SVN: r59438

22 years agoDaily bump.
GCC Administrator [Sun, 24 Nov 2002 08:16:55 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r59424

22 years ago[multiple changes]
Marek Michalkiewicz [Sat, 23 Nov 2002 22:16:53 +0000 (23:16 +0100)] 
[multiple changes]

2002-11-23  Marek Michalkiewicz  <marekm@amelek.gda.pl>

2002-09-26  Theodore A. Roth  <troth@verinet.com>
* config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
* config/avr/avr.md: Ditto.

From-SVN: r59418

22 years ago* gcc.c-torture/compile/20021123-4.c: New test.
Eric Botcazou [Sat, 23 Nov 2002 08:38:27 +0000 (08:38 +0000)] 
* gcc.c-torture/compile/20021123-4.c: New test.

From-SVN: r59415

22 years agore PR c/8588 (ICE in extract_insn, at recog.c:2148)
Eric Botcazou [Sat, 23 Nov 2002 08:36:25 +0000 (09:36 +0100)] 
re PR c/8588 (ICE in extract_insn, at recog.c:2148)

PR c/8588
* optabs.c (expand_binop): Convert CONST_INTs in shift
operations too.

From-SVN: r59413

22 years ago20021123-2.c: New test.
Eric Botcazou [Sat, 23 Nov 2002 08:22:13 +0000 (08:22 +0000)] 
20021123-2.c: New test.

* gcc.c-torture/compile/20021123-2.c: New test.
* gcc.c-torture/compile/20021123-3.c: New test.

From-SVN: r59412