From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8167 invoked by alias); 22 Apr 2008 22:18:33 -0000 Received: (qmail 7980 invoked by uid 48); 22 Apr 2008 22:17:50 -0000 Date: Tue, 22 Apr 2008 22:18:00 -0000 Message-ID: <20080422221750.7979.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/36013] [4.1/4.3 Regression] Wrong code involving restricted pointers to non-restricted pointers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg01593.txt.bz2 ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-04-22 22:17 ------- Confirmed. The tree level gets this right and we expand from # VUSE D.1761 = *p; # SMT.5_9 = VDEF *D.1761 = 1; # SMT.5_10 = VDEF **q = 2; if (*D.1761 != 2) and cse1 removes the comparison. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |wrong-code Known to fail| |4.1.3 4.3.0 Known to work| |4.0.4 4.2.3 Last reconfirmed|0000-00-00 00:00:00 |2008-04-22 22:17:50 date| | Summary|Wrong code involving |[4.1/4.3 Regression] Wrong |restricted pointers to non- |code involving restricted |restricted pointers |pointers to non-restricted | |pointers Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36013