Skip to content

Conversation

@MartinNowak
Copy link
Member

Conflicts:
src/dmd/backend/cgobj.d
src/dmd/typesem.d

Basile Burg and others added 30 commits July 2, 2019 15:41
fix issue 19295 - ICE when taking address of member function passed as template parameter
Fix issue 20022: [POSIX] extern(C++, "namespace") does not apply namespace to enum
Fix Issue 20025 - alias this combined with a copy constructor seems to lead to undefined behaviour.
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Fix typo in dmd.func.setUnsafe description
…ackend-typo-strikes-again

Fix issue 17885: use the correct expression's type when creating temporary for remove() call
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 19708 - Can't use __traits(getAttributes, ...)[...] as a type
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
remove field to match a recent change in mtype.d
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 20011, 17828 - crash or accept write operation on members of manifest constant structs
merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
Fix bug 20035 - segfault in vcg-ast
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
… not silently corrupt memory in release builds
use same limit on debug record length in debug and release builds
merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
Fix issue 20039: when checking for an existing template instance, tolerate expressions without types.
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
a C++ dtor gets its vtblIndex later (and might even be added twice to the vtbl)
fix debug assertion for C++ dtor
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 20042 - __vector CTFE crashes the compiler
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 20045 - bogus error: "integer constant expression expected instead of (uint).sizeof
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 20044 - Compiler crash when using an opaque struct as template parameter
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Fix issue 20052 - SIMD 32 bytes segfault
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
RazvanN7 and others added 21 commits July 17, 2019 17:18
Fix Issue 930 - Templates inside templates used as mixins
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 19950 - access violation at compile time, possibly via template constraint and alias interaction
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Fix issue 20063 - Patch closure variables when converting expressions to delegates
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 11856 - segfault with circular template constraints
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
add missing c++ headers change from dlang#10205
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
…iterals (dlang#10197)

Fix issue 20065: support empty AliasSeq tuples in compiletime array literals
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 20067 - [REG2.086] foreach no longer works on range with alias front
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
…ar` for type `some.Type`, did you mean `some.Type.__anonymous.somevar`?
fix Issue 20072 - [2.087.0] Mixin templates: no property `somevar` for type `some.Type`, did you mean `some.Type.__anonymous.somevar`?
…ields rvalue"

This reverts commit 91e7151.

Conflicts:
	src/dmd/expressionsem.d
	src/dmd/typesem.d
	test/fail_compilation/fail17491.d
reverts most of PR 10205, now fixing the existing recursion check.
[stable] Revert "Fix Issue 19754 - cast() sometimes yields lvalue, sometimes yields rvalue"
redo fix for issue 11856: segfault with circular template constraints
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Conflicts:
	src/dmd/backend/cgobj.d
	src/dmd/typesem.d
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @MartinNowak!

Bugzilla references

Auto-close Bugzilla Severity Description
17828 normal [ICE] Internal error: ddmd/backend/cgcs.c 352 - CTFE appending to an array on a struct from a template
17885 critical Unable to remove a tuple from associative array.
19295 regression ICE when taking address of member function passed as template parameter
19708 normal Can't use __traits(getAttributes, ...)[...] as a type
20011 regression [REG] modification of member of a manifest constant that's also a struct is allowed
20022 regression POSIX: extern(C++, namespace) does not apply namespace to enum
20025 normal alias this combined with a copy constructor seems to lead to undefined behaviour.
20035 critical [ICE] Segmentation fault in ExpressionPrettyPrintVisitor::visit(IntegerExp*) at dmd/hdrgen.d:1775
20039 normal ICE from double template instantiation with getMember of overload of class and template function
20042 major __vector CTFE crashes the compiler
20044 critical Compiler crash when using an opaque struct as template parameter
20045 normal bogus error: "integer constant expression expected instead of (uint).sizeof"
20052 critical SIMD 32 bytes causes obscure segfault

Testing this PR locally

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

dub fetch digger
dub run digger -- build "master + dmd#10254"

@rainers
Copy link
Member

rainers commented Jul 31, 2019

@MartinNowak Sebastian already did the fixups: #10232 One commit missing, though.

@Geod24
Copy link
Member

Geod24 commented Aug 1, 2019

#10232 has been merged

@Geod24 Geod24 closed this Aug 1, 2019
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.