public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477
@ 2010-10-18 12:37 zsojka at seznam dot cz
  2010-10-18 15:38 ` [Bug c++/46065] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-18 12:37 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: tree check: expected tree that
                    contains 'decl minimal' structure, have 'tree_list' in
                    poplevel_named_label_1, at cp/decl.c:477
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22075
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22075
reduced testcase

Compiler output:
$ g++ pr46065.C        
pr46065.C: In function 'void foo()':
pr46065.C:7:7: internal compiler error: tree check: expected tree that contains
'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at
cp/decl.c:477
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

Tested revisions:
r165629 - crash
r163636 - crash
r161659 - OK

Might be another fallout of r162223 (
http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00577.html )


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

* [Bug c++/46065] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477
  2010-10-18 12:37 [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 zsojka at seznam dot cz
@ 2010-10-18 15:38 ` rguenth at gcc dot gnu.org
  2010-10-20  8:29 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-18 15:38 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug c++/46065] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477
  2010-10-18 12:37 [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 zsojka at seznam dot cz
  2010-10-18 15:38 ` [Bug c++/46065] " rguenth at gcc dot gnu.org
@ 2010-10-20  8:29 ` jakub at gcc dot gnu.org
  2010-10-20 11:35 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-20  8:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug c++/46065] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477
  2010-10-18 12:37 [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 zsojka at seznam dot cz
  2010-10-18 15:38 ` [Bug c++/46065] " rguenth at gcc dot gnu.org
  2010-10-20  8:29 ` jakub at gcc dot gnu.org
@ 2010-10-20 11:35 ` hjl.tools at gmail dot com
  2010-10-20 13:46 ` froydnj at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-20 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.20 11:34:47
                 CC|                            |hjl.tools at gmail dot com
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-20 11:34:47 UTC ---
It is caused by revision 162223:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00577.html


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

* [Bug c++/46065] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477
  2010-10-18 12:37 [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-10-20 11:35 ` hjl.tools at gmail dot com
@ 2010-10-20 13:46 ` froydnj at gcc dot gnu.org
  2010-11-10 21:06 ` froydnj at gcc dot gnu.org
  2010-11-11  2:09 ` froydnj at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-10-20 13:46 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Froyd <froydnj at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |froydnj at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-10-20 13:46:08 UTC ---
I will fix this shortly after stage 3 starts.


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

* [Bug c++/46065] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477
  2010-10-18 12:37 [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-10-20 13:46 ` froydnj at gcc dot gnu.org
@ 2010-11-10 21:06 ` froydnj at gcc dot gnu.org
  2010-11-11  2:09 ` froydnj at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-11-10 21:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-11-10 21:05:55 UTC ---
Author: froydnj
Date: Wed Nov 10 21:05:50 2010
New Revision: 166558

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166558
Log:
gcc/cp/
    PR c++/46065
    * decl.c (poplevel_named_label_1): Use TREE_CHAIN if necessary.

gcc/testsuite/
    PR c++/46065
    * g++.dg/pr46065.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/pr46065.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/46065] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477
  2010-10-18 12:37 [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-11-10 21:06 ` froydnj at gcc dot gnu.org
@ 2010-11-11  2:09 ` froydnj at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-11-11  2:09 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Froyd <froydnj at gcc dot gnu.org> changed:

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

--- Comment #4 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-11-11 02:09:01 UTC ---
Fixed.


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

end of thread, other threads:[~2010-11-11  2:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-18 12:37 [Bug c++/46065] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 zsojka at seznam dot cz
2010-10-18 15:38 ` [Bug c++/46065] " rguenth at gcc dot gnu.org
2010-10-20  8:29 ` jakub at gcc dot gnu.org
2010-10-20 11:35 ` hjl.tools at gmail dot com
2010-10-20 13:46 ` froydnj at gcc dot gnu.org
2010-11-10 21:06 ` froydnj at gcc dot gnu.org
2010-11-11  2:09 ` froydnj 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).