gcc-patches@gcc.gnu.org
[Top] [All Lists]

[PATCH] make it safe to include basic-block.h and tree-flow.h from C++

Subject: [PATCH] make it safe to include basic-block.h and tree-flow.h from C++
From: Rafael Ãvila de EspÃndola
Date: Fri, 9 Dec 2005 14:02:42 -0200
The attached patch makes it safe to include basic-block.h and tree-flow.h from 
C++. Something similar will be necessary in order to LLVM to able to access 
the basic block info.

bootstraped on a GNU/Linux/x86

Rafael

gcc/ChangeLog:
               tree-flow.h: (edge_prediction): use struct edge_def * instead of 
edge
               varray.h: (varray_data_tag): use struct rtx_def * instead of rtx
                                                                    use struct 
rtvec_def * instead of rtvec
                                                                    use union 
tree_node * instead of tree

Attachment: gcc-cpp.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>