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: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: ebotcazou at libertysurf dot fr
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 13 Dec 04 08:05:38 EST
- 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
PR middle-end/17746. There is even a patch that has been in my tree
for 3 months (linked to from comment #13) but was recently rejected.
Implementing the other solution is far more invasive (and I personally
have no time to do it at the moment).
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!
My feeling is that your patch is the right approach except that it
*doesn't* "step up" the alignment and needs to.