The solution is to file bug reports. Nobody wants bad codegen.
-
-
Replying to @al45tair
My point with this thread is that that is not a solution. Constantly breaking codegen is the problem. Filing bug reports just continues the cycle of constantly breaking codegen. The solution is to fix the process to that the compiler does not have codegen regressions.
2 replies 0 retweets 1 like -
Replying to @cmuratori
The fix for that is for the compiler to have tests that exercise the cases you care about. The way that happens is for you to file bug reports. Otherwise we don’t know what you care about, and might not know it’s broken.
1 reply 0 retweets 0 likes -
Replying to @al45tair
I'm not sure I can make this any clearer. You can't file a bug report _for something that you don't know happened_. What was I supposed to file a bug report on? Code that _was_ working, so they would know not to break it??
1 reply 0 retweets 1 like -
Replying to @cmuratori
No. When it breaks, file a bug report. Then someone will (a) fix it and (b) add tests to make sure it doesn’t get broken again. I know it’s annoying, but the reality is that compilers are large programs and sometimes things get broken. The test suite is how we avoid that.
1 reply 0 retweets 0 likes -
Replying to @al45tair
Let me just move the needle back to the beginning of the record and turn the volume up: THE POINT IS THAT CLANG CODEGEN BREAKS CONSTANTLY FOR ME ON TRIVIAL CODE. THIS THREAD IS ME TRYING TO SAY THAT THE SHIPPING PROCESS IS BROKEN. OTHER COMPILERS DO NOT SEEM TO HAVE THIS PROBLEM.
1 reply 0 retweets 2 likes -
Replying to @cmuratori @al45tair
TELLING PEOPLE TO FILE BUG REPORTS IS NOT A SOLUTION TO A PROCESS WHEREBY TRIVIAL CODE HAS VERY BAD CODEGEN ALL THE TIME. IT POINTS TO AN INHERENT PROBLEM IN THE WAY THE CODE IS MAINTAINED OR TESTED THAT NEEDS TO BE FIXED.
2 replies 0 retweets 2 likes -
Replying to @cmuratori
:-D I’m sure posting in all caps on Twitter is very satisfying. It isn’t likely to do much about the problem, however. Any chance you could post the Godbolt links to the code snippets in question?
1 reply 0 retweets 0 likes -
-
Replying to @cmuratori @al45tair
I'm not sure what you mean by "snippets", but if you mean other codegen things, they have all been reported as bugs already. If you just want to see them in action, here is an example of a typical CLANG experience for me:https://youtu.be/R5tBY9Zyw6o?t=5944 …
1 reply 0 retweets 0 likes
(One of the nice things about programming on stream is that people report the CLANG bugs for me - that one got reported _while I was still streaming_ IIRC)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.