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 middle-end/27478] entry and addressable and value-expr: and the gimplifier



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


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