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++/57917] -Wuninitialized


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your code is equivalent to:

  int i;  // uninitialized
  i = 1;  // now it's initialized

This should not give a warning.


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