Go to file
Benjamin Kosnik 12cde21b12 re PR libstdc++/17780 (std::allocator vs. static init)
2004-10-05  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/17780
	* include/ext/mt_allocator.h (__pool_base::_Tune): Add default
	options as compile-time constant enums.
	(__pool_base::_Tune::is_default): New.
	(__pool_base::_Block_address): New.
	(__pool_base): Rearrange data members.
	(__pool::_M_reserve_memory): To _M_reserve_block.
	(__pool::_M_reclaim_memory): To _M_reclaim_block.
	(__pool::_Bin_record): Add _Block_address data member.
	(__pool<false>): Add _M_thread_freelist_initial.
	(__pool::~__pool): Declare.
	(__common_pool_policy): Move static data member to...
	(__common_pool_policy::_S_get_pool): ...here, make static local.
	(__per_type_pool_policy): Move static data member to...
	(__per_type_pool_policy::_S_get_pool): ...here, make static local.
	(__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
	Remove static member definitions. Use define for __default_policy.
	* src/mt_allocator.cc: Same.
	* config/linker-map.gnu: Don't export _S_get_pool. Renames.
	* testsuite/ext/new_allocator: New.
	* testsuite/ext/new_allocator/instantiate.cc: New.
	* testsuite/ext/new_allocator/check_new.cc: New.
	* testsuite/ext/new_allocator/deallocate_global.cc: New.
	* testsuite/ext/new_allocator/deallocate_local.cc: New.
	* testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
	template arguments.
	* testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
	* testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
	* testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
	* testsuite/ext/mt_allocator/deallocate.cc: New.
	* testsuite/ext/malloc_allocator/deallocate.cc: New.
	* testsuite/ext/malloc_allocator/deallocate_global.cc: New.
	* testsuite/ext/malloc_allocator/deallocate_local.cc: New.

From-SVN: r88589
2004-10-06 04:22:42 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc configure.ac: Update all AC_DEFINEs to newer style. 2004-09-27 22:58:02 +00:00
config warnings.m4: New file. 2004-09-24 21:39:06 +00:00
contrib Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
fastjar jartool.c (extract_jar): Unconditionally read extra data in the entry header... 2004-09-23 23:40:33 +00:00
fixincludes * tests/base/sys/cdefs.h: Update from test area. 2004-10-05 03:13:43 +00:00
gcc re PR other/16406 (USE_LD_AS_NEEDED undocumented) 2004-10-06 10:24:01 +09:30
include Spacing bug. 2004-09-13 21:14:58 -04:00
intl Makefile.in (config.h.in): Correct dependencies. 2004-09-23 03:53:33 +00:00
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libcpp directives.c (cpp_handle_deferred_pragma): Save, clear and restore cb.line_change. 2004-09-29 18:19:46 -07:00
libffi * testsuite/libffi.call/negint.c: New test case. 2004-10-02 07:02:41 +00:00
libgfortran mvbits.c: Commit the file. 2004-10-04 19:31:10 -07:00
libiberty * vasprintf.c: Accept __va_copy in addition to va_copy. 2004-09-08 21:29:42 +00:00
libjava configure.ac (*-*-freebsd[[1234]]*): Refine error message emission rule. 2004-10-04 22:26:16 +00:00
libmudflap * thanks kcook 2004-10-05 16:15:55 +00:00
libobjc re PR libobjc/16448 (FAIL: objc/execute/IMP.m compilation, -O0) 2004-09-30 20:46:39 -07:00
libstdc++-v3 re PR libstdc++/17780 (std::allocator vs. static init) 2004-10-06 04:22:42 +00:00
maintainer-scripts * crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots. 2004-09-11 18:53:55 +00:00
zlib configure.ac: New name of configure.in. 2004-06-15 14:47:55 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
COPYING
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
ChangeLog configure.in: Enable target-libgloss for crx-*-*. 2004-10-05 15:52:20 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
MAINTAINERS MAINTAINERS (Various Maintainers): Move the "windows, cygwin, mingw" maintainer to ... 2004-10-04 04:54:21 +00:00
Makefile.def Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
Makefile.in re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1) 2004-09-23 17:37:08 -07:00
Makefile.tpl re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1) 2004-09-23 17:37:08 -07:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: New file. 2003-08-03 14:51:42 +00:00
compile config.guess: New upstream version 2004-09-23 01:21:50 +00:00
config-ml.in config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC. 2004-05-30 23:54:22 +02:00
config.guess config.guess: New upstream version 2004-09-23 01:21:50 +00:00
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
config.sub config.sub: Import latest version from master repository. 2004-09-06 08:52:57 +00:00
configure configure.in: Enable target-libgloss for crx-*-*. 2004-10-05 15:52:20 +00:00
configure.in configure.in: Enable target-libgloss for crx-*-*. 2004-10-05 15:52:20 +00:00
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh config.guess: New upstream version 2004-09-23 01:21:50 +00:00
libtool.m4 re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO) 2004-05-18 10:11:38 +00:00
ltcf-c.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-cxx.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-gcj.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltconfig ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltmain.sh ltmain.sh: Use $pic_object as $non_pic_object if $non_pic_object=none. 2004-09-08 11:43:46 -04:00
missing missing: Import latest version from master repository. 2004-09-07 08:33:10 +00:00
mkdep
mkinstalldirs re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
move-if-change
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04:00
ylwrap * Revert to previous version due to Binutils breakage. 2004-09-24 11:14:51 +00:00

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.