------- Comment #13 from matz at gcc dot gnu dot org 2008-02-04 11:48 ------- Yep, that's something the FE maintainers need to decide. From a robustness p.o.v. I'd do it in build_target_expr, though perhaps that has speed implications. FWIW the patch from comment #10 (with an added "#include <tree-flow.h>" for the useless_type_conversion_p) regstrapped on i686, x86_64 and ppc.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35056