upcast-1.c
256 Bytes
-
re PR tree-optimization/22486 (Upcasts are not folded away) · 46c0a59d
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
Richard Guenther committed