Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge remote-tracking branch 'upstream/stable' into merge_stable #10484

Merged
merged 42 commits into from Dec 20, 2019

Conversation

MartinNowak
Copy link
Member

No description provided.

@dlang-bot
Copy link
Contributor

dlang-bot commented Oct 16, 2019

Thanks for your pull request, @MartinNowak!

Bugzilla references

Auto-close Bugzilla Severity Description
15069 regression [REG2.064] nonsense struct template instantiations still compile
19884 regression [regression] Error: alias op = op; cannot alias itself, use a qualified name to create an overload set
20092 critical void[1] auto slicing makes the compiler hang
20253 major bad debug line info for function without epilog
20264 critical ICE on illegal cast to vector.
20280 critical Compiler segfault when building two small files
20348 regression [Reg 2.089.0-rc.1] Bad debug info for enum forward references
20356 enhancement exceeding template expansion limits
20366 critical CTFE foreach_reverse on array with utf characters crashes compiler
20376 regression @disable this(ref return scope Foo rhs) enables broken binaries (out-of-bounds access)
20388 regression Parse error when compiling lambdas in mixins as template parameters
20420 regression [REG2.067] inlining error with a valid function
20431 minor Allow a Mixin Type to resolve to an expression where it makes sense

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

After Iain's cut-down in v2.089.
wilzbach and others added 20 commits November 3, 2019 11:43
[stable] Cherry-pick C++ mangling regression fix from master
An assert failed in AssignExpr sema because the VectorExp created for a particular case of cast was not analysed and hence had not type.
With the fix, and since the cast was illegal, a valid TypeError is now present.
fix issue 20264 - ICE on illegal cast to vector.
do not rewrite the length of the debug record, it is padded during allocation
* Raises the limit from 300 to 500 and gives clearer error msg.
* make the test give the right error msg
* moved the constant to globals.Global
* changed some more constants
* rename
Fix #20356 raises recursive expansion limit
merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
Index is not decremented which causes bounds checking error.
Fix issue 20366 - fix a programming bug in ctfe foreach_reverse code
Issue 20376 - @disable this(ref return scope Foo rhs) enables broken binaries (out-of-bounds access)
[stable] Slightly re-extend the C++ interface for LDC
Fix issue 20388 - Parse mixin as an expression in template parameters
…elf, use a qualified name to create an overload set
fix issue 19884 - [regression] Error: alias op = op; cannot alias its…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 15069 - nonsense struct template instantiations still compile
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix issue 20092 - void[1] auto slicing makes the compiler hang
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
rainers and others added 5 commits November 26, 2019 04:43
fix size of function by using the actual emitted code offset, not guessing from epilog data
do not emit line number for closing brace if the epilog was omitted
Fix Issue 20280 - Compiler segfault when building two small files
The destructor expression for variable declaration is not scanned, as well as the arguments prefix for the new expression.
Fix issue 20420 - some expressions are missed during by the inliner
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
BorisCarvajal and others added 12 commits December 5, 2019 08:37
fix Issue 20416 - [Regression 2.073.2] compiler complains about escap…
Fix issue 20431 - Allow a Mixin Type to resolve to an expression
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
fix Issue 20349 - [REG2.087] ICE with sqrt
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
CIRCLE_STAGE is either `pic` or `-no_pic`, not `build` or some other
value.
Fix circle CI issue "MODEL: unbound variable"
fix Issue 20441 - Wrong code with -O -fPIC and pointer subtraction
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
@MartinNowak MartinNowak merged commit 403f336 into dlang:master Dec 20, 2019
@MartinNowak MartinNowak deleted the merge_stable branch December 20, 2019 07:54
WalterBright pushed a commit to WalterBright/dmd that referenced this pull request Dec 21, 2019
@WalterBright
Copy link
Member

Never mind that commit I did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet