------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-17 15:15 ------- The range for cur_bitshift_6 is just completely bogus as there is no overflow with the conversion from unsigned int to int. I am going to check when I get into work if 4.2 also miscompiles this code.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Severity|normal |blocker Keywords| |wrong-code Summary|VRP eliminates a useful test|[4.3 Regression] VRP |due to overflow |eliminates a useful test due | |with conversion from | |unsigned int to int Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31605