[Bug debug/52658] New: RECORD_TYPE in generic tree dump file with non-complete FIELD_DECL tree node

2012-03-21 Thread saturnman at 163 dot com
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: unassig...@gcc.gnu.org
ReportedBy: saturn...@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. :-)


[Bug debug/52658] RECORD_TYPE in generic tree dump file with non-complete FIELD_DECL tree node

2012-03-21 Thread saturnman at 163 dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52658

--- Comment #1 from saturnman  2012-03-21 20:40:09 
UTC ---
can any one add this FIX to code base. I just don't has an account, thx.