-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
[REG2.064] Issue 12144 - Unresolved xopEquals when referenced by dynamic array constructor #3256
Conversation
|
OK, ready to review. @MartinNowak how about this? |
|
I think I like my solution better, but I'll have a closer look later. |
|
I agree we must not generate type info from the glue code, especially if we want to support RTInfo. I doubt you captured all the places where this happens. See how many places I had to patch to get complete(?) RTInfo: |
|
I agree with that eagerly generating TypeInfo for all types is the most easiest way to fix the issue. But I'm also afraid that doing it will make compilation speed more slower. So I'd like to keep "on-demand" semantic for TypeInfo generation. This is necessary and sufficient change to fix the regression issue. |
|
Let's at least add an assertion to
Why would it? You're outputting a few extra bytes that are most likely needed anyhow. If you generate that on-demand you might need to do it multiple times, have to rerun semantic3 and the linker has to deduplicate it. If someone is using a complex RTInfo it only gets worse. |
|
Auto-merge toggled on |
Reduce redundant Expression generation in glue layer
|
Auto-merge toggled off |
|
Sorry, please wait a while to merge this. Maybe I completely misunderstand the issue. I'd reconsider the issue. |
|
The issue is fairly simple, sometimes we call |
That's right! I didn't understand the issue until now! |
|
Sign... I tried to implement my idea, but currently it would need more work. So I reverted this PR state. |
That's roughly my conclusion too, but as Rainer mentioned there are a few problem with structs declared in Deimos, because they don't require linkage. |
|
I'll merge this PR so it is necessary for the next release. |
[REG2.064] Issue 12144 - Unresolved xopEquals when referenced by dynamic array constructor
[REG2.064] Issue 12144 - Unresolved xopEquals when referenced by dynamic array constructor Conflicts: src/cast.c src/typinf.c Additional fix: src/expression.h
https://d.puremagic.com/issues/show_bug.cgi?id=12144
Run
semantic3for TypeInfo-related struct member functions.