public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/47786] New: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066
@ 2011-02-17 17:02 d.g.gorbachev at gmail dot com
  2011-02-17 17:05 ` [Bug c/47786] " d.g.gorbachev at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-02-17 17:02 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: tree check: expected tree that contains 'decl minimal'
                    structure, have 'tree_list' in c_type_hash, at
                    c-family/c-common.c:4066
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


Created attachment 23385
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23385
gcc -O2 -flto -o /dev/null main.i foo.i

Target: i686-pc-linux-gnu
Configured with: ../gcc-4.6/configure --enable-languages=c,c++
--enable-version-specific-runtime-libs --enable-checking=yes,fold --disable-nls
--disable-shared
Thread model: posix
gcc version 4.6.0 20110212 (experimental) (GCC)


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

* [Bug c/47786] tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066
  2011-02-17 17:02 [Bug c/47786] New: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066 d.g.gorbachev at gmail dot com
@ 2011-02-17 17:05 ` d.g.gorbachev at gmail dot com
  2011-02-17 17:46 ` froydnj at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-02-17 17:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-02-17 16:57:41 UTC ---
Created attachment 23386
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23386
backtrace


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

* [Bug c/47786] tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066
  2011-02-17 17:02 [Bug c/47786] New: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066 d.g.gorbachev at gmail dot com
  2011-02-17 17:05 ` [Bug c/47786] " d.g.gorbachev at gmail dot com
@ 2011-02-17 17:46 ` froydnj at gcc dot gnu.org
  2011-02-17 18:36 ` d.g.gorbachev at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-02-17 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.02.17 17:05:22
         AssignedTo|unassigned at gcc dot       |froydnj at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-02-17 17:05:22 UTC ---
Created attachment 23387
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23387
untested fix

Ugh, DECL_CHAIN fallout.  Mine.


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

* [Bug c/47786] tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066
  2011-02-17 17:02 [Bug c/47786] New: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066 d.g.gorbachev at gmail dot com
  2011-02-17 17:05 ` [Bug c/47786] " d.g.gorbachev at gmail dot com
  2011-02-17 17:46 ` froydnj at gcc dot gnu.org
@ 2011-02-17 18:36 ` d.g.gorbachev at gmail dot com
  2011-03-07 15:32 ` froydnj at gcc dot gnu.org
  2011-03-07 15:34 ` froydnj at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-02-17 18:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-02-17 17:55:42 UTC ---
Thanks!


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

* [Bug c/47786] tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066
  2011-02-17 17:02 [Bug c/47786] New: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066 d.g.gorbachev at gmail dot com
                   ` (2 preceding siblings ...)
  2011-02-17 18:36 ` d.g.gorbachev at gmail dot com
@ 2011-03-07 15:32 ` froydnj at gcc dot gnu.org
  2011-03-07 15:34 ` froydnj at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-03-07 15:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-03-07 15:32:29 UTC ---
Author: froydnj
Date: Mon Mar  7 15:32:25 2011
New Revision: 170739

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170739
Log:
    PR c/47786
    * c-common.c (c_type_hash): Call list_length instead of iterating
    through DECL_CHAIN.  Rename 'i' to 'n_elements'.

Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c


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

* [Bug c/47786] tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066
  2011-02-17 17:02 [Bug c/47786] New: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066 d.g.gorbachev at gmail dot com
                   ` (3 preceding siblings ...)
  2011-03-07 15:32 ` froydnj at gcc dot gnu.org
@ 2011-03-07 15:34 ` froydnj at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-03-07 15:34 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-03-07 15:34:17 UTC ---
Fixed.


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

end of thread, other threads:[~2011-03-07 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-17 17:02 [Bug c/47786] New: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in c_type_hash, at c-family/c-common.c:4066 d.g.gorbachev at gmail dot com
2011-02-17 17:05 ` [Bug c/47786] " d.g.gorbachev at gmail dot com
2011-02-17 17:46 ` froydnj at gcc dot gnu.org
2011-02-17 18:36 ` d.g.gorbachev at gmail dot com
2011-03-07 15:32 ` froydnj at gcc dot gnu.org
2011-03-07 15:34 ` 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).