diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-01-04 12:44:07 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-01-04 12:44:07 +0100 |
commit | c54af0682ce0881ecde74a3b7502287a53ced378 (patch) | |
tree | 79abdf94803f0325c6055284f275f42dcd9f7c02 /gcc/cfgexpand.c | |
parent | 32489ab56a9ec26aa2342c50bc6d40c95d353777 (diff) | |
download | gcc-c54af0682ce0881ecde74a3b7502287a53ced378.zip gcc-c54af0682ce0881ecde74a3b7502287a53ced378.tar.gz gcc-c54af0682ce0881ecde74a3b7502287a53ced378.tar.bz2 |
re PR debug/83666 (ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10)
PR debug/83666
* cfgexpand.c (expand_dbeug_expr) <case BIT_FIELD_REF>: Punt if mode
is BLKmode and bitpos not zero or mode change is needed.
* gcc.dg/pr83666.c: New test.
From-SVN: r256232
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index f278eb2..72fd8fd 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -4560,7 +4560,7 @@ expand_debug_expr (tree exp) if (maybe_lt (bitpos, 0)) return NULL; - if (GET_MODE (op0) == BLKmode) + if (GET_MODE (op0) == BLKmode || mode == BLKmode) return NULL; poly_int64 bytepos; |