]>
git.ipfire.org Git - thirdparty/gcc.git/log
Mark Mitchell [Wed, 14 Aug 2002 08:35:06 +0000 (08:35 +0000)]
* gennews (files): Add GCC 3.2 files.
From-SVN: r56286
GCC Administrator [Wed, 14 Aug 2002 07:16:24 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56277
GCC Administrator [Tue, 13 Aug 2002 07:16:57 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56243
GCC Administrator [Mon, 12 Aug 2002 07:16:26 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56225
GCC Administrator [Sun, 11 Aug 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56192
GCC Administrator [Sat, 10 Aug 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56176
GCC Administrator [Fri, 9 Aug 2002 07:16:32 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56157
Jakub Jelinek [Thu, 8 Aug 2002 17:52:40 +0000 (19:52 +0200)]
rs6000.h, [...]: Revert last two patches.
* config/rs6000/rs6000.h, config/rs6000/aix.h,
config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
two patches.
* config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
From-SVN: r56134
Jakub Jelinek [Thu, 8 Aug 2002 14:51:47 +0000 (16:51 +0200)]
rs6000-protos.h (rs6000_field_alignment): Remove.
* config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
* config/rs6000/rs6000.c (rs6000_field_alignment): Move...
* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
macro.
From-SVN: r56130
GCC Administrator [Thu, 8 Aug 2002 07:16:31 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56121
Jakub Jelinek [Wed, 7 Aug 2002 23:16:44 +0000 (01:16 +0200)]
stor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN...
* stor-layout.c (place_union_field): For bitfields if
PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
TYPE_USER_ALIGN.
* gcc.dg/bitfld-3.c: New test.
From-SVN: r56111
Jakub Jelinek [Wed, 7 Aug 2002 18:11:00 +0000 (20:11 +0200)]
stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to type_align when PCC_BITFIELD_TYPE_MATTERS.
* stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(place_field): Likewise.
* config/i386/i386.c (x86_field_alignment): Don't check
TARGET_ALIGN_DOUBLE for the second time.
Apply min for all MODE_INT and MODE_CLASS_INT modes.
* config/rs6000/rs6000.c (rs6000_field_alignment): New.
* config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
prototype.
* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
* doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
* gcc.dg/i386-bitfield1.c: New test.
* g++.dg/abi/bitfield3.C: New test.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r56104
No Author [Wed, 7 Aug 2002 18:11:00 +0000 (18:11 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r56103
GCC Administrator [Wed, 7 Aug 2002 07:16:28 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56094
Benjamin Kosnik [Wed, 7 Aug 2002 05:13:08 +0000 (05:13 +0000)]
Revert PR libstdc++/6594
2002-08-06 Benjamin Kosnik <bkoz@redhat.com>
Revert PR libstdc++/6594
* src/strstream.cc (strstreambuf): Revert.
(strstreambuf::overflow): Same.
(strstreambuf::~strstreambuf): Same.
* testsuite/backward/strstream_members.cc (test02): Add.
* testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
From-SVN: r56091
Jakub Jelinek [Tue, 6 Aug 2002 18:30:43 +0000 (20:30 +0200)]
* config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
From-SVN: r56074
Jakub Jelinek [Tue, 6 Aug 2002 15:20:55 +0000 (17:20 +0200)]
config.gcc (*-*-linux*): Default to --enable-threads=posix if no --{enable,disable}-threads is given to...
* config.gcc (*-*-linux*): Default to --enable-threads=posix if no
--{enable,disable}-threads is given to configure.
(alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
Remove thread_file setting here.
From-SVN: r56070
GCC Administrator [Tue, 6 Aug 2002 07:16:29 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56061
GCC Administrator [Tue, 6 Aug 2002 07:16:24 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r56060.2
GCC Administrator [Mon, 5 Aug 2002 07:16:24 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56042
GCC Administrator [Mon, 5 Aug 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r56041.2
Mark Mitchell [Mon, 5 Aug 2002 03:40:02 +0000 (03:40 +0000)]
install.texi (Installing GCC): Refer to buildstat.html, rather than listing version-specific build status files.
* doc/install.texi (Installing GCC): Refer to buildstat.html,
rather than listing version-specific build status files.
From-SVN: r56037
Toon Moene [Sun, 4 Aug 2002 21:28:02 +0000 (23:28 +0200)]
news.texi: Mention nothing changed for 3.2.
2002-08-04 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Mention nothing changed for 3.2.
From-SVN: r56034
Joseph Myers [Sun, 4 Aug 2002 16:55:55 +0000 (17:55 +0100)]
gcc-common.texi (version-GCC): Increase to 3.2.
* doc/include/gcc-common.texi (version-GCC): Increase to 3.2.
java:
* gcj.texi (version-gcc): Increase to 3.2.
f:
* root.texi (version-gcc): Increase to 3.2.
From-SVN: r56027
Nathan Sidwell [Sun, 4 Aug 2002 13:09:31 +0000 (13:09 +0000)]
re PR c++/7470 (Vtable: virtual function pointers not in declaration order)
PR 7470.
C++ ABI change - vfunc ordering.
* class.c (add_virtual_function): Remove.
(dfs_modify_all_vtables): Take list of all declared
virtuals. Assign all that are not in primary base.
(check_for_override): Adjust comments.
(create_vtable_ptr): Take single list of virtuals. Build chain
of declared virtuals here.
(layout_class_type): Take single list of virtuals. Adjust.
(finish_struct_1): Keep virtuals on single list. Adjust.
From-SVN: r56020
GCC Administrator [Sun, 4 Aug 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56015
GCC Administrator [Sun, 4 Aug 2002 07:16:19 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r56014.2
GCC Administrator [Sat, 3 Aug 2002 07:16:22 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r56003
GCC Administrator [Sat, 3 Aug 2002 07:16:20 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r56002.2
GCC Administrator [Fri, 2 Aug 2002 07:16:26 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55974
GCC Administrator [Fri, 2 Aug 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r55973.2
Benjamin Kosnik [Thu, 1 Aug 2002 21:56:28 +0000 (21:56 +0000)]
ptrflags.C (expect): Change __qualifier_flags to __flags.
2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
* g++.old-deja/g++.abi/ptrflags.C (expect): Change
__qualifier_flags to __flags.
From-SVN: r55952
Jakub Jelinek [Thu, 1 Aug 2002 21:29:18 +0000 (23:29 +0200)]
[multiple changes]
2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
* g++.old-deja/g++.abi/ptrflags.C (expect): Change
__qualifier_flags to __flags.
2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
GLIBCPP_3.1 to GLIBCPP_3.2.
2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
Mark Mitchell <mark@codesourcery.com>
PR libstdc++/7442
* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
Change to __hwm_bit.
(__class_type_info): And here.
2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7442
* libsupc++/cxxabi.h
(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
(__base_class_info::__base): Change to __base_type. 2.9.5p6c
(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
(__vmi_class_type_info::__base_info): Don't make const, of type
__base_class_type_info, as per 2.9.5p6c
(__pbase_type_info::__qualifier_flags): Change to __flags, as per
2.9.5p7.
(__pbase_type_info::__qualifier_masks): Change to __masks, as per
2.9.5p7.
(__pointer_to_member_type_info::__context_class): Change member to
__context, as per 2.9.5p9.
* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
__context.
* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
__flags.
* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
__base_type.
* libsupc++/tinfo.cc (__do_dyncast): Same.
* libsupc++/tinfo.cc (__do_upcast): Same.
2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
* docs/html/22_locale/howto.html: Fix.
2002-07-31 Alex Kompel <shurik@sequoiap.com>
PR libstdc++/7445
* src/locale.cc (locale::classic): Move locks inside !_S_classic
block.
2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
Gabriel Dos Reis <gdr@nerim.net>
* include/bits/char_traits.h: Remove generic definitions.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
eof, not -2.
* include/bits/istream.tcc (istream::readsome): Don't check
against eof, instead use constants.
(istream::sync): Same.
(istream::sentry::sentry): Use eq_int_type.
(istream::get): Same.
* include/bits/ostream.tcc: Change __pad to
__pad<_CharT, _Traits>::_S_pad.
* include/bits/locale_facets.h: Add __pad_traits generic and
ostreambuf_iterator specialization.
* include/bits/locale_facets.tcc: Change __pad into struct __pad
with a _CharT and _Traits template parameter and _S_pad static
member function.
* src/locale-inst.cc: Update __pad instantiations.
* include/std/std_fstream.h: Declare _M_underflow_common
specializations.
* src/fstream.cc: New. Add _M_underflow_common specializations.
* include/bits/fstream.tcc (filebuf::close): Use traits_type.
(filebuf::_M_underflow_common(bool)): Remove generic version, as
sys_ungetc and custom int_types don't get along.
* include/std/std_streambuf.h: Add _M_pos.
* src/Makefile.am (sources): Add fstream.cc.
* src/Makefile.in: Regenerate.
* testsuite/21_strings/capacity.cc: Add char_traits specializations.
* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
* testsuite/27_io/filebuf.cc: ...here.
* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
specialization for both.
* testsuite/27_io/streambuf.cc: Add instantiation test,
testsuite_hooks include.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
From-SVN: r55951
No Author [Thu, 1 Aug 2002 21:29:18 +0000 (21:29 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r55950
Benjamin Kosnik [Thu, 1 Aug 2002 20:14:57 +0000 (20:14 +0000)]
gcc.c: Set __GXX_ABI_VERSION to 102.
2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
* gcc.c: Set __GXX_ABI_VERSION to 102.
From-SVN: r55945
GCC Administrator [Thu, 1 Aug 2002 07:16:24 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55927
GCC Administrator [Thu, 1 Aug 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r55926.2
GCC Administrator [Wed, 31 Jul 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55896
GCC Administrator [Wed, 31 Jul 2002 07:16:19 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r55895.2
Franz Sirl [Tue, 30 Jul 2002 20:42:14 +0000 (20:42 +0000)]
gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
gcc/
* gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
gcc/cp/
* lang-specs.h: Remove __GXX_ABI_VERSION, moved to gcc.c.
From-SVN: r55881
GCC Administrator [Tue, 30 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55866
GCC Administrator [Tue, 30 Jul 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r55865.2
GCC Administrator [Mon, 29 Jul 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55827
Mark Mitchell [Sun, 28 Jul 2002 16:50:06 +0000 (16:50 +0000)]
Correct version numbers
From-SVN: r55819
GCC Administrator [Sun, 28 Jul 2002 07:16:20 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55809
GCC Administrator [Sat, 27 Jul 2002 07:16:19 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r55792.2
Jakub Jelinek [Fri, 26 Jul 2002 23:23:45 +0000 (01:23 +0200)]
re PR rtl-optimization/7291 (off-by-one in generated inline bzero code for i386 (64bit))
gcc/ChangeLog
2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
PR optimization/7291
* config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
problem on x86_64.
2002-05-16 Jason Merrill <jason@redhat.com>
* config/mips/mips.c (mips_output_external): Don't do sdata
optimization for a variable with DECL_COMDAT set.
2002-01-03 Jakub Jelinek <jakub@redhat.com>
* c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
* c-decl.c (build_compound_literal): Defer compound literal decls
until until file end to emit them only if they are actually used.
gcc/cp/ChangeLog
2002-07-17 Scott Snyder <snyder@fnal.gov>
PR c++/7320
* rtti.c (get_tinfo_decl): Set DECL_COMDAT.
2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
Repair damage on weak-impared targets caused by my previous patch.
* cp-tree.h (import_export_tinfo): Add parameter.
* decl2.c (import_export_tinfo): Add parameter, post adjust
DECL_COMDAT.
* rtti.c (emit_tinfo_decl): DECL_COMDAT is (nearly) always setup by
import_export_tinfo.
2002-06-30 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...
(CPTI_TYPE_INFO_PTR_TYPE): ... this.
(tinfo_decl_type): Replace with ...
(type_info_ptr_type): ... this.
(import_export_tinfo): Declare.
(tinfo_decl_p): Rename to ...
(unemitted_tinfo_decl_p): ... this.
* decl2.c (import_export_decl): Break out tinfo handling into ...
(import_export_tinfo): ... here. New function.
(finish_file): Adjust.
* rtti.c (TINFO_REAL_NAME): New macro.
(init_rtti_processing): Create the tinfo types.
(get_tinfo_decl_dynamic): Use type_info_ptr_type, get_tinfo_ptr.
(get_tinfo_decl): Adjust.
(get_tinfo_ptr): New function.
(get_type_id): Use it.
(tinfo_base_init): Create vtable decl here, if it doesn't exist.
(ptr_initializer): Use get_tinfo_ptr.
(ptm_initializer): Likewise.
(synthesize_tinfo_var): Break into ...
(get_pseudo_ti_init): ... this. Just create the initializer.
(get_pseudo_ti_desc): .. and this.
(create_real_tinfo_var): Remove.
(create_pseudo_type_info): Don't create the vtable decl here.
(get_vmi_pseudo_type_info): Remove.
(create_tinfo_types): Adjust.
(tinfo_decl_p): Rename to ...
(unemitted_tinfo_decl_p): ... here. Adjust.
(emit_tinfo_decl): Adjust. Create the initializer.
2002-06-14 Jason Merrill <jason@redhat.com>
C++ ABI changes.
* class.c (build_base_field): Set DECL_PACKED.
(layout_class_type): Don't use tail padding of PODs.
* mangle.c (write_unqualified_name): Fix template conversion op
mangling.
2002-05-18 Jason Merrill <jason@redhat.com>
PR c++/6611
* decl2.c (import_export_decl): If we clear
DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.
2002-05-14 Jason Merrill <jason@redhat.com>
* rtti.c (get_tinfo_decl): Don't call comdat_linkage.
Do set DECL_COMDAT.
(synthesize_tinfo_var): Take the public decl.
(create_real_tinfo_var): Likewise. Check DECL_COMDAT.
(emit_tinfo_decl): Adjust. Call import_export_decl.
* decl2.c (import_export_decl): Simplify tinfo decl handling.
gcc/testsuite/ChangeLog
2002-07-24 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/memset-3.c: New testcase.
2002-06-14 Jason Merrill <jason@redhat.com>
* g++.dg/abi/layout1.C: New test.
* g++.dg/abi/layout2.C: New test.
* g++.dg/abi/mangle8.C: New test.
2002-05-14 Jason Merrill <jason@redhat.com>
* g++.dg/abi/rtti1.C: New test.
2002-01-03 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gnu89-init-2.c: New test.
libstdc++-v3/ChangeLog
2002-07-26 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/new (placement delete): Remove unused paramater names.
2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7216
* include/std/std_istream.h (basic_iostream): Add typedefs for
char_type, int_type, pos_type, off_type, and traits_type.
* testsuite/27_io/iostream.cc (test01): Add typedef tests.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Replace content, move to...
* testsuite/27_io/stringbuf_members.cc: ...here.
* testsuite/27_io/streambuf.cc: Replace content, move to...
* testsuite/27_io/streambuf_members.cc: ...here.
* testsuite/27_io/stringstream.cc: Replace content, move to...
* testsuite/27_io/stringstream_members.cc: ...here.
* testsuite/27_io/ios.cc: New file.
* testsuite/27_io/fstream.cc: New file.
* testsuite/27_io/ifstream.cc: New file.
* testsuite/27_io/ofstream.cc: New file.
* testsuite/27_io/istringstream.cc: New file.
* testsuite/27_io/ostringstream.cc: New file.
2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7220
* include/bits/istream.tcc (istream::ignore): Don't extract on
zero.
* testsuite/27_io/istream_unformatted.cc (test10): Add.
2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7222
* src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
* testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7286
* libsupc++/new: Add placement delete.
* testsuite/18_support/new_delete_placement.cc: New.
2002-07-07 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/7186
* include/bits/stl_deque.h (_Deque_iterator::operator-):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/23_containers/deque_operators.cc: Add test02.
2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
Jack Reeves <jackw_reeves@hotmail.com>
* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
size_t, from int_type.
(basic_streambuf::_M_buf_size_opt): Same.
(basic_streambuf::_S_pback_sizex): Same.
* include/bits/streambuf.tcc: Same.
* include/std/std_streambuf.h (basic_streambuf::snextc): Use
eq_int_type.
(basic_streambuf::uflow): Same.
* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
to_char_type.
* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
eq_int_type.
(basic_streambuf::xsputn): Same.
(__copy_streambufs): Same.
2002-07-02 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6642
* include/bits/stl_iterator.h
(__normal_iterator::operator-(const __normal_iterator&)):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/24_iterators/iterator.cc: Add test from the PR.
2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6410
* include/bits/locale_facets.h (moneypunct::moneypunct): Add const
char* name parameter.
* config/locale/gnu/monetary_members.cc: Use it.
* config/locale/generic/monetary_members.cc: Same.
* src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): Bump to 5:0:0.
* configure: Regenerate.
2002-05-19 Paolo Carlini <pcarlini@unitus.it>
* testsuite/23_containers/deque_operators.cc (test01):
Fix minor typo in last commit.
2002-05-18 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6503
* include/bits/stl_deque.h (_Deque_iterator::operator==,
operator!=, operator<, operator>, operator>=, operator<=):
Make non-member functions, to allow comparing const and
non-const iterators in any order.
* testsuite/23_containers/deque_operators.cc: New testfile.
From-SVN: r55786
No Author [Fri, 26 Jul 2002 23:23:45 +0000 (23:23 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r55785
Mark Mitchell [Fri, 26 Jul 2002 22:20:04 +0000 (22:20 +0000)]
Update version strings
From-SVN: r55783
GCC Administrator [Fri, 26 Jul 2002 07:16:37 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r55772.2
Mark Mitchell [Thu, 25 Jul 2002 23:40:41 +0000 (23:40 +0000)]
Update version
From-SVN: r55765
Mark Mitchell [Thu, 25 Jul 2002 23:40:29 +0000 (23:40 +0000)]
Mark ChangeLog
From-SVN: r55764
Gerald Pfeifer [Thu, 25 Jul 2002 14:36:02 +0000 (16:36 +0200)]
gennews (files): Add proper files for the GCC 3.1 release series.
* gennews (files): Add proper files for the GCC 3.1 release series.
Simplify and reformat introductory wording.
From-SVN: r55751
GCC Administrator [Thu, 25 Jul 2002 07:16:28 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55739
GCC Administrator [Wed, 24 Jul 2002 07:16:29 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55697
GCC Administrator [Tue, 23 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55670
GCC Administrator [Mon, 22 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55639
Nick Clifton [Sun, 21 Jul 2002 12:09:03 +0000 (12:09 +0000)]
Import following patch from mainline:
2002-03-18 Bernd Schmidt <bernds@redhat.com>
* config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart
instead of gen_rtx_SUBREG.
(arm_reload_out_hi): Use gen_lowpart instead of
gen_rtx_SUBREG to access QImode components.
* config/arm/arm.md: Disable zero_extend split for QImode
subregs in BIG_ENDIAN mode.
(storehi_bigend): Match use of least significant byte.
(storeinthi): Remove extraneous SUBREG.
Add missing construction of operands[2].
(movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
(movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
From-SVN: r55623
GCC Administrator [Sun, 21 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55619
GCC Administrator [Sat, 20 Jul 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55605
Phil Edwards [Sat, 20 Jul 2002 06:34:51 +0000 (06:34 +0000)]
Bulk documentation merge (copy) from trunk.
2002-07-20 Phil Edwards <pme@gcc.gnu.org>
Bulk documentation merge (copy) from trunk.
* docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html,
docs/doxygen/user.cfg.in, docs/html/Makefile,
docs/html/documentation.html, docs/html/17_intro/porting.html,
docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html,
docs/html/ext/howto.html, docs/html/ext/lwg-active.html,
docs/html/ext/lwg-defects.html, docs/html/faq/index.html,
docs/html/faq/index.txt: Merge from trunk.
From-SVN: r55603
GCC Administrator [Fri, 19 Jul 2002 07:16:28 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55580
Richard Henderson [Thu, 18 Jul 2002 17:45:54 +0000 (10:45 -0700)]
ifcvt.c (noce_get_condition): Make certain that the condition is valid at JUMP.
* ifcvt.c (noce_get_condition): Make certain that the condition
is valid at JUMP.
From-SVN: r55559
GCC Administrator [Thu, 18 Jul 2002 07:17:25 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55549
GCC Administrator [Wed, 17 Jul 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55510
Hans-Peter Nilsson [Wed, 17 Jul 2002 01:43:12 +0000 (01:43 +0000)]
linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't --gc-sections if -r.
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
--gc-sections if -r.
From-SVN: r55506
Andreas Schwab [Tue, 16 Jul 2002 20:26:29 +0000 (20:26 +0000)]
new (set_new_handler): Declare to not throw any exceptions.
* libsupc++/new (set_new_handler): Declare to not throw any
exceptions.
* libsupc++/new_handler.cc (set_new_handler): Likewise.
From-SVN: r55494
GCC Administrator [Tue, 16 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55476
Eric Botcazou [Tue, 16 Jul 2002 05:43:37 +0000 (05:43 +0000)]
re PR middle-end/7153 (bad operands for 'movsbl' error)
PR optimization/7153
* regmove.c (optimize_reg_copy_3): Don't optimize if the register
dies in more than one insn.
From-SVN: r55473
Jason Thorpe [Tue, 16 Jul 2002 00:36:52 +0000 (00:36 +0000)]
* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
From-SVN: r55471
No Author [Mon, 15 Jul 2002 23:59:02 +0000 (23:59 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r55469
Rainer Orth [Mon, 15 Jul 2002 20:25:40 +0000 (20:25 +0000)]
ctype_base.h (ctype_base): Fix print to match vendor <ctype.h>.
* config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix
print to match vendor <ctype.h>.
From-SVN: r55464
John David Anglin [Mon, 15 Jul 2002 16:19:39 +0000 (16:19 +0000)]
bb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi fallthru edge.
* bb-reorder.c (make_reorder_chain_1): Search harder for the vax
casesi fallthru edge.
* cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
block after ADDR_VEC.
* vax.md (casesi): Use emit_jump_insn. Remove unused constraints.
From-SVN: r55460
GCC Administrator [Mon, 15 Jul 2002 07:16:24 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55453
Jakub Jelinek [Mon, 15 Jul 2002 06:54:37 +0000 (08:54 +0200)]
re PR middle-end/7245 (ICE in find_reloads)
PR middle-end/7245
* config/i386/i386.c (const_int_1_31_operand): New.
* config/i386/i386.h (PREDICATE_CODES): Add it.
* config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
* gcc.c-torture/compile/
20020710 -1.c: New test.
From-SVN: r55450
Andreas Schwab [Mon, 15 Jul 2002 06:33:38 +0000 (06:33 +0000)]
m68k.h (PREDICATE_CODES): Define.
2002-06-11 Andreas Schwab <schwab@suse.de>
* config/m68k/m68k.h (PREDICATE_CODES): Define.
From-SVN: r55449
Alan Modra [Mon, 15 Jul 2002 05:29:43 +0000 (05:29 +0000)]
re PR target/7282 (unrecognizable insn)
PR target/7282
* config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
(floatunssidf2): Likewise.
(floatsidf_ppc64): New insn_and_split.
(floatunssidf_ppc64): Likewise.
From-SVN: r55448
GCC Administrator [Sun, 14 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55439
GCC Administrator [Sat, 13 Jul 2002 07:16:22 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55432
Jesse Rosenstock [Fri, 12 Jul 2002 21:13:22 +0000 (21:13 +0000)]
For PR libgcj/7292:
2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
For PR libgcj/7292:
* java/lang/Character.java (toString(char)): Now static.
From-SVN: r55428
Stephane Carrez [Fri, 12 Jul 2002 20:43:54 +0000 (22:43 +0200)]
m68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.
* config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
the scratch register.
("*movhi2_push"): Accept Z_REG because a split pattern can make use
of it, forbid reload to use it.
From-SVN: r55426
Marek Michalkiewicz [Fri, 12 Jul 2002 11:27:55 +0000 (13:27 +0200)]
avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return value was truncated to 32 bits.
* config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
usage on 64-bit hosts, return value was truncated to 32 bits.
From-SVN: r55422
Mark Mitchell [Fri, 12 Jul 2002 07:56:49 +0000 (07:56 +0000)]
* class.c (add_method): Correct handling of conversion operators.
From-SVN: r55420
GCC Administrator [Fri, 12 Jul 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55414
Mark Mitchell [Thu, 11 Jul 2002 22:07:47 +0000 (22:07 +0000)]
re PR c++/7224 (g++ 3.x does not tecognize unused ambiguous inline member functions)
PR c++/7224
* class.c (add_method): Simplify.
PR c++/7224
* g++.dg/overload/error1.C: New test.
From-SVN: r55408
Jason Merrill [Thu, 11 Jul 2002 21:13:08 +0000 (17:13 -0400)]
re PR c++/7279 (NRV related miscompilation)
PR c++/7279
* tree.c (cp_copy_res_decl_for_inlining): Also copy
TREE_ADDRESSABLE.
From-SVN: r55406
John David Anglin [Thu, 11 Jul 2002 18:22:02 +0000 (18:22 +0000)]
pa.md (adddi3): Change predicate of operand 2 to adddi3_operand.
* pa.md (adddi3): Change predicate of operand 2 to adddi3_operand.
Remove comment. Change predicate of 32-bit adddi3 insn pattern to
arith11_operand.
* pa-protos.h (adddi3_operand): Add prototype.
* pa.c (cint_ok_for_move): Fix comment.
(adddi3_operand): New function.
(emit_move_sequence): Don't directly split DImode constants on
32-bit targets.
From-SVN: r55399
GCC Administrator [Thu, 11 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55391
GCC Administrator [Wed, 10 Jul 2002 07:16:58 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55360
Jason Merrill [Tue, 9 Jul 2002 23:46:07 +0000 (19:46 -0400)]
re PR c++/6255 (ICE with templatess)
PR c++/6255
* decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
modifying the old one.
From-SVN: r55353
GCC Administrator [Tue, 9 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55337
Kriang Lerdsuwanakij [Mon, 8 Jul 2002 15:09:44 +0000 (15:09 +0000)]
pt.c (can_complete_type_without_circularity): Add static to function definition.
* pt.c (can_complete_type_without_circularity): Add static to
function definition.
From-SVN: r55327
Phil Edwards [Mon, 8 Jul 2002 10:00:57 +0000 (10:00 +0000)]
configure.in (gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...
2002-07-08 Phil Edwards <pme@gcc.gnu.org>
* configure.in (gxx_include_dir): Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
From-SVN: r55324
GCC Administrator [Mon, 8 Jul 2002 07:16:31 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55315
GCC Administrator [Sun, 7 Jul 2002 07:17:23 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55297
GCC Administrator [Sat, 6 Jul 2002 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55282
Stephane Carrez [Fri, 5 Jul 2002 22:18:48 +0000 (00:18 +0200)]
m68hc11.md ("*movqi_68hc12"): Avoid allocating QI mode registers in soft registers.
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
QI mode registers in soft registers.
("zero_extendqihi2"): Do not take into account soft registers
for register allocation (use '*' constraint).
From-SVN: r55275
Jason Merrill [Fri, 5 Jul 2002 22:11:38 +0000 (18:11 -0400)]
cvt.c (cp_convert_to_pointer): Call force_fit_type for null pointers.
* cvt.c (cp_convert_to_pointer): Call force_fit_type for null
pointers.
From-SVN: r55273
Stephane Carrez [Fri, 5 Jul 2002 22:01:18 +0000 (00:01 +0200)]
m68hc11.md ("*ashlsi3"): Avoid saving y if we know it is dead.
* config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
it is dead.
("*ashrsi3"): Likewise.
("*lshrsi3"): Likewise.
From-SVN: r55271
Stephane Carrez [Fri, 5 Jul 2002 21:32:54 +0000 (23:32 +0200)]
m68hc11.md (peephole2): New peephole2 to optimize address computation and memory moves.
* config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
address computation and memory moves.
From-SVN: r55268