public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47398] [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
@ 2011-01-21 14:58 ` jakub at gcc dot gnu.org
  2011-01-21 15:10 ` jakub at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-21 14:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.3


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

* [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
@ 2011-01-21 15:08 jakub at gcc dot gnu.org
  2011-01-21 14:58 ` [Bug c++/47398] " jakub at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-21 15:08 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6 Regression] tree check: accessed elt 10 of
                    tree_vec with 9 elts in tsubst, at cp/pt.c:10500
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


Created attachment 23063
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23063
rh670984.C

On the attached testcase g++ 4.5 and 4.6 ICE with:
rh670984.C:168:5: internal compiler error: tree check: accessed elt 10 of
tree_vec with 9 elts in tsubst, at cp/pt.c:10500
(different line number in 4.5 of course).
4.4 compiles it without errors.


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

* [Bug c++/47398] [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
  2011-01-21 14:58 ` [Bug c++/47398] " jakub at gcc dot gnu.org
@ 2011-01-21 15:10 ` jakub at gcc dot gnu.org
  2011-01-21 15:18 ` pluto at agmk dot net
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-21 15:10 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-21 14:46:43 UTC ---
Caused by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145440


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

* [Bug c++/47398] [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
  2011-01-21 14:58 ` [Bug c++/47398] " jakub at gcc dot gnu.org
  2011-01-21 15:10 ` jakub at gcc dot gnu.org
@ 2011-01-21 15:18 ` pluto at agmk dot net
  2011-01-24 14:02 ` dodji at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2011-01-21 15:18 UTC (permalink / raw)
  To: gcc-bugs

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

Pawel Sikora <pluto at agmk dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pluto at agmk dot net

--- Comment #2 from Pawel Sikora <pluto at agmk dot net> 2011-01-21 15:07:56 UTC ---
(In reply to comment #1)
> Caused by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145440

the candidate fix http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01381.html
doesn't solve this testcase.


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

* [Bug c++/47398] [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-01-21 15:18 ` pluto at agmk dot net
@ 2011-01-24 14:02 ` dodji at gcc dot gnu.org
  2011-01-24 16:44 ` dodji at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-01-24 14:02 UTC (permalink / raw)
  To: gcc-bugs

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

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.01.24 13:36:24
         AssignedTo|unassigned at gcc dot       |dodji at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


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

* [Bug c++/47398] [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-01-24 14:02 ` dodji at gcc dot gnu.org
@ 2011-01-24 16:44 ` dodji at gcc dot gnu.org
  2011-02-03 19:55 ` dodji at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-01-24 16:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-01-24 16:05:26 UTC ---
A patch was proposed at http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01646.html


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

* [Bug c++/47398] [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-01-24 16:44 ` dodji at gcc dot gnu.org
@ 2011-02-03 19:55 ` dodji at gcc dot gnu.org
  2011-02-03 20:09 ` [Bug c++/47398] [4.5 " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-02-03 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-03 19:55:03 UTC ---
Author: dodji
Date: Thu Feb  3 19:55:00 2011
New Revision: 169807

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169807
Log:
Fix PR c++/47398

gcc/cp/

    PR c++/47398
    * tree.c (cp_tree_equal)<TEMPLATE_PARM_INDEX>: Take the number of
    template parameters in account.

gcc/testsuite/

    PR c++/47398
    * g++.dg/template/typedef37.C: New test.
    * g++.dg/template/param1.C: Adjust expected error message.

Added:
    trunk/gcc/testsuite/g++.dg/template/typedef37.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/template/param1.C


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

* [Bug c++/47398] [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-02-03 19:55 ` dodji at gcc dot gnu.org
@ 2011-02-03 20:09 ` jakub at gcc dot gnu.org
  2011-03-08 13:26 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-03 20:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.6.0
            Summary|[4.5/4.6 Regression] tree   |[4.5 Regression] tree
                   |check: accessed elt 10 of   |check: accessed elt 10 of
                   |tree_vec with 9 elts in     |tree_vec with 9 elts in
                   |tsubst, at cp/pt.c:10500    |tsubst, at cp/pt.c:10500

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-03 20:09:31 UTC ---
Fixed on the trunk so far.


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

* [Bug c++/47398] [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-02-03 20:09 ` [Bug c++/47398] [4.5 " jakub at gcc dot gnu.org
@ 2011-03-08 13:26 ` rguenth at gcc dot gnu.org
  2011-04-18 14:51 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-08 13:26 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug c++/47398] [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2011-03-08 13:26 ` rguenth at gcc dot gnu.org
@ 2011-04-18 14:51 ` rguenth at gcc dot gnu.org
  2011-04-28 14:59 ` rguenth at gcc dot gnu.org
  2012-05-29 11:59 ` paolo.carlini at oracle dot com
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-18 14:51 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |45606

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-18 14:40:29 UTC ---
Fixing this bug on the 4.5 branch requires backporting the fix for PR45606
(at least).


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

* [Bug c++/47398] [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2011-04-18 14:51 ` rguenth at gcc dot gnu.org
@ 2011-04-28 14:59 ` rguenth at gcc dot gnu.org
  2012-05-29 11:59 ` paolo.carlini at oracle dot com
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-28 14:59 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.3                       |4.5.4

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-28 14:51:19 UTC ---
GCC 4.5.3 is being released, adjusting target milestone.


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

* [Bug c++/47398] [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
  2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2011-04-28 14:59 ` rguenth at gcc dot gnu.org
@ 2012-05-29 11:59 ` paolo.carlini at oracle dot com
  10 siblings, 0 replies; 12+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-29 11:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-29 11:58:27 UTC ---
And this one.


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

end of thread, other threads:[~2012-05-29 11:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-21 15:08 [Bug c++/47398] New: [4.5/4.6 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500 jakub at gcc dot gnu.org
2011-01-21 14:58 ` [Bug c++/47398] " jakub at gcc dot gnu.org
2011-01-21 15:10 ` jakub at gcc dot gnu.org
2011-01-21 15:18 ` pluto at agmk dot net
2011-01-24 14:02 ` dodji at gcc dot gnu.org
2011-01-24 16:44 ` dodji at gcc dot gnu.org
2011-02-03 19:55 ` dodji at gcc dot gnu.org
2011-02-03 20:09 ` [Bug c++/47398] [4.5 " jakub at gcc dot gnu.org
2011-03-08 13:26 ` rguenth at gcc dot gnu.org
2011-04-18 14:51 ` rguenth at gcc dot gnu.org
2011-04-28 14:59 ` rguenth at gcc dot gnu.org
2012-05-29 11:59 ` 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).