[Bug fortran/57019] [4.7/4.8/4.9 Regression] Compiler crashes (and make wrong assignments) at some combinations of pointers

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 2 20:56:00 GMT 2014


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



More information about the Gcc-bugs mailing list