[Bug fortran/43180] [4.5 Regression] Bad results without temporary copy of intent(in) argument

dominiq at lps dot ens dot fr gcc-bugzilla@gcc.gnu.org
Thu Feb 25 22:16:00 GMT 2010



------- Comment #7 from dominiq at lps dot ens dot fr  2010-02-25 22:16 -------
Comparing the original dumps for revisions 156618 and 157068, I see:

<                     parm.19.dim[0].ubound = 50;
<                     parm.19.dim[0].stride = 1;
<                     parm.19.data = (void *) &ru[(integer(kind=8)) i +
-1].c[0];
<                     parm.19.offset = -1;
<                     D.1619 = _gfortran_internal_pack (&parm.19);
...
>                     parm.19.dim[0].ubound = D.1620;
>                     parm.19.dim[0].stride = NON_LVALUE_EXPR <D.1625>;
>                     parm.19.data = (void *) &(*c.0)[0];
>                     parm.19.offset = NON_LVALUE_EXPR <D.1624>;

Are the NON_LVALUE_EXPR expected?


-- 


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



More information about the Gcc-bugs mailing list