[Bug c++/32132] New: bogus warning at -O3 ( 'r' may be used uninitialized in this function ).
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Mon May 28 20:08:00 GMT 2007
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
More information about the Gcc-bugs
mailing list