[Bug fortran/30166] Gimplifier sometimes does not produce valid gimple for addressable = VIEW_CONVERT_EXPR<scalar>(a)

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 13 16:39:00 GMT 2008



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-09-13 16:38 -------
I think this was fixed by

2008-09-12  Richard Guenther  <rguenther@suse.de>

        * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Use
        build_fold_addr_expr to properly mark the argument
        addressable.

the issue was that in

    (transfer.1 = VIEW_CONVERT_EXPR<integer(kind=4)>(x);, (void *)
&transfer.1;);

the frontend was not properly marking transfer.1 as addressable.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|middle-end                  |fortran
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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



More information about the Gcc-bugs mailing list