From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16352 invoked by alias); 8 Jun 2010 12:53:17 -0000 Received: (qmail 16280 invoked by uid 48); 8 Jun 2010 12:52:55 -0000 Date: Tue, 08 Jun 2010 12:53:00 -0000 Message-ID: <20100608125254.16279.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/44468] Bogus access re-construction from offset calculation In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00877.txt.bz2 ------- Comment #1 from rguenth at gcc dot gnu dot org 2010-06-08 12:52 ------- Argument why the testcase is invalid might go along the line that a pointer to struct Q may not be converted to a pointer to struct R, or that &((struct R *)q)->a is accessing *q as struct R. This is similar to PR41317. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.3.5 4.4.3 4.5.0 Known to work| |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44468