[Bug debug/52658] New: RECORD_TYPE in generic tree dump file with non-complete FIELD_DECL tree node
saturnman at 163 dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 21 20:40:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52658
Bug #: 52658
Summary: RECORD_TYPE in generic tree dump file with
non-complete FIELD_DECL tree node
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: saturnman@163.com
When dumping tree with parameter -ftree-dump-original-raw. class type with
RECORD_TYPE tree node. I just can't find all FIELD_DECL of all its members.
to fix this problem is quite easy
add one line to tree-dump.c just below line number 535
just add "dump_child ("chan",TREE_CHAIN(t));"
now this problem goes away. :-)
More information about the Gcc-bugs
mailing list