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