From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3381 invoked by alias); 5 Oct 2007 10:11:10 -0000 Received: (qmail 3316 invoked by uid 48); 5 Oct 2007 10:10:54 -0000 Date: Fri, 05 Oct 2007 10:11:00 -0000 Subject: [Bug middle-end/33666] New: [4.3 Regression] Type verification failure with pointer to long long conversion X-Bugzilla-Reason: CC Message-ID: 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: 2007-10/txt/msg00419.txt.bz2 The following fails with 32bit pointers and 64bit long long if the compiler is built with type-checking enabled. void __lock_get_list(void *dp) { if (((unsigned int)dp + 1) & ~1ULL) ; } The original trees look ok: if (((long long unsigned int) (dp + 1) & 0x0fffffffffffffffe) != 0) { (void) 0; } -- Summary: [4.3 Regression] Type verification failure with pointer to long long conversion Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, ice-checking Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org GCC target triplet: i686-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33666