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


--- Comment #0 from bioinfornatics <bioinfornatics gmail.com> 2013-11-27
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


--- Comment #1 from bearophile_hugs eml.cc 2013-11-27 07:59:15 PST ---
(In reply to comment #0)
 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


--- Comment #2 from hsteoh quickfur.ath.cx 2013-11-27 20:36:42 PST ---
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



--- Comment #3 from bioinfornatics <bioinfornatics gmail.com> 2013-11-28
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



--- Comment #4 from Kenji Hara <k.hara.pg gmail.com> 2013-11-29 00:45:17 PST ---
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


--- Comment #5 from Kenji Hara <k.hara.pg gmail.com> 2013-11-29 02:38:19 PST ---
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



--- Comment #6 from github-bugzilla puremagic.com 2013-11-29 10:26:47 PST ---
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
Merge pull request #2901 from 9rnsr/fix11618

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