From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22300 invoked by alias); 23 Mar 2006 18:13:35 -0000 Received: (qmail 22235 invoked by uid 48); 23 Mar 2006 18:13:31 -0000 Date: Thu, 23 Mar 2006 18:13:00 -0000 Message-ID: <20060323181331.22234.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/25737] [4.1/4.2 Regression] ACATS tests c974001 and c974013 do not terminate with struct aliasing In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ebotcazou at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-03/txt/msg02376.txt.bz2 List-Id: ------- 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