------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-19 23:15 ------- (In reply to comment #3) > I think I fixed the bug which removed the non useless casts. Diego wasn't > there a workaround in VRP > for this bug?
I should say the following patch fixed the removing of the non useless casts: * tree-ssa.c (tree_ssa_useless_type_conversion_1): Conversions between integer types whos ranges are different are not useless. Which was PR 21923, we had got another ICE in VRP because of that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21076