<?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>LPCXpresso IDE中的主题 Re: internal compiler error</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569897#M19909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sat Feb 06 08:01:39 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;The compiler constructions/destructors are using the malloc/free library.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What purpose of malloc/free in 'ctor and 'dctor for stack objects? They are only special decorated functions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:04:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:04:27Z</dc:date>
    <item>
      <title>internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569891#M19903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sat Feb 06 03:13:31 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Building file: ../src/entry.cpp&lt;BR /&gt;Invoking: MCU C++ Compiler&lt;BR /&gt;arm-none-eabi-c++ -DNDEBUG -D__CODE_RED -O2 -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fno-rtti -fno-exceptions -Wa,-ahlnds=entry.asm -mcpu=cortex-m0 -mthumb -D__NEWLIB__ -MMD -MP -MF"src/entry.d" -MT"src/entry.d" -o"src/entry.o" "../src/entry.cpp"&lt;BR /&gt;../src/entry.cpp: In function 'void&amp;lt;unnamed&amp;gt;::CreateThreads()':&lt;BR /&gt;../src/entry.cpp:43: warning: unused variable 'b2'&lt;BR /&gt;../src/entry.cpp: In function 'void Reset_Handler()':&lt;BR /&gt;../src/entry.cpp:44: internal compiler error: in expand_expr_addr_expr_1, at expr.c:6854&lt;BR /&gt;Please submit a full bug report,&lt;BR /&gt;with preprocessed source if appropriate.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to "Preprocess only (-E)" but found nothing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569891#M19903</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569892#M19904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Sat Feb 06 04:42:21 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please send a project that contains everything we need to be able to reproduce the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569892#M19904</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569893#M19905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sat Feb 06 05:04:24 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Here it is. I have a question about virtual functions (before I use it in IAR): LPCXpresso requires _sbrk and allocates additional SRAM if using virtual 'dctor (without exceptions). Why?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569893#M19905</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569894#M19906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Sat Feb 06 06:29:10 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I get no errors when compiling that project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569894#M19906</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569895#M19907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sat Feb 06 06:35:01 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;I get no errors when compiling that project.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try "Release", "Debug" actually build well. LPCXpresso: Build id: 2010-01-22 (v3.2.2)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569895#M19907</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569896#M19908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Sat Feb 06 07:48:48 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting this. I think when you add more code to this example, I think you will find the problem will go away.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;re: your question on _sbrk: The compiler constructions/destructors are using the malloc/free library. You will need to link with the Newlib (nohost) library to link in these functions. Linker/Target/"Use C library"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569896#M19908</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569897#M19909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sat Feb 06 08:01:39 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;The compiler constructions/destructors are using the malloc/free library.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What purpose of malloc/free in 'ctor and 'dctor for stack objects? They are only special decorated functions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569897#M19909</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569898#M19910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Tue Feb 09 06:52:00 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569898#M19910</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569899#M19911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Feb 09 08:17:46 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Your destructors are causing operator delete() to be called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see this in the disassembly of the functions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569899#M19911</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569900#M19912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Tue Feb 09 08:26:49 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;Your destructors are causing operator delete() to be called.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For stack objects? What memory is allocated/deleted? Why MSVC 2008 SP1 Express and IAR do not such thing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569900#M19912</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569901#M19913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Feb 09 08:29:53 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't comment on what other compilers do. I think you will find any GCC-based C++ compiler will do the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569901#M19913</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569902#M19914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Feb 09 08:40:51 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, I just checked Visual Studio 2008 and it *does* call operator delete() in the destructors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569902#M19914</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: internal compiler error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569903#M19915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Tue Feb 09 08:51:08 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;Actually, I just checked Visual Studio 2008 and it *does* call operator delete() in the destructors.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have checked too. Yes, it does, but they are called in "A::`scalar deleting destructor'" and linker should throw them away as unreferenced. No need any _sbrk 'cos no new/delete in executable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:04:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/internal-compiler-error/m-p/569903#M19915</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:04:30Z</dc:date>
    </item>
  </channel>
</rss>

