[Issue 1054] New: regression: circular aliases cause segfaults

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 11 23:25:04 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1054

           Summary: regression: circular aliases cause segfaults
           Product: D
           Version: 1.009
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


# alias a b;
# alias b a;
#
# b x;

dmd -c a.d -> segfaults

# alias a b;
# alias b a;

dmd -c a.d -> compiles even though it shouldn't

test cases:
http://dstress.kuehne.cn/nocompile/a/alias_30_G.d
http://dstress.kuehne.cn/nocompile/a/alias_30_J.d
http://dstress.kuehne.cn/nocompile/a/alias_30_K.d
http://dstress.kuehne.cn/nocompile/e/enum_44_E.d


-- 



More information about the Digitalmars-d-bugs mailing list