https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80986
--- Comment #1 from linzj <manjian2006 at gmail dot com> --- >From the peek of -fdump-tree-tu-all, the translation unit already get the function_type wrong. Before use the auto, the function type has the attribute pcs. But after the auto use, the function type has dropped the attribute pcs.