------- 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 compilable. This is exactly the case, it's not that there's some sort of loop construct around the variable in question, it's top down sort of code like the example posted here, that initializes a variable, and uses that variable ABOVE the label, and not beyond the label. Thanx for checkin for this sort of thing, please allow valid instances to pass through without error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30054