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++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ).



------- Comment #11 from manu at gcc dot gnu dot org  2007-05-29 12:57 -------
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #6)
> > > 
> > > so, is it still an invalid testcase?
> > 
> > Does the warning show up with -O1 and -O2 ?
> > 
> 
> only with -O3.
> 

That is a bug by itself. Using more optimisations could result in some cases
clearing out (and thus, less warnings). It should never result in more
warnings.


-- 

manu at gcc dot gnu dot org changed:

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


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


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