https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127693
--- Comment #22 from Thiago Macieira <thiago at kde dot org> --- (In reply to Richard Biener from comment #21) > OK, so I have fixed two other reasons why FRE would give up. Can you > re-check (I don't have Qt headers ready). I've just compiled GCC. I can't compile my standard QtCore with it because LTO is ICE'ing. I'll try compiling without LTO next to run the actual testcase that had failed. Inspecting the assembly generated for the last testcase in comment 18, GCC is now correctly generating calls to qustrchr(). PS: have I mentioned I'd like a __builtin_strchr16()?
