re PR tree-optimization/84417 (internal compiler error: verify_gimple failed)
authorRichard Biener <rguenther@suse.de>
Fri, 16 Feb 2018 12:01:23 +0000 (12:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Feb 2018 12:01:23 +0000 (12:01 +0000)
commit5c8cebe7d6acb478309d6e03fd4df7e05d1b0f1e
tree1cdeff7b2f6541e3ca45316fdd9e7ab725a954ea
parent95df04335bea92a715501271ad7d854e854706b3
re PR tree-optimization/84417 (internal compiler error: verify_gimple failed)

2018-02-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84417
* tree-ssa.c (non_rewritable_mem_ref_base): Properly constrain
the MEM_REF offset when conversion to BIT_FIELD_REF is desired.
(non_rewritable_lvalue_p): Likewise, use poly-ints.

* gcc.dg/torture/pr84417.c: New testcase.

From-SVN: r257731
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr84417.c [new file with mode: 0644]
gcc/tree-ssa.c