https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86519

--- Comment #14 from qinzhao at gcc dot gnu.org ---
reported by christophe.l...@linaro.org:

After this change,(disable strcmp/strncmp inlining with O2 below and Os), I've
noticed that:
FAIL: gcc.dg/strcmpopt_6.c scan-rtl-dump-times expand "__builtin_memcmp" 6
on arm-none-linux-gnueabi
--with-mode thumb
--with-cpu cortex-a9
and forcing -march=armv5t via RUNTESTFLAGS

The log says:
gcc.dg/strcmpopt_6.c: pattern found 4 times
FAIL: gcc.dg/strcmpopt_6.c scan-rtl-dump-times expand "__builtin_memcmp" 6


although this is NOT the exactly same bug as this PR, I listed here to fix the
testcase all together with this PR.

Reply via email to