D.gnu - [Bug 108] New: ICE using attribute("forceinline")
- gdc-bugzilla gdcproject.org (62/62) Mar 15 2014 Date: Sun, 16 Mar 2014 04:50:11 +0000
Date: Sun, 16 Mar 2014 04:50:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" http://bugzilla.gdcproject.org/show_bug.cgi?id=108 Bug ID: 108 Summary: ICE using attribute("forceinline") Classification: Unclassified Product: GDC Version: 4.8.x Hardware: ARM OS: Other Status: NEW Severity: major Priority: Normal Component: gdc Assignee: ibuclaw gdcproject.org Reporter: slavo5150 yahoo.com * arm-none-eabi-gdc with ARM thumb support built 2014-03-16 from github 4.8 branch. * built using instructions on wiki (http://wiki.dlang.org/Bare_Metal_ARM_Cortex-M_GDC_Cross_Compiler) *********** Code to reproduce *********** import gcc.attribute; attribute("forceinline") static void test() { trace.WriteLine("Here"); } void main() { test(); } *********** Output *********** internal compiler error: in build_attributes, at d/d-codegen.cc:867 0x638b43 build_attributes(Array<Expression>*) ../../gcc-4.8.2/gcc/d/d-codegen.cc:867 0x64297c setup_symbol_storage(Dsymbol*, tree_node*, bool) ../../gcc-4.8.2/gcc/d/d-objfile.cc:1833 0x637256 FuncDeclaration::toSymbol() ../../gcc-4.8.2/gcc/d/d-decls.cc:402 0x644901 FuncDeclaration::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:1159 0x641d7e AttribDeclaration::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:158 0x641d7e AttribDeclaration::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:158 0x641d7e AttribDeclaration::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:158 0x641d7e AttribDeclaration::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:158 0x641f46 TemplateInstance::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:890 0x64399e ClassDeclaration::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:239 0x641f46 TemplateInstance::toObjFile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:890 0x64631e Module::genobjfile(int) ../../gcc-4.8.2/gcc/d/d-objfile.cc:1510 0x6366b2 d_parse_file() ../../gcc-4.8.2/gcc/d/d-lang.cc:1125 -- You are receiving this mail because: You are watching all bug changes.
Mar 15 2014