https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122853
--- Comment #7 from Zhongyao Chen <chenzhongyao.hit at gmail dot com> --- The issue was definitely with that commit. I updated to the newest commit, re-tested, and the bug is gone. A clue for the root cause is that removing __attribute__((noipa)) prevents the bug from reproducing. Anyway, this bug is resolved somehow by trunk.
