re PR tree-optimization/71452 (Wrong optimization of stores to _Bool via char*)
authorRichard Biener <rguenther@suse.de>
Wed, 8 Jun 2016 13:11:43 +0000 (13:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 8 Jun 2016 13:11:43 +0000 (13:11 +0000)
commit72d50660ad57224cefc7ad40b81c994b49a503b6
tree91404c94ca65e268950f891ecf25f02f3c2cbd3b
parent988c115ca0fee432e5d6823a44e3289c0b73ad15
re PR tree-optimization/71452 (Wrong optimization of stores to _Bool via char*)

2016-06-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/71452
* tree-ssa.c (non_rewritable_lvalue_p): Make sure that the
type used for the SSA rewrite has enough precision to cover
the dynamic type of the location.

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

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