public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35338]  New: [4.3/4.4 regression] Broken diagnostics for fixed-point types
@ 2008-02-23 19:56 reichelt at gcc dot gnu dot org
  2008-02-23 19:56 ` [Bug c++/35338] " reichelt at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 19:56 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-02-19  7:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 19:56 [Bug c++/35338] New: [4.3/4.4 regression] Broken diagnostics for fixed-point types reichelt at gcc dot gnu dot org
2008-02-23 19:56 ` [Bug c++/35338] " reichelt at gcc dot gnu dot org
2008-02-24 22:00 ` rguenth at gcc dot gnu dot org
2008-02-25 17:04 ` pcarlini at suse dot de
2008-02-25 19:06 ` paolo at gcc dot gnu dot org
2008-03-06 17:52 ` [Bug c++/35338] [4.3 " paolo at gcc dot gnu dot org
2008-03-06 17:53 ` pcarlini at suse dot de
2008-12-24  3:47 ` [Bug c++/35338] Rejects valid code " pinskia at gcc dot gnu dot org
2008-12-24  3:47 ` pinskia at gcc dot gnu dot org
2008-12-27 22:56 ` reichelt at gcc dot gnu dot org
2009-02-19  7:24 ` [Bug c++/35338] [4.3/4.4 regression] Broken diagnostics " reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).