re PR tree-optimization/50082 (-Wstrict-overflow mishandles typedef)
authorRichard Guenther <rguenther@suse.de>
Mon, 15 Aug 2011 15:01:33 +0000 (15:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 15 Aug 2011 15:01:33 +0000 (15:01 +0000)
commitd510820a47f86a507ab6a450b681009f3f3aba99
tree89980c834807b5a0b0482e3062763d600f60c4c7
parent1a0fcfa901a27c06cba7e178069789a5a413b443
re PR tree-optimization/50082 (-Wstrict-overflow mishandles typedef)

2011-08-15  Richard Guenther  <rguenther@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.

From-SVN: r177762
gcc/ChangeLog
gcc/fold-const.c