From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12292 invoked by alias); 7 Sep 2005 04:28:13 -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 8774 invoked by uid 48); 7 Sep 2005 04:19:55 -0000 Date: Wed, 07 Sep 2005 04:28:00 -0000 Message-ID: <20050907041955.8773.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050827022854.23588.dberlin@gcc.gnu.org> References: <20050827022854.23588.dberlin@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/23588] CCP not fully propagating constants X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg00767.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-07 04:19 ------- (In reply to comment #3) > And then we hit an assert if we change evaluate_stmt to be always call fold_ccp. > The assert is in set_lattice_value, when we are changing from VARRYING to CONSTANT which should > be a valid transition. Only if the VARRYING is the default state. Before the TCB, this was allowed: /* VARYING -> CONSTANT is an invalid state transition, except for objects which start off in a VARYING state. */ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23588