------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-02 23:51 ------- (In reply to comment #0) > Compile the source code pasted below with "-Os -Wuninitialized" using C++. > You should get the > following warnings: > > uninit.cpp: In function 'int foo()': > uninit.cpp:13: warning: 'range$begin' is used uninitialized in this function > uninit.cpp: In function 'int bar()': > uninit.cpp:21: warning: 'range$end' may be used uninitialized in this function > > where the '.' has been secretly replaced by '$'. This used to be a problem > with C and ObjC in the past > also, but appears fixed now.
The reason why it is not fixed for the C++ front-end is because no C++ maintainer did what RTH requested for this to be fixed, see PR 14329. Oh and this is a dup of bug 14329. *** This bug has been marked as a duplicate of 14329 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21349