Age | Commit message (Collapse) | Author |
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@119149 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 27_io/basic_stringbuf/overflow/char/1.cc: Reduce iterations to
100000.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@119117 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/rs6000/rs6000.h (TARGET_NO_LWSYNC): Define.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
__NO_LWSYNC__ if TARGET_NO_LWSYNC.
* config/rs6000/sync.md (lwsync): Emit plain sync if
TARGET_NO_LWSYNC.
libstdc++-v3/
* config/cpu/powerpc/atomic_word.h (_GLIBCXX_WRITE_MEM_BARRIER):
Use plain sync if __NO_LWSYNC__.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118967 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.dg/tree-ssa/stdarg-2.c, gcc.dg/tree-ssa/stdarg-4.c:
Condition PowerPC tests for saving FPRs on powerpc_fprs.
* gcc.target/powerpc/compress-float-ppc.c,
gcc.target/powerpc/compress-float-ppc-pic.c: Only test if
powerpc_fprs.
* gcc.target/powerpc/rs6000-power2-2.c: Only test if powerpc_fprs;
do not pass -mhard-float.
libstdc++-v3/
* testsuite/26_numerics/complex/13450.cc: Do not test long double
in IBM long double case.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118811 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libsupc++/eh_globals.cc (__cxxabiv1::__cxa_get_globals):
Initialize propagatingExceptions if __ARM_EABI_UNWINDER__.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118759 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libsupc++/eh_personality.cc (empty_exception_spec): Define
separately in __ARM_EABI_UNWINDER__ case.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118758 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/arm/bpapi.h (TARGET_BPABI_CPP_BUILTINS): Define
__GXX_TYPEINFO_EQUALITY_INLINE but not
__GXX_MERGED_TYPEINFO_NAMES.
* config/arm/symbian.h (TARGET_OS_CPP_BUILTINS): Define
__GXX_MERGED_TYPEINFO_NAMES.
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define
__GXX_TYPEINFO_EQUALITY_INLINE.
* config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Define
__GXX_TYPEINFO_EQUALITY_INLINE.
libstdc++-v3/
* libsupc++/typeinfo (__GXX_TYPEINFO_EQUALITY_INLINE): Define.
Use instead of __GXX_MERGED_TYPEINFO_NAMES to condition inline
definitions.
* libsupc++/tinfo.cc (operator==): Condition on
__GXX_TYPEINFO_EQUALITY_INLINE; check __GXX_MERGED_TYPEINFO_NAMES
to determine algorithm.
* libsupc++/tinfo2.cc (type_info::before): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118756 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Loosen pattern for
ld version output.
* configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118669 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-02-07 Jakub Jelinek <jakub@redhat.com>
Benjamin Kosnik <bkoz@redhat.com>
* configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
If true, set also port_specific_symbol_files and create
as_symver_specs.
(GLIBCXX_LDBL_COMPAT): New GLIBCXX_CONDITIONAL.
* configure: Rebuilt.
* config.h.in: Rebuilt.
* config/os/gnu-linux/ldbl-extra.ver: New file.
* config/linker-map.gnu: Make sure no __float128 symbols are
exported.
* include/bits/c++config (_GLIBCXX_LONG_DOUBLE_COMPAT,
_GLIBCXX_LDBL_NAMESPACE, _GLIBCXX_BEGIN_LDBL_NAMESPACE,
_GLIBCXX_END_LDBL_NAMESPACE): Define.
* include/bits/localefwd.h: Use them to conditionally scope facets.
* include/bits/locale_facets.h: Surround std::{money,num}_{get,put}
with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_get): Add __do_get method.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_put): Add __do_put method.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_get): Add __do_get method.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_put): Add __do_put method.
* include/bits/locale_facets.tcc: Surround std::{money,num}_{get,put}
with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
(std::money_get::__do_get, std::money_put::__do_put,
std::num_get::__do_get, std::num_put::__do_put): New
specializations.
* include/Makefile.am: Conditionally define
_GLIBCXX_LONG_DOUBLE_COMPAT in c++config.
* include/Makefile.in: Regenerate.
* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (_GLIBCXX_LOC_ID,
_GLIBCXX_SYNC_ID): Define, use them.
* src/compatibility-ldbl.cc: New file.
* src/complex_io.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Add compatibility
symbols.
* src/limits.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale-misc-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/istream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/ostream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/wlocale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/compatibility.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* config/locale/generic/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
Likewise.
* config/locale/gnu/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
Likewise.
* src/Makefile.am (libstdc++-symbol.ver): Append instead of
insert in the middle if port specific symbol file requests it.
(ldbl_compat_sources): New variable.
(sources): Use it.
(compatibility-ldbl.lo, compatibility-ldbl.o): New rules.
* src/Makefile.in: Rebuilt.
* testsuite/testsuite_abi.cc: Recognize GLIBCXX_LDBL_3.4,
GLIBCXX_LDBL_3.4.7, CXXABI_LDBL_1.3.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118644 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc,
testsuite/27_io/basic_stringbuf/overflow/char/1.cc,
testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc: XFAIL on
arm-wrs-linux-gnueabi.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118505 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/config/default.exp (${tool}_target_compile): Use
v3_target_compile.
gcc/testsuite/
* lib/target-supports.exp (check_function_available): Declare
function before calling.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118150 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 23_containers/set/modifiers/16728.cc (iterations): Reduce to 2000.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@117536 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-11-22 Joseph S. Myers <joseph@codesourcery.com>
* libgcc-std.ver (GCC_4.2.0): New version.
2006-02-27 Jakub Jelinek <jakub@redhat.com>
* unwind-dw2.c (struct _Unwind_Context): Add signal_frame field.
(extract_cie_info): Handle S flag in augmentation string.
(execute_cfa_program): If context->signal_frame, execute also
fs->pc == context->ra instructions.
(uw_frame_state_for): If context->signal_frame, don't subtract one
from context->ra to find FDE.
(uw_update_context_1): Set context->signal_frame to
fs->signal_frame.
(_Unwind_GetIPInfo): New function.
* unwind-dw2.h (_Unwind_FrameState): Add signal_frame field.
* unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
of _Unwind_GetIP.
* unwind-sjlj.c (_Unwind_GetIPInfo): New function.
* unwind-generic.h (_Unwind_GetIPInfo): New prototype.
* unwind-compat.c (_Unwind_GetIPInfo): New function.
* libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0.
* config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function.
* config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define.
* config/i386/linux-unwind.h (x86_fallback_frame_state,
x86_64_fallback_frame_state): Set fs->signal_frame.
* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
(MD_FROB_UPDATE_CONTEXT): Define unconditionally.
(frob_update_context): Likewise. Workaround missing S flag in
Linux 2.6.12 - 2.6.16 kernel vDSOs.
* config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
Remove the psw_addr + 1 hack.
2006-02-27 Jakub Jelinek <jakub@redhat.com>
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
_Unwind_GetIPInfo instead of _Unwind_GetIP.
2006-02-27 Jakub Jelinek <jakub@redhat.com>
* exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
of _Unwind_GetIP.
* include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
(HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
to throw.
* include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
macro.
* include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
macro.
2006-03-03 Jakub Jelinek <jakub@redhat.com>
* config/arm/unwind-arm.h (_Unwind_GetIPInfo): Fix pasto.
2006-07-21 Steve Ellcey <sje@cup.hp.com>
* unwind_ipinfo.m4: New.
2006-07-21 Steve Ellcey <sje@cup.hp.com>
* configure.ac: Use GCC_CHECK_UNWIND_GETIPINFO to
define HAVE_GETIPINFO.
* aclocal.m4: Add include of ../config/unwind_ipinfo.m4.
* config.h.in: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* libsupc++/eh_personality.cc: Check HAVE_GETIPINFO.
2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
* exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
if HAVE_GETIPINFO not defined.
* configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
* aclocal.m4, configure, include/config.h.in, Makefile.in:
Rebuilt.
2006-10-03 Geoffrey Keating <geoffk@apple.com>
* config/i386/darwin-libgcc.10.5.ver: Update to symbol list for
current Leopard versions.
* config/rs6000/darwin-libgcc.10.5.ver: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@117533 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/lib/libstdc++.exp (check_v3_target_fileio): Correct
test program and name of output variable.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@117376 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@115418 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@114850 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When
cross-compiling, put headers in $prefix/$target/include/c++.
* configure: Regenerated.
gcc/
* configure.ac: Set gcc_gxx_include_dir to $target/include/c++
when cross-compiling. Do not substitute libstdcxx_incdir.
* configure: Regenerated.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@114846 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
libstdc++/
* libsupc++/eh_arm.cc (__cxa_begin_cleanup): Always return 'true'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@114813 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options. AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* gcc/Makefile.in: Rename htmldir to gcc_htmldir. Add install-html
target. Define HTMLS for all manuals. Simplify html target.
* gcc/configure.ac: AC_SUBST datarootdir, docdir, and htmldir.
* gcc/configure: Regenerate.
* gcc/fortran/Make-lang.in: Rename htmldir to gcc_htmldir.
* gcc/java/Make-lang.in: Likewise.
* gcc/treelang/Make-lang.in: Likewise.
* fixincludes/Makefile.in: Add install-html target.
Fixup .PHONY listing.
* intl/Makefile.in: Add html info ps pdf and dvi and install-html
to .PHONY. Add install-html target.
* libcpp/Makefile.in: Add install-html target. Add install-html to
.PHONY list.
* libstdc++-v3/Makefile.am: Add install-html target.
* libstdc++-v3/aclocal.m4: Regenerate.
* libstdc++-v3/Makefile.in: Regenerate.
* libstdc++-v3/include/Makefile.in: Regenerate.
* libstdc++-v3/libmath/Makefile.in: Regenerate.
* libstdc++-v3/libsupc++/Makefile.in: Regenerate.
* libstdc++-v3/po/Makefile.in: Regenerate.
* libstdc++-v3/src/Makefile.in: Regenerate.
* libstdc++-v3/testsuite/Makefile.in: Regenerate.
* libmudflap/Makefile.am: Add install-html target.
* libmudflap/Makefile.in: Regenerate.
* libssp/Makefile.am: Add install-html target.
* libssp/Makefile.in: Regenerate.
* fastjar/Makefile.am: Add install-html target.
* fastjar/Makefile.in: Regenerate.
* fastjar/aclocal.m4: Regenerate.
* zlib/Makefile.am: Add install-html target.
* zlib/Makefile.in: Regenerate.
* zlib/aclocal.m4: Regenerate.
* libobjc/Makefile.in: Add install-html target.
* libffi/Makefile.am: Add install-html target.
* libffi/Makefile.in: Regenerate.
* libffi/aclocal.m4: Regenerate.
* libffi/include/Makefile.in: Regenerate.
* libffi/testsuite/Makefile.in: Regenerate.
* libjava/Makefile.am: Add install-html target.
* libjava/Makefile.in: Regenerate.
* libjava/aclocal.m4: Regenerate.
* libjava/classpath/Makefile.in: Regenerate.
* libjava/classpath/aclocal.m4: Regenerate.
* libjava/classpath/doc/Makefile.in: Regenerate.
* libjava/classpath/doc/api/Makefile.am: Conditionalize html target.
* libjava/classpath/doc/api/Makefile.in: Regenerate.
* libjava/classpath/examples/Makefile.in: Regenerate.
* libjava/classpath/external/Makefile.in: Regenerate.
* libjava/classpath/external/sax/Makefile.in: Regenerate.
* libjava/classpath/external/w3c_dom/Makefile.in: Regenerate.
* libjava/classpath/include/Makefile.in: Regenerate.
* libjava/classpath/lib/Makefile.in: Regenerate.
* libjava/classpath/native/Makefile.in: Regenerate.
* libjava/classpath/native/fdlibm/Makefile.in: Regenerate.
* libjava/classpath/native/jawt/Makefile.in: Regenerate.
* libjava/classpath/native/jni/Makefile.in: Regenerate.
* libjava/classpath/native/jni/classpath/Makefile.in: Regenerate.
* libjava/classpath/native/jni/gtk-peer/Makefile.in : Regenerate.
* libjava/classpath/native/jni/java-io/Makefile.in: Regenerate.
* libjava/classpath/native/jni/java-lang/Makefile.in: Regenerate.
* libjava/classpath/native/jni/java-net/Makefile.in : Regenerate.
* libjava/classpath/native/jni/java-nio/Makefile.in : Regenerate.
* libjava/classpath/native/jni/java-util/Makefile.in: Regenerate.
* libjava/classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
* libjava/classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
* libjava/classpath/native/jni/qt-peer/Makefile.in: Regenerate.
* libjava/classpath/native/jni/xmlj/Makefile.in: Regenerate.
* libjava/classpath/native/target/Linux/Makefile.in: Regenerate.
* libjava/classpath/native/target/Makefile.in: Regenerate.
* libjava/classpath/native/target/generic/Makefile.in: Regenerate.
* libjava/classpath/resource/Makefile.in: Regenerate.
* libjava/classpath/scripts/Makefile.in: Regenerate.
* libjava/gcj/Makefile.in: Regenerate.
* libjava/include/Makefile.in : Regenerate.
* libjava/testsuite/Makefile.in: Regenerate.
* boehm-gc/Makefile.am: Add install-html target.
* boehm-gc/Makefile.in: Regenerate.
* boehm-gc/aclocal.m4: Regenerate.
* boehm-gc/include/Makefile.in: Regenerate.
* gnattools/Makefile.in: Add html and install-html targets.
* libgfortran/Makefile.am: Add install-html target.
* libgfortran/Makefile.in: Regenerate.
* libada/Makefile.in: Add install-html target.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@113156 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/20451
* libstdc++-v3/scripts/testsuite_flags.in (--cxxflags): Don't
define LOCALEDIR.
* libstdc++-v3/testsuite/lib/libstdc++.exp (libstdc++_init):
Always define LOCALEDIR to ".".
(v3-build_support): Build MO files.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@112347 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@111645 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR target/20353
PR target/24578
PR target/24837
* gcc/config/linux.opt: New file.
* gcc/config/linux.h (CHOOSE_DYNAMIC_LINKER,
UCLIBC_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* gcc/config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* gcc/config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change
to GLIBC_DYNAMIC_LINKER.
* gcc/config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/doc/invoke.texi (GNU/Linux Options): New section.
* gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't
define if __UCLIBC__ is defined.
* libstdc++-v3/config/os/uclibc/ctype_base.h,
libstdc++-v3/config/os/uclibc/ctype_inline.h,
libstdc++-v3/config/os/uclibc/ctype_noninline.h,
libstdc++-v3/config/os/uclibc/os_defines.h: New.
* libstdc++-v3/acinclude.m4 (GLIBCXX_CONFIGURE): Test whether
using uClibc.
* libstdc++-v3/configure.host: Use os/uclibc for uClibc.
* libstdc++-v3/crossconfig.m4 (*-linux*): Use link tests. Don't
hardcode presence of math functions.
* libstdc++-v3/configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@111161 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@110766 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc/cppdefault.h (struct default_include): Add multilib flag.
* gcc/cppdefault.c (cpp_include_defaults): Set it.
* gcc/c.opt (-imultilib): New option.
* gcc/c-opts.c (imultilib): New.
(c_common_handle_option): Handle -imultilib.
(c_common_post_options): Likewise.
* gcc/c-incpath.c (add_standard_paths, register_include_chains):
Likewise.
* gcc/c-incpath.h (register_include_chains): Add extra parameter.
* gcc/gcc.c (do_spec_1): Generate -imultilib option.
(The Specs Language): Update %I description.
(process_command): Update copyright notice.
* gcc/doc/cppopts.texi (-imultilib): Document.
* gcc/doc/invoke.texi (-imultilib): Include in option summary.
(%I): Update specs documentation.
* libstdc++-v3/include/Makefile.am: Install host-specific headers
in multilib subdirectory.
* libstdc++-v3/include/Makefile.in: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@110038 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-01-02 Mark Mitchell <mark@codesourcery.com>
* libstdc++-v3/src/Makefile.am (LTLDFLAGS): New variable.
(CXXLINK): Use LTLDFLAGS.
* libstdc++-v3/src/Makefile.in: Regenerated.
* libstdc++-v3/libsupc++/Makefile.am (LTLDFLAGS): New variable.
(CXXLINK): Use LTLDFLAGS.
* libstdc++-v3/libsupc++/Makefile.in: Regenerated.
2006-01-02 Mark Mitchell <mark@codesourcery.com>
* libtool-ldflags: New script.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@110035 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Merge from csl-arm-branch
2005-03-10 Julian Brown <julian@codesourcery.com>
* libstdc++configure.ac (LIBSUPCXX_PRONLY): New AM_CONDITIONAL: yes
if we are compiling for SymbianOS on ARM.
* libstdc++include/Makefile.am: Don't install C++ headers if
LIBSUPCXX_PRONLY is true.
* libstdc++libsupc++/Makefile.am: Include only eh_personality.cc
in libsupc++ if LIBSUPCXX_PRONLY is true.
* libstdc++Makefile.in: Regenerate.
* libstdc++configure: Regenerate.
* libstdc++include/Makefile.in: Regenerate.
* libstdc++libmath/Makefile.in: Regenerate.
* libstdc++libsupc++/Makefile.in: Regenerate.
* libstdc++po/Makefile.in: Regenerate.
* libstdc++src/Makefile.in: Regenerate.
* libstdc++testsuite/Makefile.in: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@109905 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport from mainline.
2005-12-13 Carlos O'Donell <carlos@codesourcery.com>
* gcc/c-cppbuiltin.c (builtin_define_float_constants): Add
fp_cast parameter, pass to builtin_define_with_hex_fp_value.
Define __FLT_HAS_DENORM__, __DBL_HAS_DENORM__, __LDBL_HAS_DENORM__.
(builtin_define_with_hex_fp_value): Use fp_cast when building macro.
(c_cpp_builtins): If flag_single_precision_constant then set fp_cast
to "((double)%sL)" otherwise "%s".
* gcc/testsuite/gcc.dg/single-precision-constant.c: New test.
* libstdc++-v3/include/std/std_limits.h (struct numeric_limits):
Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@109901 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@109825 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24975
* include/bits/stl_set.h (insert(iterator, const value_type&),
erase(iterator), erase(iterator, iterator)): Don't break aliasing
rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
* include/bits/stl_multiset.h (insert(iterator, const value_type&),
erase(iterator), erase(iterator, iterator)): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
_Const_Base_ptr, const value_type&), insert_unique(const_iterator,
const value_type&), insert_equal(const_iterator, const value_type&),
erase(const_iterator), erase(const_iterator, const_iterator)): New,
_Rb_tree<>::const_iterator counterparts of existing facilities.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch@107363 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
(__sso_string_base<>::_M_get_allocator): Return by const ref.
* include/ext/rc_string_base.h: Likewise.
(__rc_string_base<>::_M_get_allocator): Return by const ref.
(__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
(__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
(__rc_string_base<>::~__rc_string_base,
__rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
_M_mutate): Adjust.
* include/ext/vstring_util.h: Minor stylistic fixes.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch@107318 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
anonymous struct extension, adjust everywhere.
* include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
Just use a static member.
(__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
* include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use anonymous
union together with _CharT to fix alignment issues, rebind to _Rep and
rename _Raw_alloc to _Rep_alloc_type.
(__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
* include/ext/vstring_util.h (__is_null_p): Move inside struct
__vstring_utility as static _S_is_null_pointer.
* include/ext/sso_string.h
(__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
* include/ext/rc_string_base.h
(__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
Implement Option 3 of DR 431 for ext/vstring - both available bases.
* include/bits/cpp_type_traits.h (struct __is_empty): Add.
* include/ext/vstring.h (__versa_string<>::swap): Delegate to
this->_M_swap.
* include/ext/vstring.tcc (__versa_string<>::swap): Remove.
* include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
_Alloc_hider<>, augmented of allocator swapping facility, specialized
to nop for empty allocators.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
(__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
Likewise.
(__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
Return void.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@107176 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@107131 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
gcc/
* config/arm/unwind-arm.h: Reorder interface function declarations.
(_URC_END_OF_STACK): New enumeration value.
(_US_UNWIND_ACTION_MASK, _US_FORCE_UNWIND, _US_END_OF_STACK): Likewise.
(struct _Unwind_Control_Block): Document reserved field use.
(_Unwind_Stop_Fn): New typedef.
(_Unwind_ForcedUnwind): Declare.
(_Unwind_Resume_or_Rethrow): Declare.
* config/arm/libunwind.S (UNWIND_WRAPER): Add nargs
argument. Adjust.
(_Unwind_Resume_or_Rethrow, _Unwind_ForcedUnwind): New.
* config/arm/unwind-arm.c (UCB_FORCED_STOP_FN)
(UCB_FORCED_STOP_ARG): New.
(search_EIT_table): Update boundary condition checks.
(get_eit_entry): Return _URC_END_OF_STACK when cannot unwind.
(unwind_phase2): Replace for with do..while.
(unwind_phase2_forced): New.
(__gnu_Unwind_RaiseException): Replace for with do..while.
(__gnu_Unwind_ForcedUnwind): New.
(__gnu_Unwind_Resume): Set FORCE_UNWIND flag, if forced unwinding.
Use appropriate phase2 unwinder.
(__gnu_Unwind_Resume_or_Rethrow): New.
(__gnu_unwind_pr_common): Cope with forced unwinding.
gcc/testsuite/
* g++.dg/eh/forced1.C: Adjust to cope with ARM EABI
structures.
* g++.dg/eh/forced2.C: Likewise.
* g++.dg/eh/forced3.C: Likewise.
* g++.dg/eh/forced4.C: Likewise.
libstdc++-v3/
* libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
foreign exception too.
(__gnu_end_cleanup): Recover a foreign exception too.
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
with forced unwinding.
* libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
_Unwind_Resume_or_Rethrow for ARM EABI.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@107089 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
shared libgcc for darwin exports.
* configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106936 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/boost_shared_ptr.h (get_deleter):
Declare before shared_ptr.
(shared_ptr<>): Declare get_deleter as friend.
(shared_ptr<>:_M_get_deleter): Private.
2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106863 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/boost_shared_ptr.h (get_deleter):
Declare before shared_ptr.
(shared_ptr<>): Declare get_deleter as friend.
(shared_ptr<>:_M_get_deleter): Private.
2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106862 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24808
* include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
(with complemented logic).
(is_function): Use it, don't use __conv_helper.
(is_abstract): Adjust.
(__conv_helper): Rename to __is_convertible_simple.
(is_convertible): Adjust.
* testsuite/testsuite_tr1.h (class IncompleteClass): Add.
* testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
24808.cc: New.
* testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
24808.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
24808.cc: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106818 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24799
* include/tr1/functional (hash): Inherit from std::unary_function.
* testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
PR libstdc++/24805
* include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
24805.cc: New.
PR libstdc++/24809
* include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
* testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
24809.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106796 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared2.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared3.cc: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106736 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
weak_release): Protect barriers with __GTHREADS.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106733 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Peter Dimov <pdimov@mmltd.net>
* include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
Optimize by manually inlining weak_release.
* include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
weak_release): Use explicit memory barriers.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106729 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Paolo Carlini <pcarlini@suse.de>
Gabriel Dos Reis <gdr@integrable-solutions.net>
PR libstdc++/22203
* numeric_limits.cc: Split into...
* numeric_limits/specialization.cc: ..this.
* numeric_limits/is_iec559.cc: Same.
* numeric_limits/sign.cc: Same.
* numeric_limits/quiet_NaN.cc: Same.
* numeric_limits/digits10.cc: Same.
* numeric_limits/denorm_min.cc: Same.
* numeric_limits/min_max.cc: Same.
* numeric_limits/epsilon.cc: Same.
* numeric_limits/infinity.cc: Same.
* numeric_limits/traps.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106727 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106689 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
exe as the executable extension.
* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
new.
(GLIBCXX_ENABLE_PCH): Adjust message order.
* configure: Regenerate.
* scripts/testsuite_flags.in (query): Correct print_usagex typo.
* include/bits/functexcept.h: Remove argument names.
* src/mt_allocator.cc: Adjust comment.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106665 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/18174
* include/bits/stl_queue.h (priority_queue): Tweak a bit the
comment describing the container.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106560 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* configure.host: Add | rs6000 to the cpu_defines_dir switch,
consistently with the try_cpu one.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106525 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/22203
* include/bits/c++config: Include cpu_defines.h.
* include/Makefile.am: Add cpu_defines.h to host_headers.
* configure.host: Add cpu_defines_dir.
* configure.ac: Use it.
* config/cpu/powerpc/cpu_defines.h: New.
* config/cpu/generic/cpu_defines.h: Likewise.
* configure: Regenerate.
* Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106524 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
Change the various traits_type::copy call to always copy the
entire local buffer; return early and don't do a full swap on
the lengths for two common cases; change two _S_copy to plain
traits_type::copy.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106431 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/23425
* include/bits/stl_vector.h (vector<>::clear): Open code
in terms of _Destroy.
2005-11-02 Paolo Carlini <pcarlini@suse.de>
* include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106379 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR libstdc++/24595
* include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
Move out of shared_ptr.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106321 138bc75d-0d04-0410-961f-82ee72b054a4
|