Found a bug in gcc 2.96

Christian Baxmann klaxi@t-online.de
Thu Jun 15 13:07:00 GMT 2000


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



More information about the Gcc-bugs mailing list