[Issue 14459] String literal merge bug causes incorrect runtime program behavior
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Aug 6 09:01:15 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14459
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
Hardware|x86 |All
OS|Mac OS X |All
--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4866(In reply to Dan Olson
from comment #3)
> Anyway, it is in the backend el.c stable[16] where the cache is defined.
> Also, the code in the frond end that does the const propagation of string
> literals is fromConstInitializer() in optimize.c
Fixed the bug in optimize.c:
https://github.com/D-Programming-Language/dmd/pull/4866
Honestly I didn't know about this issue until now (my random bugzila walk
fortunately hit). I'm curious why the detailed analysis result couldn't put out
actual PR.
--
More information about the Digitalmars-d-bugs
mailing list