[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 20 16:31:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259
--- Comment #33 from Martin Sebor <msebor at gcc dot gnu.org> ---
The following patch relaxes the optimization and handles the test suite
fallout:
https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00129.html
It just needs to be rebased on top of the current trunk and some minor tweaking
to respond to Jeff's concerns. I plan to update and resubmit it soon.
More information about the Gcc-bugs
mailing list