https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80986
Bug ID: 80986 Summary: auto keyword variable lost its attributes Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: manjian2006 at gmail dot com Target Milestone: --- Created attachment 41476 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41476&action=edit Code. Hi, I compile skia for arm and this bug pop out. And after scope out a while, I think the auto key word drop the attribute pcs("aapcs-vfp"). The attachment is the code reproduce this bug. Before enable the macro RIGHT_CODE, the function call uses r2 r3 as argument passing register. After enable the macro RIGHT_CODE, the function call uses neon registers only. -- Lin Zuojian