public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44118]  New: ICE: in instantiate_decl, at cp/pt.c:16657
@ 2010-05-13 15:10 zsojka at seznam dot cz
  2010-05-13 15:11 ` [Bug c++/44118] " zsojka at seznam dot cz
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-05-13 15:10 UTC (permalink / raw)
  To: gcc-bugs

Tested revisions:
r159305 - crash (after pr34491 fix)
4.5 r158978 - crash
4.4 r158133 - crash

Compiler output:
$ /mnt/svn/gcc-trunk/binary-159305-lto-fortran/bin/g++ testcase.C
testcase.C:2:30: error: template parameters not used in partial specialization:
testcase.C:2:30: error:         '<template-parameter-1-1>'
testcase.C: In function 'void f()':
testcase.C:11:16:   recursively instantiated from 'void S<int>::f()'
testcase.C:11:16:   instantiated from here
testcase.C:11:16: internal compiler error: in instantiate_decl, at
cp/pt.c:16657
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE: in instantiate_decl, at cp/pt.c:16657
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz


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


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
  2010-05-13 15:10 [Bug c++/44118] New: ICE: in instantiate_decl, at cp/pt.c:16657 zsojka at seznam dot cz
@ 2010-05-13 15:11 ` zsojka at seznam dot cz
  2010-05-13 17:02 ` pinskia at gcc dot gnu dot org
  2010-07-24 21:30 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-05-13 15:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-05-13 15:11 -------
Created an attachment (id=20658)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20658&action=view)
reduced testcase

$ g++ pr44118.C


-- 


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


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
  2010-05-13 15:10 [Bug c++/44118] New: ICE: in instantiate_decl, at cp/pt.c:16657 zsojka at seznam dot cz
  2010-05-13 15:11 ` [Bug c++/44118] " zsojka at seznam dot cz
@ 2010-05-13 17:02 ` pinskia at gcc dot gnu dot org
  2010-07-24 21:30 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-05-13 17:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2010-05-13 17:02 -------
Related to PR 43630.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.4.5 4.5.1 4.6.0           |4.4.5 4.5.1 4.6.0 4.1.3
                   |                            |4.2.4


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


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
  2010-05-13 15:10 [Bug c++/44118] New: ICE: in instantiate_decl, at cp/pt.c:16657 zsojka at seznam dot cz
  2010-05-13 15:11 ` [Bug c++/44118] " zsojka at seznam dot cz
  2010-05-13 17:02 ` pinskia at gcc dot gnu dot org
@ 2010-07-24 21:30 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-07-24 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-07-24 21:30 -------
(In reply to comment #2)
> Related to PR 43630.

But not the same as this one still ICEs after the fix for PR 43630.

Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-24 21:30:39
               date|                            |


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


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
       [not found] <bug-44118-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-02-20 11:40 ` paolo.carlini at oracle dot com
@ 2011-02-21 17:32 ` paolo.carlini at oracle dot com
  5 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-21 17:32 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rearnsha at gcc dot gnu.org

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-21 17:24:32 UTC ---
*** Bug 44737 has been marked as a duplicate of this bug. ***


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
       [not found] <bug-44118-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-02-20 11:21 ` paolo.carlini at oracle dot com
@ 2011-02-20 11:40 ` paolo.carlini at oracle dot com
  2011-02-21 17:32 ` paolo.carlini at oracle dot com
  5 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-20 11:40 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
       [not found] <bug-44118-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-02-20 11:13 ` paolo at gcc dot gnu.org
@ 2011-02-20 11:21 ` paolo.carlini at oracle dot com
  2011-02-20 11:40 ` paolo.carlini at oracle dot com
  2011-02-21 17:32 ` paolo.carlini at oracle dot com
  5 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-20 11:21 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-20 11:13:04 UTC ---
Thanks Jakub. Done.


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
       [not found] <bug-44118-4@http.gcc.gnu.org/bugzilla/>
  2011-02-20  0:44 ` paolo.carlini at oracle dot com
  2011-02-20 10:35 ` jakub at gcc dot gnu.org
@ 2011-02-20 11:13 ` paolo at gcc dot gnu.org
  2011-02-20 11:21 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: paolo at gcc dot gnu.org @ 2011-02-20 11:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-02-20 11:11:08 UTC ---
Author: paolo
Date: Sun Feb 20 11:11:05 2011
New Revision: 170336

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170336
Log:
2011-02-20  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/44118
    * g++.dg/template/crash105.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash105.C
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
       [not found] <bug-44118-4@http.gcc.gnu.org/bugzilla/>
  2011-02-20  0:44 ` paolo.carlini at oracle dot com
@ 2011-02-20 10:35 ` jakub at gcc dot gnu.org
  2011-02-20 11:13 ` paolo at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-20 10:35 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-20 07:58:39 UTC ---
The ICE went away starting with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166164


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

* [Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657
       [not found] <bug-44118-4@http.gcc.gnu.org/bugzilla/>
@ 2011-02-20  0:44 ` paolo.carlini at oracle dot com
  2011-02-20 10:35 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-20  0:44 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot
                   |                            |com
      Known to fail|                            |

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-20 00:01:47 UTC ---
Zdenek, can you double check this one too? It works for me with r170330. If we
can't figure out which specific patch fixed the problem, I can still close the
PR after having added the testcase to the testsuite. Thanks.


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

end of thread, other threads:[~2011-02-21 17:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-13 15:10 [Bug c++/44118] New: ICE: in instantiate_decl, at cp/pt.c:16657 zsojka at seznam dot cz
2010-05-13 15:11 ` [Bug c++/44118] " zsojka at seznam dot cz
2010-05-13 17:02 ` pinskia at gcc dot gnu dot org
2010-07-24 21:30 ` pinskia at gcc dot gnu dot org
     [not found] <bug-44118-4@http.gcc.gnu.org/bugzilla/>
2011-02-20  0:44 ` paolo.carlini at oracle dot com
2011-02-20 10:35 ` jakub at gcc dot gnu.org
2011-02-20 11:13 ` paolo at gcc dot gnu.org
2011-02-20 11:21 ` paolo.carlini at oracle dot com
2011-02-20 11:40 ` paolo.carlini at oracle dot com
2011-02-21 17:32 ` 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).