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]

Found a bug in gcc 2.96


Hi everybody!
 
first: who ever wrote /cp/dump.c :   thank you very very much!!!
 
and here's the bug:
version: gcc 2.96, egcs-20000613
system: all
options: -fdump-translation-unit
file: gcc/cp/dump.c
what happens: compiler stops dumping with an internal-error-message, when trying
                      to dump an AST that contains TREE_VEC-nodes
position: can't remember (line 4xx), search for:
    case TREE_VEC:
    dump_int (di, "lngt", IDENTIFIER_LENGTH(T));
solution:
    change IDENTIFIER_LENGTH to TREE_VEC_LENGTH
   ('cause  TREE_VEC-nodes don't have an IDENTIFIER_LENGTH-attribute)
   
 
please mail me, if i'm right or wrong
 
Christian Baxmann

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