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/21548] [4.0 regression] Wrong warning about uninitialized variable


------- Additional Comments From rearnsha at gcc dot gnu dot org  2005-05-13 15:05 -------
It's nothing to do with ALWAYS.  It's to do with COULD BE.

There are values that blocksize COULD take that would lead to bytes being
uninitialized.  That's all the warning is telling you.

The compiler is correct to warn.

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


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


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