This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]