re PR target/85984 (ICE in create_pseudo_cfg, at dwarf2cfi.c:2874)
authorJakub Jelinek <jakub@redhat.com>
Thu, 31 May 2018 19:49:54 +0000 (21:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 31 May 2018 19:49:54 +0000 (21:49 +0200)
commit28c84b6247e1ff5f3c7aa4c4912c361012fa3904
tree29650364918c3f3a5e19f8490a14d0bd73152cc5
parent8b8003ed544bf7fd45192ad6b9429512dedc1a55
re PR target/85984 (ICE in create_pseudo_cfg, at dwarf2cfi.c:2874)

PR target/85984
* bb-reorder.c (pass_partition_blocks::gate): Return false for
functions with naked attribute.

* gcc.target/i386/pr85984.c: New test.

From-SVN: r261037
gcc/ChangeLog
gcc/bb-reorder.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr85984.c [new file with mode: 0644]