public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29933]  New: mangled names in a warning message with -O -Wuninitialized
@ 2006-11-21 17:52 tsarkov at cs dot man dot ac dot uk
  2006-11-21 17:54 ` [Bug c++/29933] " tsarkov at cs dot man dot ac dot uk
  2006-11-21 17:56 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: tsarkov at cs dot man dot ac dot uk @ 2006-11-21 17:52 UTC (permalink / raw)
  To: gcc-bugs

>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


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

* [Bug c++/29933] mangled names in a warning message with -O -Wuninitialized
  2006-11-21 17:52 [Bug c++/29933] New: mangled names in a warning message with -O -Wuninitialized tsarkov at cs dot man dot ac dot uk
@ 2006-11-21 17:54 ` tsarkov at cs dot man dot ac dot uk
  2006-11-21 17:56 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tsarkov at cs dot man dot ac dot uk @ 2006-11-21 17:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tsarkov at cs dot man dot ac dot uk  2006-11-21 17:53 -------
Created an attachment (id=12665)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12665&action=view)
testcase for the bug

testcase that triggers warning


-- 


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


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

* [Bug c++/29933] mangled names in a warning message with -O -Wuninitialized
  2006-11-21 17:52 [Bug c++/29933] New: mangled names in a warning message with -O -Wuninitialized tsarkov at cs dot man dot ac dot uk
  2006-11-21 17:54 ` [Bug c++/29933] " tsarkov at cs dot man dot ac dot uk
@ 2006-11-21 17:56 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-21 17:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-21 17:55 -------
‘ is caused either LANG or LC_* containing UTF-8 and your termianal does
not support UTF-8, that can be fixed by using LANG of C.
The issue with t$startTime is the same as PR 14329.

*** This bug has been marked as a duplicate of 14329 ***

*** This bug has been marked as a duplicate of 14329 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2006-11-21 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-21 17:52 [Bug c++/29933] New: mangled names in a warning message with -O -Wuninitialized tsarkov at cs dot man dot ac dot uk
2006-11-21 17:54 ` [Bug c++/29933] " tsarkov at cs dot man dot ac dot uk
2006-11-21 17:56 ` pinskia 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).