This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32132] New: bogus warning at -O3 ( 'r' may be used uninitialized in this function ).
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2007 20:08:08 -0000
- Subject: [Bug c++/32132] New: bogus warning at -O3 ( 'r' may be used uninitialized in this function ).
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
attached testcase produces unexpected warning at -O3:
$ g++ -Wall -Woverloaded-virtual -Werror -O3 -gdwarf-2 -g1 -fPIE \
-Wno-error -c auHexCastTest.ii
../../au/h/auHexCast.hpp: In function ‘R au::hex_cast(const
stlp_std::string&) [with R = int]’:
../../au/h/auHexCast.hpp:50: warning: ‘r’ may be used uninitialized
in this function
--
Summary: bogus warning at -O3 ( 'r' may be used uninitialized in
this function ).
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132