From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12795 invoked by alias); 29 Aug 2006 14:59:42 -0000 Received: (qmail 12764 invoked by uid 48); 29 Aug 2006 14:59:34 -0000 Date: Tue, 29 Aug 2006 14:59:00 -0000 Message-ID: <20060829145934.12763.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/28868] [4.0/4.1/4.2 Regression] Not elimintating the PHIs which have the same agruments In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dberlin at gcc dot gnu dot org" 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 X-SW-Source: 2006-08/txt/msg02551.txt.bz2 List-Id: ------- Comment #6 from dberlin at gcc dot gnu dot org 2006-08-29 14:59 ------- SCCVN comes up with Value numbers: d_2 = c_1 c_7 = b_6 d_8 = b_6 c_10 = a_9 d_11 = a_9 where # PRED: 3 (fallthru,exec) 4 (fallthru,exec) # dD.1526_2 = PHI ; # cD.1525_1 = PHI ; ... As a result, once integrated into PRE/FRE, it will eliminate uses of the d_2 phi with the c_1 phi, which is what you want. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28868