From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12733 invoked by alias); 23 Feb 2008 19:56:35 -0000 Received: (qmail 12652 invoked by uid 48); 23 Feb 2008 19:55:55 -0000 Date: Sat, 23 Feb 2008 19:56:00 -0000 Subject: [Bug c++/35338] New: [4.3/4.4 regression] Broken diagnostics for fixed-point types X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt 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-02/txt/msg02494.txt.bz2 Broken diagnostics are issued for the following invalid code snippet on mainline and 4.3 branch: ==================================================== int i = 1r; bool b = !1r; ==================================================== bug.cc:1: error: cannot convert '#'fixed_point_type' not supported by dump_type#' to 'int' in initialization bug.cc:2: error: could not convert '#'fixed_cst' not supported by dump_expr#' to 'bool' bug.cc:2: error: in argument to unary ! -- Summary: [4.3/4.4 regression] Broken diagnostics for fixed-point types Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: diagnostic, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35338