www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11726] New: Internal error in 2.064.2

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11726

           Summary: Internal error in 2.064.2
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: jlquinn optonline.net


--- Comment #0 from Jerry Quinn <jlquinn optonline.net> 2013-12-11 08:15:22 PST
---
ice.d:

import std.array;
struct A {}
struct B {
  A[] a;
  void foo() {
    auto app = appender(&a);
    app.reserve(x.foo());
  }
}

/home/jlquinn/dmd2/linux/bin64/dmd -c ice.d
Statement::toCBuffer()

Internal error: s2ir.c 135

Ubuntu 13.04 x86_64

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 11 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11726


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
            Summary|ICE with ufcs on undefined  |ICE with ufcs on undefined
                   |identifier                  |identifier and opDispatch


--- Comment #1 from yebblies <yebblies gmail.com> 2013-12-12 22:43:58 EST ---
struct S
{
    auto opDispatch(string fn, Args...)(Args args)
    {
    }
}

void main() {
    S().reserve(x.foo());
}

https://github.com/D-Programming-Language/dmd/pull/2954

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11726



--- Comment #2 from github-bugzilla puremagic.com 2013-12-12 13:45:00 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e36b695165ed055f704d14e613df35d707bd739d
Fix Issue 11726 - ICE with ufcs on undefined identifier and opDispatch

https://github.com/D-Programming-Language/dmd/commit/0e583e5e69ef4e57fab2fda2d4418de21cf64a81
Merge pull request #2954 from yebblies/issue11726

Issue 11726 - ICE with ufcs on undefined identifier and opDispatch

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 12 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11726


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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