www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11618] New: Internal Compiler Error

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

           Summary: Internal Compiler Error
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bioinfornatics gmail.com



07:53:28 PST ---
Hi,

this code raise an Internal Compiler Error.

-> http://www.dpaste.dzfl.pl/985a2f42


After talking about this issue into d.learn

-> http://forum.dlang.org/thread/nvaqmtivvhrsaylzmscb forum.dlang.org

It seem that is maybe a bug

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


bearophile_hugs eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs eml.cc




 Hi,
 
 this code raise an Internal Compiler Error.
 
 -> http://www.dpaste.dzfl.pl/985a2f42
 
 
 After talking about this issue into d.learn
 
 -> http://forum.dlang.org/thread/nvaqmtivvhrsaylzmscb forum.dlang.org
 
 It seem that is maybe a bug
Please paste the code here or attach it here. But please try to minimize it first. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 27 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11618


hsteoh quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh quickfur.ath.cx



It would help to include the exact compiler error message too.

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




15:20:50 PST ---
Always when discussing into initial d.learn thread
 -> http://forum.dlang.org/thread/nvaqmtivvhrsaylzmscb forum.dlang.org
it appear they are at least 2 compiler issue 1/ https://d.puremagic.com/issues/show_bug.cgi?id=11627 2/ https://d.puremagic.com/issues/show_bug.cgi?id=11629 CTFE is a nice feature but it is not ready yet -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 28 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11618




Reduced test case:

struct Tuple(T...)
{
    T field;
    alias field this;
}
static assert({
    Tuple!(immutable dchar) result = void;
    auto addr = cast(dchar*) &result[0];
    *addr = dchar.init;
    return true;
}());

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


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull



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

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




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f4bd1b1786d4bdc8c075ebcdcc8076200ce00d80
fix Issue 11618 - Internal Compiler Error

https://github.com/D-Programming-Language/dmd/commit/534fedec3b522ff86732c0e00c2dcea4cbc471e7


Issue 11618 - Internal Compiler Error

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


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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