re PR debug/83621 (ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g)
authorJakub Jelinek <jakub@redhat.com>
Wed, 3 Jan 2018 20:59:50 +0000 (21:59 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 Jan 2018 20:59:50 +0000 (21:59 +0100)
commite3bd17639b20e009238b15b2354bb0e87e29703e
treea58435136e940314c87eea77cd3f32c0de08343a
parente3a174d0d1eef07442fca5867cfcdd05f3b845f8
re PR debug/83621 (ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g)

PR debug/83621
* cfgexpand.c (expand_debug_expr): Return NULL if mode is
BLKmode for ternary, binary or unary expressions.

* gcc.dg/pr83621.c: New test.

From-SVN: r256190
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr83621.c [new file with mode: 0644]