<?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>CodeWarrior for MCU中的主题 Re: CodeWarrior MCU 11.1 Qorivva Compiler Bug</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094934#M15451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for taking the time to explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 May 2020 03:51:32 GMT</pubDate>
    <dc:creator>velvetcanyion</dc:creator>
    <dc:date>2020-05-28T03:51:32Z</dc:date>
    <item>
      <title>CodeWarrior MCU 11.1 Qorivva Compiler Bug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094931#M15448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm dealing with a compiler bug after update to MCU 11.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;internal compiler error (report to &amp;lt;cw_bug@freescale.com&amp;gt;)&lt;BR /&gt;&amp;gt;while executing in file 'Coloring.c' line: 690&lt;BR /&gt;&amp;gt;(compiling 'HVDEV_initialize' in 'HVDEV.c')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like other NXP compilers have the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/481623"&gt;S12 CW11 internal compiler error - report to cw_bug@freescale.com &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a workaround, deleted one code line, and got the MOT file built.&lt;/P&gt;&lt;P&gt;It's OTOH generated code, so manually editing it is not a long term option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When can we expect update of our compiler?&lt;/P&gt;&lt;P&gt;I'm using MPC5643L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale C/C++ Compiler for Embedded PowerPC.&lt;BR /&gt;Copyright(C) 2017, Freescale Semiconductor, Inc.&lt;BR /&gt;All rights reserved.&lt;BR /&gt;Version 4.3 build 317&lt;BR /&gt;Runtime Built: Oct 25 2018 22:51:23&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 10:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094931#M15448</guid>
      <dc:creator>bkiss</dc:creator>
      <dc:date>2020-04-29T10:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior MCU 11.1 Qorivva Compiler Bug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094932#M15449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bkiss@xaltenergy.com"&gt;bkiss@xaltenergy.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked with our compiler experts on this. In reference to the other thread you listed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff;"&gt;There's an error your program, which by definition of the C language standard, would cause undefined behavior of the compiler. Typically, undefined behavior would mean undefined at runtime, but the compiler protected the user against unpredictable runtime behavior by just exiting with an internal error.&lt;/P&gt;&lt;BLOCKQUOTE style="color: #333333; background-color: #ffffff; border-left: 1px solid #dfe1e6; margin: 10px 0px 0px 19px; padding: 10px 20px;"&gt;&lt;P&gt;Std_ReturnType Mcu_InitClock( void )&lt;BR /&gt;{&lt;BR /&gt;uint16 u16FRef, u16FVco;&lt;BR /&gt;uint8 u8SynDiv, u8RefFrq, u8VcoFrq, u8RefDiv;&lt;BR /&gt;uint8 u8Tmp, u8CpmuRefDivReg, u8CpmuSynrReg;&lt;BR /&gt;boolean bFound;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;Mcu_InitClock is declared and defined with return type Std_ReturnType.&lt;BR /&gt;The function does not return a value:&lt;/P&gt;&lt;BLOCKQUOTE style="color: #333333; background-color: #ffffff; border-left: 1px solid #dfe1e6; margin: 10px 0px 0px 19px; padding: 10px 20px;"&gt;&lt;P&gt;CPMUHTCTL = 0x00U;&lt;/P&gt;&lt;P style="margin: 10px 0px 0px;"&gt;CPMUVREGCTL = 0x01U;&lt;BR /&gt;// #endif&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;This is an error in the program.&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;So this may apply to your issue as well.&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #172b4d; background-color: #ffffff; margin: 10px 0px 0px;"&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 19:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094932#M15449</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2020-05-07T19:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior MCU 11.1 Qorivva Compiler Bug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094933#M15450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We checked our code, the case mentioned doesn't seem to apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code is&amp;nbsp;INIT functions generated my MATLAB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variables initialized to zeros, mostly.&lt;/P&gt;&lt;P&gt;Functions are all void foo_init(void) types.&lt;/P&gt;&lt;P&gt;I only have to comment out one line, something like "var = 0", and I get a binary.&lt;/P&gt;&lt;P&gt;Previous version of the compiler compiled this code without issues, and it passed unit test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2020 17:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094933#M15450</guid>
      <dc:creator>bkiss</dc:creator>
      <dc:date>2020-05-09T17:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior MCU 11.1 Qorivva Compiler Bug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094934#M15451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for taking the time to explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 03:51:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-MCU-11-1-Qorivva-Compiler-Bug/m-p/1094934#M15451</guid>
      <dc:creator>velvetcanyion</dc:creator>
      <dc:date>2020-05-28T03:51:32Z</dc:date>
    </item>
  </channel>
</rss>

