This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
why would this casue seg fault? gimple_block_label (EXIT_BLOCK_PTR)
- From: Jeff Saremi <jeffsaremi at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 8 Aug 2010 13:57:53 -0700 (PDT)
- Subject: why would this casue seg fault? gimple_block_label (EXIT_BLOCK_PTR)
I emptied out all the code in my plugin. It's now a print and a gimple_block_label.
The block label works fine on a brand new empty block but it won't work on the EXIT_BLOCK_PTR. I can't debug this but it looks like "gsi_start_bb(EXIT_BLOCK_PTR)" is not a valid iterator.
I'd appreciate any hints regarding this. thanks
jeff