<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: compiler lock up &amp;quot;internal error #413 please report to metrowerks&amp;quot; in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130293#M2400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;for( ; ; )&lt;BR /&gt;&lt;BR /&gt;did not work but&lt;BR /&gt;&lt;BR /&gt;while(true==1) &lt;BR /&gt;&lt;BR /&gt;did work&lt;BR /&gt;&lt;BR /&gt;rough and wooly compiler&lt;P&gt;Message Edited by jah on &lt;SPAN class="date_text"&gt;2006-09-15&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:33 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2006 21:32:07 GMT</pubDate>
    <dc:creator>jah</dc:creator>
    <dc:date>2006-09-15T21:32:07Z</dc:date>
    <item>
      <title>compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130290#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have the following compiler for the mc9s08rd60dwe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;codewarrior development studio for freescale hc(s)083.1 service pk fsicebase ver2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;running on win xp + sp2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in a working and established main.c i add the code "while(1);"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the compiler locks up and will not complete, it compiles w/o the while statement, and this code is used in several of our products for a year. i am using the while statement as a debug aid. the code does odd things when i place it in other areas of the code but it compiles. in the building screen (i only selected the compile icon) the Stop button has no effect?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 02:32:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130290#M2397</guid>
      <dc:creator>jah</dc:creator>
      <dc:date>2006-09-15T02:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130291#M2398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;i might also add if i add the following to main.c&lt;BR /&gt; int i=1;&lt;BR /&gt; while(i);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the compiler takes the statement ok w/o error.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 04:16:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130291#M2398</guid>
      <dc:creator>jah</dc:creator>
      <dc:date>2006-09-15T04:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130292#M2399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Jah,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I have previously gotten a compiler warning when using the &lt;FONT face="Courier New"&gt;while(1)...&lt;/FONT&gt; construct, but not compiler lockup.&amp;nbsp; So I substituted the &lt;FONT face="Courier New"&gt;for( ; ; )...&lt;/FONT&gt; construct and this avoided the warning.&amp;nbsp; I wonder if the compiler does not like there being nothing done within the infinite loop - I&amp;nbsp;actually had some code within the loop.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 10:17:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130292#M2399</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-09-15T10:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130293#M2400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;for( ; ; )&lt;BR /&gt;&lt;BR /&gt;did not work but&lt;BR /&gt;&lt;BR /&gt;while(true==1) &lt;BR /&gt;&lt;BR /&gt;did work&lt;BR /&gt;&lt;BR /&gt;rough and wooly compiler&lt;P&gt;Message Edited by jah on &lt;SPAN class="date_text"&gt;2006-09-15&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:33 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 21:32:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130293#M2400</guid>
      <dc:creator>jah</dc:creator>
      <dc:date>2006-09-15T21:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130294#M2401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello jah,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I am most surprised that the &lt;FONT face="Courier New"&gt;for()&lt;/FONT&gt; loop construct did not work, since this is used by the CW generated, default &lt;FONT face="Courier New"&gt;main()&lt;/FONT&gt; function, whenever a new project is&amp;nbsp;created.&amp;nbsp; There has to be another reason.&amp;nbsp; As a matter of curiosity, what error or warning do you get for this method?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I guess that &lt;FONT face="Courier New"&gt;while(true==1)&lt;/FONT&gt; would be the same as writing &lt;FONT face="Courier New"&gt;while(1==1).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 21:53:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130294#M2401</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-09-15T21:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130295#M2402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;yes the for( ; ; ) did not work but the while(j==0) or while(true==1) works. in some of my other builds there is no error so down stream in the code there is some small black spot that triggers this.&lt;BR /&gt;&lt;BR /&gt;i get "internal error #413" and some reference to a missing glbreg.c file on an F: drive. i never had a F: drive, nor do i want one.&lt;BR /&gt;&lt;BR /&gt;is this only on codewarrior 3.0 and fixed on 5.0????&lt;P&gt;Message Edited by jah on &lt;SPAN class="date_text"&gt;2006-09-15&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:50 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 22:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130295#M2402</guid>
      <dc:creator>jah</dc:creator>
      <dc:date>2006-09-15T22:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130296#M2403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, jah:&lt;BR /&gt;&lt;BR /&gt;What are your optimization settings? Have you tried turning optimizations off?&lt;BR /&gt;&lt;BR /&gt;It could be that CodeWarrior is having problems while optimizing, and the code optimizes to nothing.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 03:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130296#M2403</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2006-09-16T03:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: compiler lock up "internal error #413 please report to metrowerks"</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130297#M2404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;the while(1) causes the compiler is trying to remove dead code and gets into problems.&lt;BR /&gt;&lt;BR /&gt;where is the adj for the compiler.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 03:47:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/compiler-lock-up-quot-internal-error-413-please-report-to/m-p/130297#M2404</guid>
      <dc:creator>jah</dc:creator>
      <dc:date>2006-09-16T03:47:38Z</dc:date>
    </item>
  </channel>
</rss>

