From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29604 invoked by alias); 31 Jan 2004 21:23:56 -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 29590 invoked by uid 48); 31 Jan 2004 21:23:56 -0000 Date: Sat, 31 Jan 2004 21:23:00 -0000 Message-ID: <20040131212356.29588.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040131211533.13954.dann@godzilla.ics.uci.edu> References: <20040131211533.13954.dann@godzilla.ics.uci.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/13954] [tree-ssa] SRA does not work for classes that use inheritance X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg04024.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-31 21:23 ------- Confirmed, the problem here is more complicated: Cannot scalarize variable param because it must live in memory Cannot scalarize variable local because it must live in memory Cannot scalarize variable MT.3 because it must live in memory The problem here is that: void copystruct1(teststruct) (param) { struct { double d; char f1; } * local.0; struct { double d; char f1; } * param.1; char T.2; { struct teststruct local; param.f1 = 0; local.0 = (struct { double d; char f1; } *)&local; param.1 = (struct { double d; char f1; } *)¶m; *local.0 = *param.1; { T.2 = local.f1; if (T.2 != 0) { { link_error (); } } else { } } } } Which means it does not using the right structs assigning or something werid is going on. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |pessimizes-code Last reconfirmed|0000-00-00 00:00:00 |2004-01-31 21:23:56 date| | Target Milestone|--- |tree-ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13954