4 ms·
I'm now curious about how are you abusing your compilers. I've never seen GCC crash because of the code I've written.
by rbanffy 7y ago
I'm now curious about how are you abusing your compilers. I've never seen GCC crash because of the code I've written.
- RcouF1uZ4gsC 7y agoTry C++ template meta programming. I lost count of the number of times I have crashed Clang and GCC.
- ndesaulniers 7y agoOnce you start throwing tens of millions of lines at them, crashes become quite more frequent.
- throwaway_pdp09 7y agoTo all the people who will now let us know that GCC crashes for them (and I've no doubt it does, I'm not questioning your honesty), do you put in bug reports?
- rurban 7y agoIf they care yes. For gcc it's an unpleasant experience. And minimizing the testcases is an art lost to me. For llvm it's pleasent.
- rurban 7y agoUsing the latest features. Like -O4 -flto=4 cef retpoline and such. But mostly it's the simple things, like the string library, which broke in 9. Only 50% of the added bugs fixed so far. They are moving too fast.