public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47125] New: ICE occurs in combination with partial specialization and invalid template function.
@ 2010-12-29 19:49 flast at flast dot jp
  2010-12-29 19:51 ` [Bug c++/47125] " flast at flast dot jp
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: flast at flast dot jp @ 2010-12-29 19:49 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE occurs in combination with partial specialization
                    and invalid template function.
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: flast@flast.jp


compiler output:
$ g++-4.5 testcase.cpp
testcase.cpp: In function 'void g()':
testcase.cpp:17:17: error: 'class enable_if<true, T>::type' resolves to
'enable_if<true, int>::type', which is is not a class type
testcase.cpp:17:17: error: 'class enable_if<true, T>::type' resolves to
'enable_if<true, int>::type', which is is not a class type
testcase.cpp:12:1: error: 'class enable_if<true, T>::type' resolves to
'enable_if<true, int>::type', which is is not a class type

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

tested version:
4.4.4-14ubuntu5 - OK
4.5.1 - Crash
4.5.2 - Crash
4.6.0 r168322 - Crash


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

end of thread, other threads:[~2011-03-30  2:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-29 19:49 [Bug c++/47125] New: ICE occurs in combination with partial specialization and invalid template function flast at flast dot jp
2010-12-29 19:51 ` [Bug c++/47125] " flast at flast dot jp
2010-12-29 21:13 ` [Bug c++/47125] [4.5/4.6 Regression] " hjl.tools at gmail dot com
2011-01-03 21:41 ` rguenth at gcc dot gnu.org
2011-03-11 21:03 ` jason at gcc dot gnu.org
2011-03-12  6:49 ` jason at gcc dot gnu.org
2011-03-13  1:17 ` jason at gcc dot gnu.org
2011-03-14  5:02 ` jason at gcc dot gnu.org
2011-03-30  0:28 ` flast at flast dot jp
2011-03-30  2:36 ` 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).