public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51328] New: [4.4/4.5/4.6/4.7 Regression] ICE on invalid template parameter
@ 2011-11-27 23:54 reichelt at gcc dot gnu.org
  2011-11-28  0:10 ` [Bug c++/51328] " reichelt at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-11-27 23:54 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51328
           Summary: [4.4/4.5/4.6/4.7 Regression] ICE on invalid template
                    parameter
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following invalid code snippet triggers an ICE since GCC 4.4.0:

================================
template<typename T> struct A
{
  void foo(A<T::~T>);
};
================================

bug.cc:3:19: error: to refer to a type member of a template parameter, use
'typename T::~T' [-fpermissive]
bug.cc:3:19: internal compiler error: in make_typename_type, at cp/decl.c:3224
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2011-12-19 22:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-27 23:54 [Bug c++/51328] New: [4.4/4.5/4.6/4.7 Regression] ICE on invalid template parameter reichelt at gcc dot gnu.org
2011-11-28  0:10 ` [Bug c++/51328] " reichelt at gcc dot gnu.org
2011-11-30 19:52 ` pinskia at gcc dot gnu.org
2011-12-06 14:23 ` rguenth at gcc dot gnu.org
2011-12-19 11:40 ` paolo.carlini at oracle dot com
2011-12-19 14:30 ` paolo.carlini at oracle dot com
2011-12-19 16:08 ` jason at gcc dot gnu.org
2011-12-19 17:58 ` paolo.carlini at oracle dot com
2011-12-19 22:40 ` paolo at gcc dot gnu.org
2011-12-19 22:58 ` paolo.carlini at oracle dot com

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).