re PR target/84146 (ICE with -mcet in dwarf2out_var_location, involving sigsetjmp)
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Feb 2018 20:32:45 +0000 (21:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 6 Feb 2018 20:32:45 +0000 (21:32 +0100)
commit486a2b66f0341c646b6df30e2bce6d7298305933
tree7c46a2da971cf452cbf57be6d41d898d1bc21f57
parent86f697aaa6ac674da3d402c57a58bd2e99fb8cb1
re PR target/84146 (ICE with -mcet in dwarf2out_var_location, involving sigsetjmp)

PR target/84146
* config/i386/i386.c (rest_of_insert_endbranch): Only skip
NOTE_INSN_CALL_ARG_LOCATION after a call, not anything else,
and skip it regardless of bb boundaries.  Use CALL_P macro,
don't test INSN_P (insn) together with CALL_P or JUMP_P check
unnecessarily, formatting fix.

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

From-SVN: r257431
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr84146.c [new file with mode: 0644]