From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15667 invoked by alias); 23 Jul 2003 14:39:59 -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 15653 invoked by uid 48); 23 Jul 2003 14:39:59 -0000 Date: Wed, 23 Jul 2003 14:39:00 -0000 Message-ID: <20030723143959.15652.qmail@sources.redhat.com> From: "pinskia at physics dot uc dot edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030714104225.11517.gdr@gcc.gnu.org> References: <20030714104225.11517.gdr@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11517] [3.4 Regression]g++ fails to properly convert pointer expressions in conditional expressions. X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg02708.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11517 pinskia at physics dot uc dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Keywords|rejects-valid |error-recovery, ice-on- | |invalid-code Resolution|INVALID | Summary|[3.3/3.4 Regression]g++ |[3.4 Regression]g++ fails to |fails to properly convert |properly convert pointer |pointer expressions in |expressions in conditional |conditional expressions. |expressions. Target Milestone|3.3.1 |3.4 Version|3.3.1 |3.4 ------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-23 14:39 ------- This now ICE's on the mainline (20030723) so making this a regression. It did not ICE yesterday: /Users/pinskia/src/gccPRs/testcases/pr11517.cc:11: error: conditional expression between distinct pointer types `Boolean*' and `IsZero*' lacks a cast /Users/pinskia/src/gccPRs/testcases/pr11517.cc:11: error: could not convert ` (operator new(long unsigned int)(1), ((true, (->Boolean::Boolean(bool)(false), ( false))), ))' to `' /Users/pinskia/src/gccPRs/testcases/pr11517.cc:11: error: could not convert ` this' to `' /Users/pinskia/src/gccPRs/testcases/pr11517.cc:11: internal compiler error: tree check: expected class 't', have 'x' (error_mark) in build_conditional_expr, at cp/call.c:3354 Please submit a full bug report, with preprocessed source if appropriate. See for instructions.