From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29056 invoked by alias); 12 Dec 2004 17:26:31 -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 29016 invoked by uid 48); 12 Dec 2004 17:26:25 -0000 Date: Sun, 12 Dec 2004 17:26:00 -0000 Message-ID: <20041212172625.29015.qmail@sourceware.org> From: "kazu at cs dot umass dot edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041120062915.18576.pinskia@gcc.gnu.org> References: <20041120062915.18576.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/18576] [3.4/4.0 Regression] missing jump threading because of type changes X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg01665.txt.bz2 List-Id: ------- Additional Comments From kazu at cs dot umass dot edu 2004-12-12 17:26 ------- > One approach is to go with the phi optimization rewrite which allows it > to work with > 2 predecessors to the PHI block. This is done on tree-cleanup-branch. > Another would be to look at Kazu's work which (IIRC) tried to identify > typecasts which were fed by PHIs with all constant arguments. It then > removed the typecast and original PHI and installed a new PHI with a > result of the proper type. The problem of replacing one PHI node with another is filed as PR 14843. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18576