This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30166] Gimplifier sometimes does not produce valid gimple for addressable = VIEW_CONVERT_EXPR<scalar>(a)
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2008 16:38:06 -0000
- Subject: [Bug fortran/30166] Gimplifier sometimes does not produce valid gimple for addressable = VIEW_CONVERT_EXPR<scalar>(a)
- References: <bug-30166-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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