https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65358
--- Comment #18 from ktkachov at gcc dot gnu.org --- (In reply to Honggyu Kim from comment #17) > (In reply to ktkachov from comment #16) > > I'm working on a patch btw. > > This bug is only shown in arm code so maybe the bug is in gcc/config/arm > directory. > I was trying to fix it myself but I may need more experience in gcc code to > fix this kind of problem. > Thank you. I believe this bug could be triggered on any target/ABI that can pass aggregate arguments (i.e. structs) partially in regs and partially on the stack and the fix I'm working on is in the midend.