[ada] can't build g-awk.adb in gcc cvs trunk 20041212 on sparc-linux: GCC error: in expand_expr_addr_expr_1, at expr.c:6047, Error detected at g-awk.adb:1316:24
Eric Botcazou
ebotcazou@libertysurf.fr
Tue Dec 14 07:28:00 GMT 2004
> I reviewed this PR. Although I agree with RTH that it's important to
> make handled_component_p and get_inner_reference_p agree, it's not
> relevant to this case because handled_component_p isn't called!
Yes, it is not called in expand_expr_addr_expr_1. But I think the idea would
be that expand_expr_addr_expr_1 should never see an expression that is
rejected by handled_component_p.
> My feeling is that your patch is the right approach except that it
> *doesn't* "step up" the alignment and needs to.
IIRC the alignment gets stepped up in the VIEW_CONVERT_EXPR expander.
--
Eric Botcazou
More information about the Gcc
mailing list