[Issue 12345] New: byLine.popFront() fails with 'Internal error: backend/cod2.c 2200' when compiled with '-inline' switch
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 11 02:42:24 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12345
Summary: byLine.popFront() fails with 'Internal error:
backend/cod2.c 2200' when compiled with '-inline'
switch
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: saurabh.das at gmail.com
--- Comment #0 from Saurabh Das <saurabh.das at gmail.com> 2014-03-11 02:42:20 PDT ---
Consider the file 'byLineError.d':
import std.stdio;
void main()
{
auto f = File("test");
f.byLine.popFront();
}
When I compile:
dmd byLineError.d --- succeeds
dmd -inline byLineError.d --- fails with 'Internal error: backend/cod2.c 2200'
I'm running dmd version "DMD64 D Compiler v2.065" on Linux. I don't have access
to Windows/OSX PCs to test it on those OSes.
Note that this variation works:
void main()
{
auto f = File("test");
auto x = f.byLine;
x.popFront();
}
Thanks,
Saurabh
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list