[Bug c++/27762] New: map of valarray produces bad output

woessner at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed May 24 19:42:00 GMT 2006


I created a map<int, valarray<int> >.  When I retrieve a valarray<int> from the
map, all of its data has been set to 0.

System: i386-redhat-linux

Options: --prefix=/usr --mandir=/usr/share/man --infodir=/ sr/share/info
--enable-shared --enable-threads=posix --enable-checking=release 
-with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable
libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enabl
-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2
0/jre --with-cpu=generic --host=i386-redhat-linux

Command Line: g++ -Wall foo.cpp

Compiler Output: None

I'm not sure how to attach the .ii file.  I'll work on that next.


-- 
           Summary: map of valarray produces bad output
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: woessner at gmail dot com


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



More information about the Gcc-bugs mailing list