[patch]: Fix regression caused by fix for 61917

2015-02-25 Thread Kai Tietz
Hi, The patch didn't handled the case for dt being vect_constant_def, where of course the reduc_def_stmt is NULL. By checking for NULL before testing for PHI, we now fallback for such cases to old behavior and return in the next if-statment. 2015-02-25 Richard Biener rguent...@suse.de Kai

Re: [patch]: Fix regression caused by fix for 61917

2015-02-25 Thread Jakub Jelinek
On Wed, Feb 25, 2015 at 07:13:55PM +0100, Kai Tietz wrote: Hi, The patch didn't handled the case for dt being vect_constant_def, where of course the reduc_def_stmt is NULL. By checking for NULL before testing for PHI, we now fallback for such cases to old behavior and return in the next