https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Aug 30 11:19:17 2019 New Revision: 275077 URL: https://gcc.gnu.org/viewcvs?rev=275077&root=gcc&view=rev Log: Backported from mainline 2018-12-07 Jakub Jelinek <ja...@redhat.com> PR target/85593 * final.c (rest_of_handle_final): Don't call collect_fn_hard_reg_usage for functions with naked attribute. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/final.c