[Patch, Fortran] PR 41714: [OOP] ALLOCATE SOURCE= does not properly copy the value from SOURCE

Paul Richard Thomas paul.richard.thomas@gmail.com
Sun Oct 25 15:11:00 GMT 2009


Janus,

It looks OK to me except:

>        PR fortran/41714
>        * trans-expr.c (gfc_build_memcpy_call): Take care of the case that the
>        call to '__builtin_memcpy' is optimized away (replaced by a direct
>        assignment).

How the heck does that work?  It comes out as a NOP_EXPR and yet it's
really an assignment..... Is that documented somewhere?

Cheers

Paul



More information about the Gcc-patches mailing list