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

Reply via email to