OSDN Git Service

2009-10-04 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Oct 2009 00:13:36 +0000 (00:13 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Oct 2009 00:13:36 +0000 (00:13 +0000)
* doc/xml/manual/using.xml: Add profile headers.
* testsuite/ext/profile/mh.cc: Restrict to linux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152439 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/using.xml
libstdc++-v3/testsuite/ext/profile/mh.cc

index a68aec5..d1418e3 100644 (file)
@@ -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.
 
 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>
 
index a32cdb1..f1718b9 100644 (file)
@@ -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>
index dc91094..44a667c 100644 (file)
@@ -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;