------- Comment #2 from rguenth at gcc dot gnu dot org 2007-08-25 13:32 ------- I think this was fixed by
2007-08-24 Richard Guenther <[EMAIL PROTECTED]> PR middle-end/33166 * tree-ssa.c (useless_type_conversion_p): Split into a recursive and a non-recursive part. (useless_type_conversion_p_1): New function. * tree-ssa-ccp.c (fold_stmt_r): Make sure that the result from maybe_fold_offset_to_reference is trivially convertible to the desired type before doing the simplification. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33186