<?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: SP Debug info incorrect in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/SP-Debug-info-incorrect/m-p/136003#M1788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;First this is about the HC12 compiler, this was not mentioned in this thread.&lt;BR /&gt;&lt;BR /&gt;AFAIK, this warning should occur for plain C code only when the common code optimization is enabled. So if it disapears with -Onf, then you have to be careful with the displayed values of locals even if they are on the stack, but the generated code is correct. If it does not disapear, then I would recomment to provide a reproducible case here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Nov 2006 21:12:44 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2006-11-11T21:12:44Z</dc:date>
    <item>
      <title>SP Debug info incorrect</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/SP-Debug-info-incorrect/m-p/136001#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;HI,,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I get warning C12056: SP debug info incorrect because....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I found out what is wrong? In the help it says that is can be notting, or it can be o problem, how do I found out what is making the warning.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks in advance&lt;/DIV&gt;&lt;DIV&gt;Patrik&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 19:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/SP-Debug-info-incorrect/m-p/136001#M1786</guid>
      <dc:creator>patti</dc:creator>
      <dc:date>2006-11-09T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: SP Debug info incorrect</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/SP-Debug-info-incorrect/m-p/136002#M1787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;According to my own experience, this message is generated when you are modifying the value of the SP inside of a function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In order to evaluate in your case whether this is a serious issue, I would recommend you to submit an SR through our on line support page and get support people take a look at that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You will need to attached the project reproducing the trouble to the SR.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 18:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/SP-Debug-info-incorrect/m-p/136002#M1787</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-11-10T18:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: SP Debug info incorrect</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/SP-Debug-info-incorrect/m-p/136003#M1788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;First this is about the HC12 compiler, this was not mentioned in this thread.&lt;BR /&gt;&lt;BR /&gt;AFAIK, this warning should occur for plain C code only when the common code optimization is enabled. So if it disapears with -Onf, then you have to be careful with the displayed values of locals even if they are on the stack, but the generated code is correct. If it does not disapear, then I would recomment to provide a reproducible case here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2006 21:12:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/SP-Debug-info-incorrect/m-p/136003#M1788</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-11-11T21:12:44Z</dc:date>
    </item>
  </channel>
</rss>

