From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32405 invoked by alias); 30 Dec 2008 06:17:44 -0000 Received: (qmail 31643 invoked by uid 48); 30 Dec 2008 06:14:15 -0000 Date: Tue, 30 Dec 2008 06:17:00 -0000 Message-ID: <20081230061415.31642.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/36607] [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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-12/txt/msg02885.txt.bz2 ------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-30 06:14 ------- Ok, it fails with -m64, looking into it. Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|x86_64-unknown-linux-gnu | GCC host triplet|x86_64-unknown-linux-gnu | GCC target triplet|x86_64-unknown-linux-gnu |PTR == 64 bits Keywords| |rejects-valid Known to fail| |4.3.3 4.4.0 Known to work| |4.0.1 4.1.1 Last reconfirmed|0000-00-00 00:00:00 |2008-12-30 06:14:14 date| | Summary|Incorrect type diagnostic on|[4.3/4.4 Regression] |substracting casted char |Incorrect type diagnostic on |pointers |substracting casted char | |pointers Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36607