www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 853] New: Internal error: toir.c 182

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

           Summary: Internal error: toir.c 182
           Product: D
           Version: 1.00
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: lijat.me gmail.com


The code below causes an internal error in dmd.

johan Cyclop:~/Desktop/sylph$ cat test.d 
module test;
import st.stackcontext;

class Test{
        StackContext context;
        private void init(char[][] argvs){
                context=new StackContext({});
        }
        this(char[][] argvs){
                init(argvs);
        }
}

void main(char[][] args){
        new Test(args);
}

johan Cyclop:~/Desktop/sylph$ dmd -inline test.d
Internal error: toir.c 182
johan Cyclop:~/Desktop/sylph$


-- 
Jan 17 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=853






I can't reproduce this issue because module st.stackcontext is missing.


-- 
Feb 23 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=853







 I can't reproduce this issue because module st.stackcontext is missing.
 
It's from the stacktreads library http://www.assertfalse.com/projects.shtml. Sorry should have said that. --
Feb 23 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=853


thomas-dloop kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Linux                       |All





reduced test case:


















Added to DStress as
http://dsrtess.kuehne.cn/run/b/bug_toir_182_A.d
http://dsrtess.kuehne.cn/run/b/bug_toir_182_B.d
http://dsrtess.kuehne.cn/run/b/bug_toir_182_C.d
http://dsrtess.kuehne.cn/run/b/bug_toir_182_D.d
http://dsrtess.kuehne.cn/run/b/bug_toir_182_E.d


-- 
Feb 27 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=853


smjg iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com
           Keywords|                            |ice-on-valid-code





Please remember to assign keywords to bug reports.  To everybody reading this:
Please look through issues you've reported and check for missing keywords.


-- 
Sep 19 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=853


unknown simplemachines.org changed:

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





These tests all pass now on DMD 1.041 and 2.026.

-[Unknown]


-- 
Mar 29 2009