diff options
author | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2009-10-05 00:13:36 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2009-10-05 00:13:36 +0000 |
commit | 4232f9fd1801d1d276460f0228ba0d75fc5e2927 (patch) | |
tree | e8c4ba9aed2721fe24687878d3910728f99baae6 | |
parent | e5dd62e242fb954cbf9e78d21df620dc82fa268c (diff) | |
download | gcc-4232f9fd1801d1d276460f0228ba0d75fc5e2927.zip gcc-4232f9fd1801d1d276460f0228ba0d75fc5e2927.tar.gz gcc-4232f9fd1801d1d276460f0228ba0d75fc5e2927.tar.bz2 |
using.xml: Add profile headers.
2009-10-04 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/manual/using.xml: Add profile headers.
* testsuite/ext/profile/mh.cc: Restrict to linux.
From-SVN: r152439
-rw-r--r-- | libstdc++-v3/ChangeLog | 26 | ||||
-rw-r--r-- | libstdc++-v3/doc/xml/manual/using.xml | 29 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/profile/mh.cc | 9 |
3 files changed, 50 insertions, 14 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a68aec5..d1418e3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,4 +1,10 @@ +2009-10-04 Benjamin Kosnik <bkoz@redhat.com> + + * doc/xml/manual/using.xml: Add profile headers. + * testsuite/ext/profile/mh.cc: Restrict to linux. + 2009-10-02 Silvius Rus <silvius.rus@gmail.com> + * configure: Add check for execinfo.h. * config.h.in: Add undef for HAVE_EXECINFO_H. * include/Makefile.am: Add build support for profile mode. @@ -27,7 +33,7 @@ * include/profile/impl/profiler_trace.h: Same. * include/profile/impl/profiler_vector_size.h: Same. * include/profile/impl/profiler_vector_to_list.h: Same. - * include/std/vector: Include corresponding profile header guarded by + * include/std/vector: Include corresponding profile header guarded by _GLIBCXX_PROFILE. * include/std/deque: Same. * include/std/list: Same. @@ -61,15 +67,15 @@ 2009-10-02 Johannes Singler <singler@ira.uka.de> - * include/parallel/base.h: Take integer types from <tr1/cstdint>. - * include/parallel/compatibility.h: Likewise. - * include/parallel/multiseq_selection.h: Likewise. - * include/parallel/random_shuffle.h: Likewise. - * include/parallel/random_number.h: Likewise; - use numeric_limits<>::digit instead of sizeof()*8. - * include/parallel/types.h: Likewise. - * doc/html/manual/bk01pt12ch31s03.html: - Document dependency on stdint.h. + * include/parallel/base.h: Take integer types from <tr1/cstdint>. + * include/parallel/compatibility.h: Likewise. + * include/parallel/multiseq_selection.h: Likewise. + * include/parallel/random_shuffle.h: Likewise. + * include/parallel/random_number.h: Likewise; + use numeric_limits<>::digit instead of sizeof()*8. + * include/parallel/types.h: Likewise. + * doc/html/manual/bk01pt12ch31s03.html: + Document dependency on stdint.h. 2009-10-01 Phil Muldoon <pmuldoon@redhat.com> diff --git a/libstdc++-v3/doc/xml/manual/using.xml b/libstdc++-v3/doc/xml/manual/using.xml index a32cdb1..f1718b9 100644 --- a/libstdc++-v3/doc/xml/manual/using.xml +++ b/libstdc++-v3/doc/xml/manual/using.xml @@ -543,6 +543,35 @@ mode, i.e. <literal>-std=c++0x</literal> or <literal>-std=gnu++0x</literal>. <para></para> <table frame='all'> +<title>Extension Profile Headers</title> +<tgroup cols='4' align='left' colsep='1' rowsep='1'> +<colspec colname='c1'></colspec> +<colspec colname='c2'></colspec> +<colspec colname='c3'></colspec> +<colspec colname='c4'></colspec> +<tbody> + +<row> +<entry><filename class="headerfile">profile/bitset</filename></entry> +<entry><filename class="headerfile">profile/deque</filename></entry> +<entry><filename class="headerfile">profile/list</filename></entry> +<entry><filename class="headerfile">profile/map</filename></entry> +</row> + +<row> +<entry><filename class="headerfile">profile/set</filename></entry> +<entry><filename class="headerfile">profile/unordered_map</filename></entry> +<entry><filename class="headerfile">profile/unordered_set</filename></entry> +<entry><filename class="headerfile">profile/vector</filename></entry> +</row> + +</tbody> +</tgroup> +</table> + +<para></para> + +<table frame='all'> <title>Extension Parallel Headers</title> <tgroup cols='2' align='left' colsep='1' rowsep='1'> <colspec colname='c1'></colspec> diff --git a/libstdc++-v3/testsuite/ext/profile/mh.cc b/libstdc++-v3/testsuite/ext/profile/mh.cc index dc91094..44a667c 100644 --- a/libstdc++-v3/testsuite/ext/profile/mh.cc +++ b/libstdc++-v3/testsuite/ext/profile/mh.cc @@ -1,3 +1,6 @@ +// { dg-options "-D_GLIBCXX_PROFILE" } +// { dg-do compile { target *-*-linux* } } + // -*- C++ -*- // Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc. @@ -17,9 +20,6 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-options "-D_GLIBCXX_PROFILE" } -// { dg-do compile } - #include <stdio.h> #include <malloc.h> #include <vector> @@ -58,7 +58,8 @@ my_malloc_hook (size_t size, const void *caller) } -int main() { +int main() +{ int* test = (int*) malloc(sizeof(int)); *test = 1; return *test; |