public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38256]  New: [4.4 regression] ICE with "operator auto"
@ 2008-11-24 20:45 reichelt at gcc dot gnu dot org
  2008-11-24 20:45 ` [Bug c++/38256] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-11-24 20:45 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

==========================================
template<int> struct A
{
  template<typename T> operator T();
};

void foo()
{
  A<0>().operator auto();
}
==========================================

bug.cc: In function 'void foo()':
bug.cc:8: internal compiler error: tree check: expected function_decl, have
template_decl in build_over_call, at cp/call.c:5123
Please submit a full bug report, [etc.]


-- 
           Summary: [4.4 regression] ICE with "operator auto"
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, 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=38256


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

end of thread, other threads:[~2008-12-03 21:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-24 20:45 [Bug c++/38256] New: [4.4 regression] ICE with "operator auto" reichelt at gcc dot gnu dot org
2008-11-24 20:45 ` [Bug c++/38256] " reichelt at gcc dot gnu dot org
2008-11-25  0:14 ` uros at gcc dot gnu dot org
2008-11-25  0:18 ` ubizjak at gmail dot com
2008-11-28  8:21 ` jakub at gcc dot gnu dot org
2008-11-29  3:17 ` pinskia at gcc dot gnu dot org
2008-12-03 20:15 ` jason at gcc dot gnu dot org
2008-12-03 21:45 ` jason at gcc dot gnu dot org
2008-12-03 21:46 ` 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).