public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28705]  New: ICE: in type_dependent_expression_p, at cp/pt.c:12837
@ 2006-08-12 21:55 dannysmith at users dot sourceforge dot net
  2006-08-12 22:57 ` [Bug c++/28705] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2006-08-12 21:55 UTC (permalink / raw)
  To: gcc-bugs

As reported at:
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1539256&group_id=2435

This testcase:
=====================================================================
namespace N
{
        struct s { };
        template<typename T> struct tplt { void mf(const T &) {} };
        tplt<s> &f();
}

template<typename T> bool g()
{
        N::s *p = 0;
        N::f().mf(s(p));
        return true;
}
====================================================================
ICES with

cfg.C: In function 'bool g()':
cfg.C:12: internal compiler error: in type_dependent_expression_p, at
cp/pt.c:12837

This is with 
GNU C++ version 4.2.0 20060808 (experimental) (mingw32)

It also ICES with gcc-3.4.5

Danny


-- 
           Summary: ICE: in type_dependent_expression_p, at cp/pt.c:12837
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dannysmith at users dot sourceforge dot net
 GCC build triplet: i386-pc-mingw32
  GCC host triplet: i386-pc-mingw32
GCC target triplet: i386-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28705


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

end of thread, other threads:[~2008-07-04 15:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-12 21:55 [Bug c++/28705] New: ICE: in type_dependent_expression_p, at cp/pt.c:12837 dannysmith at users dot sourceforge dot net
2006-08-12 22:57 ` [Bug c++/28705] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-08-13  0:26 ` bangerth at dealii dot org
2006-08-15 18:30 ` pinskia at gcc dot gnu dot org
2006-08-20 22:38 ` mmitchel at gcc dot gnu dot org
2006-08-25 17:11 ` nathan at gcc dot gnu dot org
2006-09-01 18:10 ` nathan at gcc dot gnu dot org
2006-09-01 18:10 ` nathan at gcc dot gnu dot org
2006-09-03  6:41 ` pinskia at gcc dot gnu dot org
2007-02-09  1:30 ` [Bug c++/28705] [4.1Regression] " reichelt at gcc dot gnu dot org
2007-02-09  1:31 ` reichelt at gcc dot gnu dot org
2007-02-14  9:02 ` [Bug c++/28705] [4.1 Regression] " mmitchel at gcc dot gnu dot org
2007-04-28 10:44 ` tbm at cyrius dot com
2007-04-30  8:37 ` nathan at gcc dot gnu dot org
2008-07-04 15:48 ` jsm28 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).