This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35338] New: [4.3/4.4 regression] Broken diagnostics for fixed-point types
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2008 19:55:55 -0000
- Subject: [Bug c++/35338] New: [4.3/4.4 regression] Broken diagnostics for fixed-point types
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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#<type error>' to 'int' in initialization
bug.cc:2: error: could not convert '#'fixed_cst' not supported by
dump_expr#<expression error>' 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