From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17896 invoked by alias); 23 Aug 2004 03:21:37 -0000 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 Received: (qmail 17878 invoked by uid 48); 23 Aug 2004 03:21:36 -0000 Date: Mon, 23 Aug 2004 03:21:00 -0000 Message-ID: <20040823032136.17875.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040401225801.14814.dalej@gcc.gnu.org> References: <20040401225801.14814.dalej@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/14814] no folding back to ARRAY_REF for COMPONENT_REF X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg02243.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-23 03:21 ------- Here is what the two functions have at .t34.dom2: T.1_3 = &r_1->e; T.2_4 = (double *)T.1_3; T.4_5 = T.2_4 + 8B; T.3_7 = *T.4_5; -------- T.5_2 = r_1->e[1]; if we could fold the first one into the second, we could fix this bug as we then prograte the constant and remove the dead code as we know longer need the struct living in memory at all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14814