[PATCH] Fix useless_type_conversion_p with incomplete types (PR middle-end/38505)
Mon Dec 29 16:32:00 GMT 2008
On Wed, Dec 17, 2008 at 4:42 PM, Ian Lance Taylor <email@example.com> wrote:
> Jakub Jelinek <firstname.lastname@example.org> writes:
>> 2008-12-15 Jakub Jelinek <email@example.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.
I think the other patch is better. The important difference is only if we
de-reference a pointer type.
More information about the Gcc-patches