[Issue 18189] [asan] stack-overflow in optelem

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 4 00:25:45 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18189

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
This is a stack overflow caused by having 4096 expression statements. The
compiler joins them with a commaexpression, and then recursively traverses it.
The best fix would be to convert it to an array or list of expression
statements, but that would have ripple effects throughout the back end.

--


More information about the Digitalmars-d-bugs mailing list