https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823
--- Comment #5 from Paul Eggert ---
Also see bug 43 for a related performance issue, which is perhaps more
important given the current state of bleeding-edge GNU diffutils.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823
Alexander Monakov changed:
What|Removed |Added
CC||amonakov at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823
--- Comment #3 from Andrew Pinski ---
The gimple level looks like:
```
if (_54 >= 0)
goto ; [90.00%]
else
goto ; [10.00%]
[local count: 63261141172]:
_18 = (unsigned int) _54;
goto ; [100.00%]
...
len_37 = mbrtoc32 (,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823
--- Comment #2 from Paul Eggert ---
Created attachment 55645
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55645=edit
code-mbcel1.s with the optimization suggested in the bug report
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823
--- Comment #1 from Paul Eggert ---
Created attachment 55644
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55644=edit
gcc -O2 -S output (from code-mbcel1.i)