Skip to content

Comments

merge stable#15608

Closed
ibuclaw wants to merge 13 commits intodlang:masterfrom
ibuclaw:merge_stable
Closed

merge stable#15608
ibuclaw wants to merge 13 commits intodlang:masterfrom
ibuclaw:merge_stable

Conversation

@ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Sep 15, 2023

RazvanN7 and others added 12 commits August 3, 2023 15:14
…ssed an opaque class (dlang#15495)

* Fix Issue 24066 - __traits(isAbstractClass) causes a segfault when passed an opaque class

* Update comment

Co-authored-by: Dennis <dkorpel@users.noreply.github.com>

---------

Co-authored-by: Dennis <dkorpel@users.noreply.github.com>
[stable] Make enum function a deprecation, not an error

Signed-off-by: Dennis <dkorpel@users.noreply.github.com>
Signed-off-by: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
Signed-off-by: Petar Kirov <PetarKirov@users.noreply.github.com>
Merged-on-behalf-of: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
…t recognized correctly as declarations.

The fix was simply to amend `isDeclarator` to look for TOK.goesTo (i.e. `=>`)
Without this limitation, the code could incorrectly concatenate
`["c"] ~ "a" ~ "b"` as `["c"] ~ "ab"`, which was incorrect.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
…for uClibc that only works when real and double are the same size
I guess the recent removal of module constructors in druntime has
brought these to light, for a little LDC ASan smoke test, which
newly complains with D v2.105, e.g.:

> Direct leak of 78624 byte(s) in 126 object(s) allocated from:
>     #0 0x55606978c40d in malloc /local/mnt/workspace/tmp/final/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3
>     #1 0x5560698050b1 in _D2rt5minfo11ModuleGroup9sortCtorsMFNbAyaZv
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Severity Description
24065 critical __traits(getTargetInfo) causes a segfault when passed a non value
24066 regression __traits(isAbstractClass) causes a segfault when passed an opaque class
24070 normal Opaque struct with nested definition when taking pointer segfaults
24078 regression [REG] crash related to concatenation
24079 normal core.sys.windows.winnt.IMAGE_FIRST_SECTION returns bad pointer
24088 minor A nested function that returns a tuple that is written with short syntax function does not want to compile.
24106 normal core.stdc.math provides an implementation of modfl for uClibc that only works when real and double are the same size

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#15608"

@ibuclaw ibuclaw closed this Sep 15, 2023
@ibuclaw ibuclaw deleted the merge_stable branch September 15, 2023 22:21
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.

9 participants