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