Update frontend to dmd/stable#683
Conversation
5eb6cc7 to
0f8aa3c
Compare
|
Compiler seems fine now when building the parts of druntime and phobos it can. No compile-time ICE or failures when building druntime/phobos. Only reported missing symbols in object.d |
|
That's 2.081 right ? 👍 |
|
@Geod24 unless a release happened in the last seven hours since I looked, then it's still 2.081-beta. |
|
The first patch should be split up between frontend and glue changes. Some parts can be cherry picked into the C++ branch. |
f054cc8 to
46a7060
Compare
|
There's a number of ICEs introduced by the new frontend. Surprisingly a couple look suspiciously like memory corruption. Possibly coming from dinterpret.d, where in one example there's a |
e6a8829 to
efb6733
Compare
|
This 3 dozen commit mess is the reason why I don't do "release" merges anymore. Still many bugs to fix, still memory corruption bug in interpret3.d, many implementation regressions pushed upstream though. |
|
Thousands of unresolved tests were due to a link error have seen previously (there's an open upstream bug report on it). Reverted, and now we're down to something more manageable. |
277c6a9 to
c5c01b8
Compare
|
Looks like just around 4 things left to look at.
|
|
ICE in unittests is reproducible on master: Happens because dwarf2out doesn't handle DW interface types in |
b11fc9f to
e15fe5c
Compare
|
Looks like just the memory corruption to address. |
|
I think, I found a regression: module dub.generators.generator;
struct Package
{
@property string name() const
{
return null;
}
}
void ProjectGenerator()
{
string[string] targets;
void collectDependencies(ref string)
{
}
collectDependencies(targets[Package.init.name]);
}gives:
|
|
@belka-ew - I can reproduce on stable branch, so was not introduced by this change. Should raise a bug report though. |
|
ok. everything else looks fine |
|
OK, hitting merge, have plenty of time to fix bugs and iron out other parts. At least with this in we can do weekly merge updates with dmd. :-) Though having a quick look at the size/frequency of dlang/dmd@4473071 88 days ago As the idea was to catch problems introduced by dmd early in the development cycle. |
Only got as far as linking, no testing runtime problems yet...