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 tree-optimization/25737] [4.1/4.2 Regression] ACATS tests c974001 and c974013 do not terminate with struct aliasing



------- Comment #14 from ebotcazou at gcc dot gnu dot org  2006-03-23 18:13 -------
The Ada testcase is correctly compiled at -O with the create_sft change and

Index: tree-ssa-structalias.c
===================================================================
--- tree-ssa-structalias.c      (revision 112080)
+++ tree-ssa-structalias.c      (working copy)
@@ -3661,7 +3661,7 @@ push_fields_onto_fieldstack (tree type,
     }

   for (field = TYPE_FIELDS (type); field; field = TREE_CHAIN (field))
-    if (TREE_CODE (field) == FIELD_DECL)
+    if (TREE_CODE (field) == FIELD_DECL && ! DECL_NONADDRESSABLE_P (field))
       {
        bool push = false;
        int pushed = 0;


-- 


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


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