[Issue 10836] New: 'errors compiling the function' for optimized builds

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 17 07:48:05 PDT 2013


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

           Summary: 'errors compiling the function' for optimized builds
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-08-17 07:48:03 PDT ---
This could be a regression.


import std.stdio, std.array;
void main() {}


Compiling it with dmd 2.064alpha with:
dmd -O -release -inline -noboundscheck

It gives me:

...\dmd2\windows\bin\..\..\src\phobos\std\array.d: Error: function
std.array.Appender!(const(wchar)[]).Appender.Data.__xopEquals errors compiling
the function



While this program:

import std.array;
void main() {}


Gives me:

...\dmd2\windows\bin\..\..\src\phobos\std\uni.d(3547): Error: function
std.uni.TrieBuilder!(ubyte, dchar, 1114112, sliceBits!(13u, 21u),
sliceBits!(6u, 13u), sliceBits!(0u, 6u)).TrieBuilder.putAt errors compiling the
function

-- 
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