-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
fix Issue 17098 - Takes hours to -O compile then fails with Internal … #10789
Conversation
…error: backend/cgreg.c 405
|
Thanks for your pull request, @WalterBright! Bugzilla references
|
|
This is a very minor regression and very ancient, so no need to go into stable. |
TL;DR Safe fixes should always go into stable, all the time. Maybe we should amend that DIP if we are not going to follow the process outlined in it. |
|
It's not a safety issue. |
|
"Safe fixes" => "Fixes that are safe to merge", as opposed to "fixes that require significant work / refactoring / change to existing code". But that is a good example on what part of the wording could use an update. |
|
This particular issue is very old and blocks nobody. The example for it is a toy program. Putting it into stable suggests to users that they should waste their time downloading a point release for this. Besides, all fixes carry an inherent risk of causing another problem, and for this PR, that would be further disruptive. The only reason to even fix this is a QoI dot-i-and-cross-t sort of thing. The rules do not take precedence over common sense. |
|
I'm ok with this not going into stable, but I am concerned about the missing test case. I do not doubt the implementation, but I fear that people might break this in the feature and we have no way of preventing that. |
|
I would include it, but having a test case that takes 2 hours to run is not very practical for the autotester. |
|
Isn't it possible to add a simplified test case that covers the |
|
I don't know how. You need a gigantic function to do it. |
fix Issue 17098 - Takes hours to -O compile then fails with Internal … Signed-off-by: Martin Krejcirik <mk@krej.cz>
…error: backend/cgreg.c 405
The long compilation times are not fixed, there's not much to be done about that as the behavior of the optimizer is inherently quadratic. But the test case compiles now.
The test case isn't included because it takes hours to compile.