www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7926] New: segmentation fault on recursive string mixin

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

           Summary: segmentation fault on recursive string mixin
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: kolos80 bk.ru



---
$ cat > x.d
enum string a = "mixin(a);";
mixin(a);
$ dmd x.d
Segmentation fault

Tested on recent DMD >2.059 from master branch of GIT repository: HEAD is at
778aea7fa8fe9ce3be6f70c7c99b69fd17d6e0b1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 16 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7926


SomeDude <lovelydear mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear mailmetrash.com



PDT ---
On 2.059 Win32
PS E:\DigitalMars\dmd2\samples> dmd -c bug.d
Stack overflow

which I guess is what's to be expected.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 21 2012