public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
@ 2014-02-17 13:07 vanyacpp at gmail dot com
  2014-02-17 13:25 ` [Bug c++/60241] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vanyacpp at gmail dot com @ 2014-02-17 13:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60241
           Summary: internal compiler error: in finish_member_declaration,
                    at cp/semantics.c:2617
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vanyacpp at gmail dot com

I've got internal compiler error on the following code:

template <typename T>
struct x
{
    template <typename U>
    struct y
    {
        typedef T result2;
    };

    typedef y<int> zy;
};

template<>
template<class T>
struct x<int>::y
{
    typedef double result2;
};

int main()
{
    x<int>::zy::result2 xxx;
    x<int>::y<int>::result2 xxx2;
}

6.cpp: In instantiation of 'struct x<int>::y<int>':
6.cpp:23:19:   required from here
6.cpp:16:1: internal compiler error: in finish_member_declaration, at
cp/semantics.c:2617
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

end of thread, other threads:[~2014-08-01 18:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
2014-02-17 13:25 ` [Bug c++/60241] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2014-02-17 15:37 ` jakub at gcc dot gnu.org
2014-02-21 18:52 ` jason at gcc dot gnu.org
2014-02-21 21:41 ` jason at gcc dot gnu.org
2014-02-22  5:03 ` [Bug c++/60241] [4.7/4.8 " jason at gcc dot gnu.org
2014-06-12 13:45 ` rguenth at gcc dot gnu.org
2014-08-01 18:34 ` [Bug c++/60241] [4.8 " jason at gcc dot gnu.org
2014-08-01 18:35 ` jason at gcc dot gnu.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).