Thread overview
[Issue 699] New: long variadic arguments and the "-profile" flag
Dec 19, 2006
d-bugmail
Dec 26, 2006
Thomas Kuehne
Dec 26, 2006
d-bugmail
Jan 04, 2007
d-bugmail
December 19, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=699

           Summary: long variadic arguments and the "-profile" flag
           Product: D
           Version: 0.178
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: funisher@gmail.com


might be related to #698

I get this error:

Internal error: ../ztc/cod3.c 1488

You can reproduce it with this:

// needs -profile flag
template LaLa(E...) {
        class LaLa {
                this() {

                }
        }
}

void main() {
        // doesn't work
        new LaLa!("lala", "lalalalala", "lala",
                "lala", "lala", "lala", "lalalala",
                "lala", "lala", "lala", "lalala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala");
}


-- 

December 26, 2006
d-bugmail@puremagic.com schrieb am 2006-12-19:
> http://d.puremagic.com/issues/show_bug.cgi?id=699

> might be related to #698
>
> I get this error:
>
> Internal error: ../ztc/cod3.c 1488
>
> You can reproduce it with this:
>
> // needs -profile flag
> template LaLa(E...) {
>         class LaLa {
>                 this() {
>
>                 }
>         }
> }
>
> void main() {
>         // doesn't work
>         new LaLa!("lala", "lalalalala", "lala",
>                 "lala", "lala", "lala", "lalalala",
>                 "lala", "lala", "lala", "lalala",
>                 "lala", "lala", "lala", "lala",
>                 "lala", "lala", "lala", "lala",
>                 "lala", "lala", "lala", "lala",
>                 "lala", "lala", "lala", "lala");
> }

I can't reproduce this with DMD-0.178 on Linux.

Thomas


December 26, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=699





------- Comment #2 from funisher@gmail.com  2006-12-26 11:46 -------
Hi Thomas, it still exists for me... btw, did you get my email about the array init test?

L3 ~ # cat test.d
// needs -profile flag
template LaLa(E...) {
        class LaLa {
                this() {

                }
        }
}

void main() {
        // doesn't work
        new LaLa!("lala", "lalalalala", "lala",
                "lala", "lala", "lala", "lalalala",
                "lala", "lala", "lala", "lalala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala");

}
L3 ~ # dmd -profile test.d
Internal error: ../ztc/cod3.c 1488
L3 ~ # dmd -v
Digital Mars D Compiler v0.178
Copyright (c) 1999-2006 by Digital Mars written by Walter Bright


-- 

January 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=699


bugzilla@digitalmars.com changed:

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




------- Comment #3 from bugzilla@digitalmars.com  2007-01-03 22:05 -------
Fixed DMD 1.00


--