<?xml version="1.0" encoding="windows-1252"?>
<node id="1013834" title="Re^2: How does 'goto LABEL' search for its label? (call stack)" created="2013-01-17 12:41:32" updated="2013-01-17 12:41:32">
<type id="11">
note</type>
<author id="616540">
moritz</author>
<data>
<field name="doctext">
&lt;p&gt;Thanks [tye], your reply did clear up a few things.&lt;/p&gt;

&lt;p&gt;I had two problems with my mental model. I didn't remember that that &lt;c&gt;if (0) { }&lt;/c&gt; gets optimized away. I also wrongly assumed that each block produces a stack frame.

&lt;blockquote&gt;As for there being a new warning for "if(1){X:...} goto X:", I lack the details for why this got deprecated.&lt;/blockquote&gt;

&lt;p&gt;I didn't find many details either, just that without it, the implementation of lexpads would be much simpler and saner.&lt;/p&gt;

&lt;p&gt;Now I must go back and study the crufty error handling code I inherited, and see if it can be rescued (or if I can safely argue that it must be rewritten to use something saner).&lt;/p&gt; 

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-616540"&gt;
[http://perl6.org/|Perl 6 - the future is here, just unevenly distributed]
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1013574</field>
<field name="parent_node">
1013695</field>
</data>
</node>
