From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31745 invoked by alias); 19 Jun 2005 11:47:00 -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 31727 invoked by uid 48); 19 Jun 2005 11:46:56 -0000 Date: Sun, 19 Jun 2005 11:47:00 -0000 Message-ID: <20050619114656.31724.qmail@sourceware.org> From: "laurent at guerby dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050427060430.21242.laurent@guerby.net> References: <20050427060430.21242.laurent@guerby.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug ada/21242] ACATS wrong array copy code c52102b c52102d (works with -fno-tree-dce) X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg02487.txt.bz2 List-Id: ------- Additional Comments From laurent at guerby dot net 2005-06-19 11:46 ------- Here is a reduced test case, works at -0O, fails at -O1 works at -O1 -fno-tree-dce. First .tNN to be different is p.adb.t24.forwprop1. -- procedure P is function F return Integer is begin return 1; end F; A : array (-F .. 1) of Boolean; begin A := (False,True,False); A(-1 .. 0) := A (0 .. 1); if A /= (True, False, False) then raise Program_Error; end if; end P; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21242