[Issue 7042] Allocation of 'creal' array with 'new' fails when linking without /noi switch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 11 20:38:44 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=7042


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com
            Summary|Allocation of 'creal' array |Allocation of 'creal' array
                   |with 'new' fails when using |with 'new' fails when
                   |DMD and OptLink in tandem   |linking without /noi switch


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-11 20:38:39 PDT ---
The issue is with how the linker is invoked, not with DMD itself. Reduced
test-case:

void main()
{
    creal[] x = new creal[4];
}

$ dmd -c test.d

OK:

$ link test.obj /noi
$ test.exe

Hangs:

$ link test.obj
$ test.exe

/noi is short for /noignorecase

Perhaps we must always use /noi, in which case this is an invalid bug report.
Walter?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list