gcc is a fine compiler but... 2020-03

By: Michael S (already5chosen.delete@this.yahoo.com), March 9, 2020 3:05 pm
Room: Moderated Discussions
The first gcc bashing thread of the new decode. Hopefully, not the last.


As you can see in foo1(), gcc9 finally figured out a peephole optimization that clang used since v.4 and Icc approximately forever.
Isn't it great? Of course it is, but ... as you can see in foo2(), if one tries to do the same not too complicated action twice, then compiler immediately forgets everything it knew about peepholes.
TopicPosted ByDate
gcc is a fine compiler but... 2020-03Michael S2020/03/09 03:05 PM
Reply to this Topic
Body: No Text
How do you spell purple?