public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/35922]  New: std::unordered_map missing in debug mode
@ 2008-04-13 13:39 piotr dot rak at gmail dot com
  2008-04-13 13:42 ` [Bug libstdc++/35922] " piotr dot rak at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: piotr dot rak at gmail dot com @ 2008-04-13 13:39 UTC (permalink / raw)
  To: gcc-bugs

g++-4.4.0-alpha20080328 -v --save-temps -std=c++0x -D_GLIBCXX_DEBUG
unordered_m.cc 
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/paludis/sys-devel-gcc-4.4.0_alpha20080328/work/gcc-4.4-20080328/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.0-alpha20080328
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.0-alpha20080328
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.0-alpha20080328/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.0-alpha20080328/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --enable-secureplt --disable-libunwind-exceptions
--disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj
--with-arch=i686 --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo
4.4.0_alpha20080328'
Thread model: posix
gcc version 4.4.0-alpha20080328  (experimental) (Gentoo 4.4.0_alpha20080328) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++0x' '-D_GLIBCXX_DEBUG'
'-shared-libgcc' '-mtune=generic' '-march=i686'
 /usr/libexec/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/cc1plus -E -quiet -v
-D_GNU_SOURCE -D_GLIBCXX_DEBUG unordered_m.cc -mtune=generic -march=i686
-std=c++0x -fpch-preprocess -o unordered_m.ii
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/libffi
 /usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/include/g++-v4

/usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/include/g++-v4/i686-pc-linux-gnu
 /usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/include/g++-v4/backward
 /usr/local/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++0x' '-D_GLIBCXX_DEBUG'
'-shared-libgcc' '-mtune=generic' '-march=i686'
 /usr/libexec/gcc/i686-pc-linux-gnu/4.4.0-alpha20080328/cc1plus -fpreprocessed
unordered_m.ii -quiet -dumpbase unordered_m.cc -mtune=generic -march=i686
-auxbase unordered_m -std=c++0x -version -o unordered_m.s
GNU C++ (Gentoo 4.4.0_alpha20080328) version 4.4.0-alpha20080328 
(experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.4.0-alpha20080328  (experimental), GMP
version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: ad33fd151be46b0162e8ac35c976ec10
unordered_m.cc: In function 'int main()':
unordered_m.cc:4: error: 'unordered_map' is not a member of 'std'
unordered_m.cc:4: error: expected primary-expression before 'int'
unordered_m.cc:4: error: expected `;' before 'int'

Note: this happends too when using g++-4.4.0-alpha20080328
Works fine when inluded as <tr1/unordered_map>


-- 
           Summary: std::unordered_map missing in debug mode
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: piotr dot rak at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
@ 2008-04-13 13:42 ` piotr dot rak at gmail dot com
  2008-04-13 13:46 ` piotr dot rak at gmail dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: piotr dot rak at gmail dot com @ 2008-04-13 13:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from piotr dot rak at gmail dot com  2008-04-13 13:41 -------
Created an attachment (id=15470)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15470&action=view)
Simple testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
  2008-04-13 13:42 ` [Bug libstdc++/35922] " piotr dot rak at gmail dot com
@ 2008-04-13 13:46 ` piotr dot rak at gmail dot com
  2008-04-13 15:17 ` pcarlini at suse dot de
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: piotr dot rak at gmail dot com @ 2008-04-13 13:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from piotr dot rak at gmail dot com  2008-04-13 13:45 -------
(In reply to comment #0)

> Note: this happends too when using g++-4.4.0-alpha20080328
That should be g++-4.3.0-alpha20080118, sorry.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
  2008-04-13 13:42 ` [Bug libstdc++/35922] " piotr dot rak at gmail dot com
  2008-04-13 13:46 ` piotr dot rak at gmail dot com
@ 2008-04-13 15:17 ` pcarlini at suse dot de
  2008-04-24 23:36 ` bkoz at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pcarlini at suse dot de @ 2008-04-13 15:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pcarlini at suse dot de  2008-04-13 15:17 -------
Benjamin, can you have a look? Seems just an extension of libstdc++/30085: it
seems we can certainly have debug mode for std::unordered_* too (besides
std::tr1::unordered_*) 


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkoz at redhat dot com
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-04-13 15:17:10
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
                   ` (2 preceding siblings ...)
  2008-04-13 15:17 ` pcarlini at suse dot de
@ 2008-04-24 23:36 ` bkoz at gcc dot gnu dot org
  2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-04-24 23:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bkoz at gcc dot gnu dot org  2008-04-24 23:35 -------
Fixed.


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
                   ` (3 preceding siblings ...)
  2008-04-24 23:36 ` bkoz at gcc dot gnu dot org
@ 2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
  2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-04-24 23:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bkoz at gcc dot gnu dot org  2008-04-24 23:36 -------

Ack! Wrong bug. But, I accept and re-open.


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
                   ` (4 preceding siblings ...)
  2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
@ 2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
  2008-04-26  2:23 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-04-24 23:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bkoz at gcc dot gnu dot org
                   |dot org                     |
             Status|REOPENED                    |ASSIGNED
   Last reconfirmed|2008-04-13 15:17:10         |2008-04-24 23:36:56
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
                   ` (5 preceding siblings ...)
  2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
@ 2008-04-26  2:23 ` bkoz at gcc dot gnu dot org
  2008-04-29 19:46 ` bkoz at gcc dot gnu dot org
  2008-04-29 21:38 ` bkoz at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-04-26  2:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bkoz at gcc dot gnu dot org  2008-04-26 02:22 -------
Subject: Bug 35922

Author: bkoz
Date: Sat Apr 26 02:21:37 2008
New Revision: 134693

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134693
Log:
2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/35922
        * include/std/unordered_map: Include debug/unordered_map if
        _GLIBCXX_DEBUG.
        * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
        * testsuite/23_containers/unordered_map/requirements/
        debug_container.cc: ...here.
        * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
New.
        * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
        * testsuite/23_containers/unordered_set/requirements/
        debug_container.cc: ...here.
        * testsuite/23_containers/unordered_set/requirements/debug_mode.cc:
New.


Added:
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_container.cc
      - copied unchanged from r134683,
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug.cc
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_mode.cc
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_container.cc
      - copied unchanged from r134683,
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug.cc
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_mode.cc
Removed:
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug.cc
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/unordered_map


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
                   ` (6 preceding siblings ...)
  2008-04-26  2:23 ` bkoz at gcc dot gnu dot org
@ 2008-04-29 19:46 ` bkoz at gcc dot gnu dot org
  2008-04-29 21:38 ` bkoz at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-04-29 19:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from bkoz at gcc dot gnu dot org  2008-04-29 19:45 -------
Subject: Bug 35922

Author: bkoz
Date: Tue Apr 29 19:44:18 2008
New Revision: 134806

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134806
Log:
2008-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/35922
        * include/std/unordered_map: Include debug/unordered_map if
        _GLIBCXX_DEBUG.
        * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
        * testsuite/23_containers/unordered_map/requirements/
        debug_container.cc: ...here.
        * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
New.
        * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
        * testsuite/23_containers/unordered_set/requirements/
        debug_container.cc: ...here.
        * testsuite/23_containers/unordered_set/requirements/debug_mode.cc:
New.



Added:
   
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_container.cc
      - copied unchanged from r134802,
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug.cc
   
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_mode.cc
   
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_container.cc
      - copied unchanged from r134802,
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug.cc
   
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_mode.cc
Removed:
   
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug.cc
   
branches/gcc-4_3-branch/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug.cc
Modified:
    branches/gcc-4_3-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_3-branch/libstdc++-v3/include/std/unordered_map


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/35922] std::unordered_map missing in debug mode
  2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
                   ` (7 preceding siblings ...)
  2008-04-29 19:46 ` bkoz at gcc dot gnu dot org
@ 2008-04-29 21:38 ` bkoz at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-04-29 21:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from bkoz at gcc dot gnu dot org  2008-04-29 21:37 -------

Fixed on trunk and gcc-4_3-branch


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35922


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-04-29 21:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-13 13:39 [Bug libstdc++/35922] New: std::unordered_map missing in debug mode piotr dot rak at gmail dot com
2008-04-13 13:42 ` [Bug libstdc++/35922] " piotr dot rak at gmail dot com
2008-04-13 13:46 ` piotr dot rak at gmail dot com
2008-04-13 15:17 ` pcarlini at suse dot de
2008-04-24 23:36 ` bkoz at gcc dot gnu dot org
2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
2008-04-24 23:37 ` bkoz at gcc dot gnu dot org
2008-04-26  2:23 ` bkoz at gcc dot gnu dot org
2008-04-29 19:46 ` bkoz at gcc dot gnu dot org
2008-04-29 21:38 ` bkoz at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).