www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4892] New: Infinite loop when compiling a recursive alias declaration

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

           Summary: Infinite loop when compiling a recursive alias
                    declaration
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: siegelords_abode yahoo.com


--- Comment #0 from siegelords_abode yahoo.com 2010-09-18 16:17:11 PDT ---
This code:

alias a b;
alias b a;

a x;

Results in a infinite loop when compiled in DMD 1.064 after reporting these
errors:
test.d(1): Error: alias test.b recursive alias declaration
test.d(1): Error: alias test.b recursive alias declaration

DMD 1.061 does not exhibit this behaviour.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 18 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4892


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
                 CC|                            |clugdbug yahoo.com.au
            Summary|Infinite loop when          |Regression(1.062, D1 only)
                   |compiling a recursive alias |Stack overflow when
                   |declaration                 |compiling a recursive alias
                   |                            |declaration
           Severity|normal                      |regression


--- Comment #1 from Don <clugdbug yahoo.com.au> 2010-09-20 08:10:25 PDT ---
Regression since 1.062; D1 only.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 20 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4892


Iain Buclaw <ibuclaw ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw ubuntu.com


--- Comment #2 from Iain Buclaw <ibuclaw ubuntu.com> 2011-04-19 17:40:33 PDT ---
*** Issue 5863 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 19 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4892


Iain Buclaw <ibuclaw ubuntu.com> changed:

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


--- Comment #3 from Iain Buclaw <ibuclaw ubuntu.com> 2011-04-20 00:03:07 PDT ---
And this is a duplicate of 5086.

*** This issue has been marked as a duplicate of issue 5086 ***

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