[Issue 22877] importC: wrong sizeof for string literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 2 03:12:02 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22877
--- Comment #8 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ljmf00 updated dlang/dmd pull request #14058 "fix(backend): define XMM
load/store codegen for short type variants" mentioning this issue:
- Amend prior fix for issue 22877
Aligns ImportC's treatment of string literals with C11 by typing them as
static arrays
Also fixes `typeof(&"")` returning string length instead of pointer size
https://github.com/dlang/dmd/pull/14058
--
More information about the Digitalmars-d-bugs
mailing list