------- Comment #1 from tkoenig at gcc dot gnu dot org  2008-10-12 12:09 -------
The front end obligingly fills out the descriptor for
the libray with an extent of 3:

   atmp.5.dim[1].stride = 5;
    atmp.5.dim[1].lbound = 0;
    atmp.5.dim[1].ubound = 2;
    atmp.5.data = (void *) &A.6;
    atmp.5.offset = 0;
    _gfortran_spread (&atmp.5, &parm.4, &C.1545, &C.1546);

It does so without checking conformance with the rest of
the expression.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36683

Reply via email to