public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31780]  New: [4.3 regression] ICE with incompatible types for ?:
@ 2007-05-01 23:50 reichelt at gcc dot gnu dot org
  2007-05-01 23:51 ` [Bug c++/31780] " reichelt at gcc dot gnu dot org
                   ` (44 more replies)
  0 siblings, 45 replies; 46+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-05-01 23:50 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

===========================================
bool foo();

void bar()
{
  __builtin_expect(foo(), 1) ? 0i : 0;
}
===========================================

bug.cc: In function 'void bar()':
bug.cc:5: error: could not convert '0' to 'int __complex__'
bug.cc:5: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in tree_ssa_useless_type_conversion_1, at
tree-ssa.c:900
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] ICE with incompatible types for ?:
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, 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=31780


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

end of thread, other threads:[~2008-01-25 19:51 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-01 23:50 [Bug c++/31780] New: [4.3 regression] ICE with incompatible types for ?: reichelt at gcc dot gnu dot org
2007-05-01 23:51 ` [Bug c++/31780] " reichelt at gcc dot gnu dot org
2007-05-02  0:46 ` [Bug c++/31780] [4.3 regression] ICE with incompatible types for ?: with "complex type" conversion pinskia at gcc dot gnu dot org
2007-05-02  0:47 ` pinskia at gcc dot gnu dot org
2007-06-29 18:28 ` mmitchel at gcc dot gnu dot org
2007-07-07 10:47 ` [Bug c++/31780] [4.2/4.3 " reichelt at gcc dot gnu dot org
2007-07-07 19:26 ` mmitchel at gcc dot gnu dot org
2007-07-07 19:35 ` mmitchel at gcc dot gnu dot org
2007-07-07 22:13 ` mmitchel at gcc dot gnu dot org
2007-07-07 22:21 ` mmitchel at gcc dot gnu dot org
2007-07-07 22:44 ` pcarlini at suse dot de
2007-07-07 22:51 ` mark at codesourcery dot com
2007-07-07 22:57 ` pcarlini at suse dot de
2007-07-08 18:12 ` mark at codesourcery dot com
2007-07-08 18:42 ` pcarlini at suse dot de
2007-07-08 18:58 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:49 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:22 ` mmitchel at gcc dot gnu dot org
2007-12-16 23:26 ` steven at gcc dot gnu dot org
2007-12-18  5:36 ` mmitchel at gcc dot gnu dot org
2007-12-23 21:22 ` gdr at gcc dot gnu dot org
2007-12-26 21:19 ` mark at codesourcery dot com
2007-12-26 22:03 ` pcarlini at suse dot de
2008-01-05  8:13 ` gdr at cs dot tamu dot edu
2008-01-05  9:25 ` gdr at cs dot tamu dot edu
2008-01-05  9:32 ` mark at codesourcery dot com
2008-01-06 17:03 ` gdr at cs dot tamu dot edu
2008-01-06 21:45 ` mark at codesourcery dot com
2008-01-07  1:44 ` gdr at cs dot tamu dot edu
2008-01-07  1:47 ` mark at codesourcery dot com
2008-01-07  7:49 ` gdr at cs dot tamu dot edu
2008-01-07  7:49 ` gdr at cs dot tamu dot edu
2008-01-07  7:49 ` gdr at cs dot tamu dot edu
2008-01-07  8:01 ` mark at codesourcery dot com
2008-01-07  8:16 ` mark at codesourcery dot com
2008-01-07  9:48 ` gdr at cs dot tamu dot edu
2008-01-07  9:48 ` gdr at cs dot tamu dot edu
2008-01-07 16:46 ` mark at codesourcery dot com
2008-01-08  8:38 ` gdr at cs dot tamu dot edu
2008-01-08  8:43 ` mark at codesourcery dot com
2008-01-22 16:01 ` jason at gcc dot gnu dot org
2008-01-22 18:05 ` mark at codesourcery dot com
2008-01-25 16:52 ` rguenth at gcc dot gnu dot org
2008-01-25 18:54 ` jason at gcc dot gnu dot org
2008-01-25 20:14 ` jason at gcc dot gnu dot org
2008-01-25 20:17 ` [Bug c++/31780] [4.2 " jason 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).