This is the mail archive of the
mailing list for the GCC project.
Re: [patch] for PR 18040
On Oct 19, 2004, at 5:55 PM, Zdenek Dvorak wrote:
On Sun, Oct 17, 2004 at 09:15:35PM +0200, Zdenek Dvorak wrote:
* tree-gimple.c (is_gimple_component): New function.
(is_gimple_addressable, get_base_address): Use is_gimple_component.
I think we should simply remove the casts from handled_component_p.
then it would also be necessary to remove other superfluous entries
it that are not recognized as gimple components (BIT_FIELD_REF and
NON_LVALUE_EXPR). I do not care for later, but removing former seems
likely to break other code.
BIT_FIELD_REF should be handled the same way as COMPONENT_REF I think.