<?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 Development ToolsのトピックRe: How to change optimize level for one function in codewarrior11?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1364048#M8659</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please try the following code for function optimization.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;__attribute__((optimize("O0")))void func(void)
{
/* Your code*/
}&lt;/LI-CODE&gt;
&lt;P&gt;Have a great day,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 18:44:56 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2021-10-29T18:44:56Z</dc:date>
    <item>
      <title>How to change optimize level for one function in codewarrior11?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1358258#M8639</link>
      <description>&lt;P&gt;I tried use&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma GCC push_options&lt;/P&gt;&lt;P&gt;#pragma GCC optimize("O0")&lt;/P&gt;&lt;P&gt;/*my code function*/&lt;/P&gt;&lt;P&gt;#pragma GCC pop_options&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after compiled the warning:#pragma GCC target is not supported for this machine [-Wpragmas]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other solutions?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 03:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1358258#M8639</guid>
      <dc:creator>Wangerxi</dc:creator>
      <dc:date>2021-10-20T03:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to change optimize level for one function in codewarrior11?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1358301#M8640</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;What's your chip part number? please let us know thus we can assign right engineer for your issue.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 05:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1358301#M8640</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-10-20T05:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change optimize level for one function in codewarrior11?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1358348#M8641</link>
      <description>&lt;P&gt;Chip number is S9KEA64&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 06:12:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1358348#M8641</guid>
      <dc:creator>Wangerxi</dc:creator>
      <dc:date>2021-10-20T06:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change optimize level for one function in codewarrior11?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1364048#M8659</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please try the following code for function optimization.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;__attribute__((optimize("O0")))void func(void)
{
/* Your code*/
}&lt;/LI-CODE&gt;
&lt;P&gt;Have a great day,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 18:44:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-change-optimize-level-for-one-function-in-codewarrior11/m-p/1364048#M8659</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2021-10-29T18:44:56Z</dc:date>
    </item>
  </channel>
</rss>

