This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27478] entry and addressable and value-expr: and the gimplifier
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2006 20:13:20 -0000
- Subject: [Bug middle-end/27478] entry and addressable and value-expr: and the gimplifier
- References: <bug-27478-12647@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from fxcoudert at gcc dot gnu dot org 2006-10-02 20:13 -------
I think the following can workaround the middle-end problem:
Index: trans-decl.c
===================================================================
--- trans-decl.c (revision 117368)
+++ trans-decl.c (working copy)
@@ -1866,6 +1866,7 @@
TREE_PUBLIC (decl) = 0;
TREE_USED (decl) = 1;
GFC_DECL_RESULT (decl) = 1;
+ TREE_ADDRESSABLE (decl) = 1;
layout_decl (decl, 0);
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |19292
nThis| |
Component|fortran |middle-end
Known to fail| |4.2.0
Known to work| |4.1.2
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27478