[PATCH] Fix useless_type_conversion_p with incomplete types (PR middle-end/38505)

Ian Lance Taylor iant@google.com
Wed Dec 17 15:48:00 GMT 2008


Jakub Jelinek <jakub@redhat.com> writes:

> 2008-12-15  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR middle-end/38505
> 	* tree-ssa.c (useless_type_conversion_p_1): Return
> 	false if inner_type is incomplete and outer_type is complete.
>
> 	* gcc.c-torture/compile/pr38505.c: New test.

This is OK.

Thanks.

Ian



More information about the Gcc-patches mailing list