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/30054] -Wc++-compat does not catch goto past initialization



------- Comment #3 from jsm28 at gcc dot gnu dot org  2009-11-22 19:36 -------
Fixed by:

2009-06-15  Ian Lance Taylor  <iant@google.com>

        * c.opt (Wjump-misses-init): New warning.
        * c-opts.c (c_common_handle_option): Set warn_jump_misses_init for
        -Wall and -Wc++-compat if not already set.
        (c_common_post_options): Clear warn_jump_misses_init if it was not
        set.
[...]


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.5.0
         Resolution|                            |FIXED


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


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