http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56984
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-17 07:30:20 UTC --- Created attachment 29887 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29887 gcc49-pr56984.patch Untested fix. Another thing is that fold resp. gimple_fold aren't able to optimize (x >> N) < M into 0 if M << N is the minimum value, but that isn't something VRP should handle.