This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]