This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29933] New: mangled names in a warning message with -O -Wuninitialized


>g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-checking --prefix=/opt/gcc
--enable-shared --enable-threads --program-suffix=-4.2 --enable-__cxa_atexit
--disable-nls --with-mpfr=/usr/local
--enable-languages=c,c++,objc,obj-c++,treelang,java : (reconfigured)
../gcc/configure --enable-checking --prefix=/opt/gcc --enable-shared
--enable-threads --program-suffix=-4.2 --enable-__cxa_atexit --disable-nls
--with-mpfr=/usr/local --enable-languages=c,c++,java,objc,obj-c++,treelang
--no-create --no-recursion : (reconfigured) ../gcc/configure --enable-checking
--prefix=/opt/gcc --enable-shared --enable-threads --program-suffix=-4.2
--enable-__cxa_atexit --disable-nls --with-mpfr=/usr/local
--enable-languages=c,c++,java,objc,obj-c++,treelang --no-create --no-recursion
: (reconfigured) ../gcc/configure --enable-checking --prefix=/opt/gcc
--enable-shared --enable-threads --program-suffix=-4.2 --enable-__cxa_atexit
--disable-nls --with-mpfr=/usr/local
--enable-languages=c,c++,java,objc,obj-c++,treelang --no-create --no-recursion
Thread model: posix
gcc version 4.3.0 20061120 (experimental)

>g++ -c -O -Wuninitialized bug.cpp

bug.cpp: In function ‘float test()’:
bug.cpp:47: warning: ‘t$startTime’ may be used uninitialized in
this function


This bug looks very similar to PR25923 and PR28216.


-- 
           Summary: mangled names in a warning message with -O -
                    Wuninitialized
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tsarkov at cs dot man dot ac dot uk
 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=29933


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]