http://bugzilla.gdcproject.org/show_bug.cgi?id=120
Bug ID: 120 Summary: Inlining of some functions fails (arrays with qualified element types) Product: GDC Version: development Hardware: All OS: All Status: NEW Severity: normal Priority: Normal Component: gdc Assignee: ibuc...@gdcproject.org Reporter: johannesp...@gmail.com ---------------------- import gcc.attribute; import std.stdio; void main() { int[] arr = [1,2,3]; testArr(arr); } @attribute("forceinline") void testArr(const(int)[] a) { writeln(a); } ---------------------- /opt/gdc/bin/gdc test.d -finline -O1 -S test.d:11: error: inlining failed in call to always_inline 'testArr': mismatched arguments http://forum.dlang.org/thread/mailman.75.1396605155.19942.d....@puremagic.com -- You are receiving this mail because: You are watching all bug changes.