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

Upgrade frontend & libs to v2.104.2 #4440

Merged
merged 211 commits into from
Jul 28, 2023
Merged

Conversation

kinke
Copy link
Member

@kinke kinke commented Jul 15, 2023

No description provided.

ibuclaw and others added 30 commits March 1, 2023 23:17
* Rename CompileDeclaration to MixinDeclaration

* Rename isCompileDeclaration to isMixinDeclaration

* Regen frontend.h
* Rename CompileStatement to MixinStatement

* Rename isCompileStatement to isMixinStatement

* rename STMT.Compile to STMT.Mixin

* Regen frontend.h
* Fix Issue 22039 - ICE on infinite recursion in default parameter (dlang/dmd!14934)

* remove IRState.falseBlock - stable version

---------

Co-authored-by: Razvan Nitu <[email protected]>
Co-authored-by: Walter Bright <[email protected]>
This makes it more obvious that attr is non-null only in a specific case.
The shift call was only used from one place, the associative array parseType.
Removing it makes code much clearer.
They don't depend on template parameters and are static, so take them out of there.
There was only one usage and it wasn't using the return type.
There is a call to a noreturn function just before
It will error out if we try to compile druntime with `-preview=in`,
because we can't use `in` on non `extern(D)` / `extern(C++)` functions.
This should nudge people into using '-preview=in' and clear up
the remaining projects which are incompatible with it.
…4902)

* fix Issue 23727 - ImportC support imaginary real numbers

* fix Issue 23727 - ImportC support imaginary real numbers
…dmd!14951)

This error was introduced in `-preview=in` in v2.101.0.
In order to make `-preview=in` the default, we add a deprecation
even if `-preview=in` is not used.
CyberShadow and others added 11 commits July 6, 2023 12:20
…(dlang/dmd!15186)

* Fix Issue 23890 - "Warning: cannot inline function" in core.lifetime

* druntime/test/profile: Divorce test from exact Druntime source numbers

Allow lines to move around in core/lifetime without affecting this test.
…this + ICE when using traits(hasMember) on an erroneous member (dlang/dmd!15406)

* Fix Issue 23951 - traits(getMember) does not follow alias this

* Fix Issue 23279 - ICE when using traits(hasMember) with an erroneous member
v2.104.2

Conflicts:
	dmd/cppmanglewin.d
	dmd/expression.d
	dmd/expression.h
	dmd/expressionsem.d
	dmd/globals.d
	dmd/mars.d
	dmd/root/port.d
	dmd/statementsem.d
	dmd/target.h
	tests/dmd/compilable/stdcheaders.c
	tests/dmd/runnable/testpdb.d
Fixing dmd-testsuite's compilable/testcomplex.i for targets with
64-bit real.
…clspec(naked) / __attribute__((naked))

These attributes are apparently treated as if the function body
started with `asm { naked; }`, where LDC only accepts DMD-style
inline asm statements for that function body. `@naked` wouldn't
be an option either, as that includes skipping our prologue, so
accessing parameters is only safe in asm via register/stack slot
directly.
@kinke kinke marked this pull request as ready for review July 23, 2023 22:50
@kinke kinke merged commit 1a93fc7 into ldc-developers:master Jul 28, 2023
23 of 24 checks passed
@kinke kinke deleted the merge-2.104 branch July 28, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.