https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86519
--- Comment #7 from qinzhao at gcc dot gnu.org --- the root cause for this bug is: for the following call to memcmp: __builtin_memcmp (s->s, "a", 3); the specified length 3 is larger than the length of "a", it's clearly a out-of-bound access. This new testing case is try to claim that, For such out-of-bound access, we should NOT expand this call at all. The new added in-lining expansion was prohibited under such situation, However, the expansion to hardware compare insn (old code) is NOT prohibited under such situation. on powerPC, the above call to memcmp is expanded to hardware compare insn. therefore, the testing case failed.