------- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-16 13:45 ------- I'm not working on this anymore. The proper thing to do is to move most if not all of shorten-compare to the middle-end (by re-implementing the little pieces that are missing there). The hard thing about this is retaining the -Wconversion warnings.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42544