4892 – Regression(1.062, D1 only) Stack overflow when compiling a recursive alias declaration

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4892 - Regression(1.062, D1 only) Stack overflow when compiling a recursive alias declaration
Summary: Regression(1.062, D1 only) Stack overflow when compiling a recursive alias de...
Status: RESOLVED DUPLICATE of issue 5086
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: All All
: P2 regression
Assignee: No Owner
URL:
Keywords: ice-on-invalid-code
: 5863 (view as issue list)
Depends on:
Blocks:
Reported: 2010年09月18日 16:17 UTC by siegelords_abode
Modified: 2011年04月20日 00:03 UTC (History)
2 users (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description siegelords_abode 2010年09月18日 16:17:11 UTC
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.
Comment 1 Don 2010年09月20日 08:10:25 UTC
Regression since 1.062; D1 only.
Comment 2 Iain Buclaw 2011年04月19日 17:40:33 UTC
*** Issue 5863 has been marked as a duplicate of this issue. ***
Comment 3 Iain Buclaw 2011年04月20日 00:03:07 UTC
And this is a duplicate of 5086.
*** This issue has been marked as a duplicate of issue 5086 ***


AltStyle によって変換されたページ (->オリジナル) /