[Issue 22451] ASAN reports stack-overflow on mtype.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 29 18:00:34 UTC 2021


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

--- Comment #1 from Luís Ferreira <contact at lsferreira.net> ---
Along with other recursive expansions, the compiler should be able to detect
the stack overflows before exploding with stack protection mechanisms by
reading and comparing the stack size at runtime when such recursive expansions
happen.

--


More information about the Digitalmars-d-bugs mailing list