re PR tree-optimization/47541 (For integer pointers, the value of ++*p is not writte...
authorRichard Guenther <rguenther@suse.de>
Tue, 1 Feb 2011 09:47:21 +0000 (09:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 1 Feb 2011 09:47:21 +0000 (09:47 +0000)
commit3fd3b156d6c93cf263616ab400691d1a3aedf07d
tree7d8501382557fc2411e882ec6b7f73fbd06eabac
parent3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5
re PR tree-optimization/47541 (For integer pointers, the value of ++*p  is not written back to memory)

2011-02-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47541
* tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
sure to have a field at offset zero.

* g++.dg/torture/pr47541.C: New testcase.

From-SVN: r169468
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr47541.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c