http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57019
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
I have spent an hour or so looking at this one. I think that I can see how to
fix it. The problem is that expr.c(is_subref_array) is triggering the use of
pointer arithmetic, using the hidden .span variable, when it should not. The
expressions below work fine with array indices.
I just have to sit down and figure out a consistent logic.
Something for next weekend!
Cheers
Paul