Thread overview
[Issue 8610] New: Compilation loop with enum
Oct 25, 2012
Andrej Mitrovic
[Issue 8610] Compiler hangs with enum x=x;
Oct 31, 2012
Don
Oct 31, 2012
timon.gehr@gmx.ch
September 02, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8610

           Summary: Compilation loop with enum
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2012-09-02 12:17:29 PDT ---
This seems to put dmd 2.061alpha in loop:

enum int x = x;
void main() {}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 25, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8610


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-10-25 12:00:33 PDT ---
I can recreate in 2.060, can you too? FWIW when making these reports it's always good to test them with the official release first to verify this bug wasn't introduced in git HEAD.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 25, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8610


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |regression


--- Comment #2 from bearophile_hugs@eml.cc 2012-10-25 14:14:27 PDT ---
(In reply to comment #1)

> I can recreate in 2.060, can you too?

I am still seeing the loop. So I think it's a regression of dmd 2.061alpa.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8610


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |clugdbug@yahoo.com.au
            Summary|Compilation loop with enum  |Compiler hangs with enum
                   |                            |x=x;
           Severity|regression                  |normal


--- Comment #3 from Don <clugdbug@yahoo.com.au> 2012-10-31 05:54:17 PDT ---
Not a regression. Behaved exactly the same in 2.057. This has never worked.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8610


timon.gehr@gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |timon.gehr@gmx.ch
         Resolution|                            |DUPLICATE


--- Comment #4 from timon.gehr@gmx.ch 2012-10-31 09:16:48 PDT ---
*** This issue has been marked as a duplicate of issue 7209 ***

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