https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107208
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Keywords| |missed-optimization Component|c++ |rtl-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Most likely this is a register allocation issue. I suspect it is due to the way incoming and returns are represented for complex integer types. Note complex integer types are an extension to the c language so I doubt many people use them anyways.