http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50082
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-15 15:01:38 UTC --- Author: rguenth Date: Mon Aug 15 15:01:33 2011 New Revision: 177762 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177762 Log: 2011-08-15 Richard Guenther <rguent...@suse.de> PR middle-end/50082 * fold-const.c (maybe_canonicalize_comparison_1): Properly convert the modified operand to the other operand type. (fold_comparison): Call maybe_canonicalize_comparison_1 with useless conversions stripped from comparison operands. Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c