This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa]: BIND_EXPR removal breaks tree-PTA
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Thu, 6 Nov 2003 17:28:37 -0500
- Subject: [tree-ssa]: BIND_EXPR removal breaks tree-PTA
With Load PRE working, and scalarization imminent, i'm working on PTA
some more, and noticed that it was broken by the BIND_EXPR removal
(BLOCK_SUPERCONTEXT sometimes gives us a function_decl, not a block,
etc).
If you can tell me a simple way to iterate the list of DECL's and their
DECL_INITIAL's, i can take care of this.
If there isn't a simple way, i'm gonna need some help figuring out how
the code should work.
(If it helps, it doesn't matter what order we process them in, since
the analysis is flow insensitive).
--Dan