Thread overview | |||||
---|---|---|---|---|---|
|
April 20, 2022 [Issue 23040] importC: optimizer rejects null dereference of volatile pointer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23040 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> --- volatile is ignored in ImportC because the D type system has no concept of volatile. -- |
December 17, 2022 [Issue 23040] importC: optimizer rejects null dereference of volatile pointer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23040 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
April 09, 2023 [Issue 23040] importC: optimizer rejects null dereference of volatile pointer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23040 --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> --- You can work around it with something like: static void* p; *(unsigned int*)p = (unsigned int) 0xdeadbeefUL; -- |
Copyright © 1999-2021 by the D Language Foundation