https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85984
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu May 31 19:51:50 2018 New Revision: 261038 URL: https://gcc.gnu.org/viewcvs?rev=261038&root=gcc&view=rev Log: PR target/85984 * bb-reorder.c (pass_partition_blocks::gate): Return false for functions with naked attribute. * gcc.target/i386/pr85984.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr85984.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/bb-reorder.c branches/gcc-8-branch/gcc/testsuite/ChangeLog