[PATCH] Fix fold_widened_comparison (PR tree-optimization/19283)

Roger Sayle roger@eyesopen.com
Thu Jan 6 18:20:00 GMT 2005


On Thu, 6 Jan 2005, Jakub Jelinek wrote:
> 2005-01-06  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR tree-optimization/19283
> 	* fold-const.c (fold_widened_comparison): Return NULL if shorter_type
> 	is not shorter than the original type.
>
> 	* gcc.c-torture/execute/20050106-1.c: New test.

This is OK for mainline.

Thanks,

Roger
--



More information about the Gcc-patches mailing list