This is the mail archive of the gcc@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]
Other format: [Raw text]

RE: Parse tree-dump


It actually contains only a very small subset of the tokens you will see
in the dump. Tree-dump.c also has some, but even the union of these two
doesn't cover all the fields I see in the dump for a simple program.

Thanks,
--Long

-----Original Message-----
From: qinfeng.zhang@philips.com [mailto:qinfeng.zhang@philips.com] 
Sent: Wednesday, November 05, 2003 9:00 PM
To: Long Fei
Cc: gcc@gnu.org
Subject: RE: Parse tree-dump




I see. In old version, there is the function. In new version, it should
be c_dump_tree.



 

 

                                                   To:   Qinfeng
Zhang/SHA/RESEARCH/PHILIPS@APAC

                                                   cc:   "'GCC Mailing
List'" <gcc@gcc.gnu.org>

                                                    <gcc@gnu.org>

 
<gcc-owner@gcc.gnu.org>

               "Long Fei"                          Subject:    RE: Parse
tree-dump

               <lfei@ecn.purdue.edu>

                                                   Classification:

               2003-11-06 09:50

 

 






I didn't find such a function in the source ? What's the file name that
contains that functions ?

Thanks,
--Long


-----Original Message-----
From: qinfeng.zhang@philips.com [mailto:qinfeng.zhang@philips.com]
Sent: Wednesday, November 05, 2003 8:42 PM
To: Long Fei
Cc: 'GCC Mailing List'; gcc@gnu.org; gcc-owner@gcc.gnu.org
Subject: Re: Parse tree-dump



You can try the function "dump_c_node".






                                                   To:   <gcc@gnu.org>

                                                    "'GCC Mailing List'"
<gcc@gcc.gnu.org>

                                                   cc:   (bcc: Qinfeng
Zhang/SHA/RESEARCH/PHILIPS)

                                                   Subject:    Parse
tree-dump

               "Long Fei"

               <lfei@ecn.purdue.edu>               Classification:



               Sent by:

               gcc-owner@gcc.gnu.org



               2003-11-06 08:56










I used "-fdump-tree-original" to get a dump. It looks messy. I need
write a small program to parse it. Does anybody know where to find the
documentations for the dump ? Basically, I need to know what fields can
be in a dump unit, and how the dump is organized.

Thanks in advance,
--Long














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