public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35334]  New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex cast
@ 2008-02-23 19:42 reichelt at gcc dot gnu dot org
  2008-02-24 22:02 ` [Bug c++/35334] " rguenth 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:42 UTC (permalink / raw)
  To: gcc-bugs

A broken diagnostic is issued for the following invalid code snippet since
at least GCC 2.95.3:

====================================================
void foo(__complex__ unsigned int i)
{
  ((__complex__ int)i)();
}
====================================================

bug.cc: In function 'void foo(unsigned int __complex__)':
bug.cc:3: error: '#'complex_expr' not supported by dump_expr#<expression
error>' cannot be used as a function


-- 
           Summary: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for
                    complex cast
           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=35334


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

end of thread, other threads:[~2008-12-31 14:12 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:42 [Bug c++/35334] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex cast reichelt at gcc dot gnu dot org
2008-02-24 22:02 ` [Bug c++/35334] " rguenth at gcc dot gnu dot org
2008-05-19 20:34 ` jsm28 at gcc dot gnu dot org
2008-07-04 23:03 ` [Bug c++/35334] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-10-25 14:54 ` manu at gcc dot gnu dot org
2008-11-03 10:40 ` manu at gcc dot gnu dot org
2008-11-03 11:05 ` jakub at gcc dot gnu dot org
2008-11-03 11:13 ` manu at gcc dot gnu dot org
2008-11-11 14:09 ` jakub at gcc dot gnu dot org
2008-11-12  8:21 ` jakub at gcc dot gnu dot org
2008-12-31 14:12 ` [Bug c++/35334] " 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).