Raffaello Giulietti wrote:
> Hello,
> 
> the gcc compiler (I'm using 4.3.3) correctly complains about "jump to
> case label ... crosses initialization" twice.
> 
> In fact, when declaring a var "inside" a case in a switch, braces are
> needed to make a block out of the statements. Otherwise the declaration
> has a wider scope than the case.

Right, thanks for the finding.  I will push these changes with my next
commit.

-- Christian
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to