--- Comment #3 from jsm28 at gcc dot gnu dot org 2009-11-22 19:36 ---
Fixed by:
2009-06-15 Ian Lance Taylor
* 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.
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-09 01:05 ---
(In reply to comment #1)
> Why is this even an error, since neither 'i' or 'j' are referenced after the
> goto point...
Because that is what the C++ standard says ...
C defines this case slightly different.
--
--- Comment #1 from d3ck0r at gmail dot com 2006-12-09 01:02 ---
Why is this even an error, since neither 'i' or 'j' are referenced after the
goto point...
I started to post a similar bug, but that the bug is this error is entirely
inaccurate, and causes otherwise valid code to not be c