This is the mail archive of the gcc-patches@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]

Re: patch to fix outstanding problems with analysis of statics.


Index: gcc/tree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.c,v
retrieving revision 1.437
diff -c -3 -p -r1.437 tree.c
*** gcc/tree.c	29 Sep 2004 13:07:44 -0000	1.437
--- gcc/tree.c	7 Oct 2004 18:39:51 -0000
*************** make_node_stat (enum tree_code code MEM_
*** 259,265 ****
    enum tree_code_class type = TREE_CODE_CLASS (code);
    size_t length = tree_code_size (code);
  #ifdef GATHER_STATISTICS
!   tree_node_kind kind;

    switch (type)
      {
--- 259,265 ----
    enum tree_code_class type = TREE_CODE_CLASS (code);
    size_t length = tree_code_size (code);
  #ifdef GATHER_STATISTICS
!   tree_node_kind kind = all_kinds;

    switch (type)
      {

This portion should no longer be necessary.
The bug was fixed a different way (someone added another case statement or two, i believe).



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