This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [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
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 14 Dec 2004 15:30:48 +0100
- Subject: Re: [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
- References: <10412141333.AA19908@vlsi1.ultra.nyu.edu>
> 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.
>
> I'm sorry, I don't know what that means.
The problematic expression reaches expand_expr_addr_expr_1 unmodified because
it was accepted at least once by handled_component_p at an earlier stage
(e.g. the gimplifier).
> IIRC the alignment gets stepped up in the VIEW_CONVERT_EXPR expander.
>
> It does, but as I understand your change, you bypass calling that.
You're right, the expander is bypassed. This is indeed problematic.
--
Eric Botcazou