public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53492] New: [g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 ] internal compiler error: in retrieve_specialization, at cp/pt.c:985
@ 2012-05-25 23:14 endight at gmail dot com
  2012-05-26 18:08 ` [Bug c++/53492] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: endight at gmail dot com @ 2012-05-25 23:14 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53492
           Summary: [g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 ] internal
                    compiler error: in retrieve_specialization, at
                    cp/pt.c:985
    Classification: Unclassified
           Product: gcc
           Version: new-ra
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: endight@gmail.com


Created attachment 27501
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27501
Preprocessed source stored into /tmp/ccTNE1Sa.out file, please attach this to
your bugreport.

template<typename T>
struct foo{
    struct bat;
        template<typename X>
        class quux;
};

template<typename T>
class foo<T>::bat
{};

template<>
template<typename T>
class foo<T>::quux{
    quux(typename foo<T>::bat*){}
};


template<typename T>
struct buz: public foo<T>::template bar<T>{};

int main()
{
    foo<int>::quux<int> lol; // bug
}
// gives this
../main.cpp: In instantiation of 'foo<int>::quux<int>':
../main.cpp:24:22:   instantiated from here
../main.cpp:15:2: internal compiler error: in retrieve_specialization, at
cp/pt.c:985


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

end of thread, other threads:[~2014-06-12 13:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-25 23:14 [Bug c++/53492] New: [g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 ] internal compiler error: in retrieve_specialization, at cp/pt.c:985 endight at gmail dot com
2012-05-26 18:08 ` [Bug c++/53492] " pinskia at gcc dot gnu.org
2012-05-29 10:29 ` rguenth at gcc dot gnu.org
2014-01-22 11:06 ` [Bug c++/53492] " mpolacek at gcc dot gnu.org
2014-03-01 22:50 ` [Bug c++/53492] [4.7/4.8/4.9 Regression] ICE " reichelt at gcc dot gnu.org
2014-03-08  4:36 ` jason at gcc dot gnu.org
2014-03-10 15:45 ` jason at gcc dot gnu.org
2014-06-12 13:48 ` [Bug c++/53492] [4.7/4.8 " rguenth 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).