Skip to content

merge stable#14992

Merged
dlang-bot merged 14 commits intodlang:masterfrom
ibuclaw:merge_stable
Mar 16, 2023
Merged

merge stable#14992
dlang-bot merged 14 commits intodlang:masterfrom
ibuclaw:merge_stable

Conversation

@ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Mar 15, 2023

RazvanN7 and others added 13 commits March 2, 2023 12:57
At the moment, in dsymbolsem.d:1026, there is the following comment:
```
/* If a struct is all zeros, as a special case
 * set its initializer to the integer 0.
 * In AssignExp::toElem(), we check for this and issue
 * a memset() to initialize the struct.
 * Must do same check in interpreter.
 */
```
Turns out, the 'Must do same check in interpreter.' part was missing.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Severity Description
10886 normal Typeof on @Property function triggers 'wrong this' type error
16213 critical CTFE internal error with static array $ as template argument
21288 normal Wrong context pointer for alias this function
22039 regression ICE on infinite recursion in default parameter
23752 normal ImportC: can't take address of dereferenced void pointer
23758 regression [REG 2.103] Segfault accessing NewExp::argprefix from C++
23759 regression [REG 2.103][FTBFS] Undefined symbols for architecture i386: "__ZN7CTFloat6sprintEPcjc10longdouble"
23760 critical Error: unknown
23763 critical ICE on operations involving zero-initialized structs
23767 normal ImportC: ternary with null constant has wrong pointer type
23781 normal [ICE] Segmentation Fault when taking the address of a ref return at CTFE

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#14992"

@dlang-bot dlang-bot merged commit 47eea4c into dlang:master Mar 16, 2023
@ibuclaw ibuclaw deleted the merge_stable branch March 16, 2023 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants