diff options
author | Richard Guenther <rguenther@suse.de> | 2005-07-26 07:34:58 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2005-07-26 07:34:58 +0000 |
commit | 46c0a59dfb7e787766e70fae751b66e527a8932a (patch) | |
tree | 0c96be52bba7fbb40aef73b7e70cfd92198df875 /gcc/tree-ssa-structalias.c | |
parent | 3e2844cb07459014e55308e43ec26dd75e280f30 (diff) | |
download | gcc-46c0a59dfb7e787766e70fae751b66e527a8932a.zip gcc-46c0a59dfb7e787766e70fae751b66e527a8932a.tar.gz gcc-46c0a59dfb7e787766e70fae751b66e527a8932a.tar.bz2 |
re PR tree-optimization/22486 (Upcasts are not folded away)
2005-07-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/22486
* fold-const.c (fold_unary): Fold away useless component
references of the form (T *)&T.x, if the address
doesn't change.
* gcc.dg/tree-ssa/upcast-1.c: New testcase.
From-SVN: r102381
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions