From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31940 invoked by alias); 26 Apr 2005 19:51:33 -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 31904 invoked by uid 48); 26 Apr 2005 19:51:25 -0000 Date: Tue, 26 Apr 2005 19:51:00 -0000 Message-ID: <20050426195125.31903.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050423081814.21171.sami.kantoluoto@embedtronics.fi> References: <20050423081814.21171.sami.kantoluoto@embedtronics.fi> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/21171] [4.0/4.1 Regression] Generates wrong code (w/ optimization) when copying data from a table to a table in a structure X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg03758.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-26 19:51 ------- The problem comes from dce but the problem is that IV OPT is making the pointer as "unsigned int *", because the field's type is just "unsigned int[]" but since the orginal type of the struct is volatile, we don't have a vop as it is volatile store. And since IV opts just copies the vops and not run aliasing (which right now causes a different issue on 4.0 branch), we don't get a vop. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.0 Regression] Generates |[4.0/4.1 Regression] |wrong code (w/ optimization)|Generates wrong code (w/ |when copying data from a |optimization) when copying |table to a table in a |data from a table to a table |structure |in a structure http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21171