Re: problem after using gsi_remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 4 Jun 2019, 李宗霖 wrote:

I use gsi_remove to remove some call statement.
Then it comes out some error message after the last basic block.
But I didn't use the function(ex. like dominated_by_p,
get_continuation_for_phi, etc)  in these error message.
After that, I add bitmap_set_bit to fix, but it still the same.

The description is super vague... If you look at other places in the compiler that use gsi_remove, there are often some other necessary cleanups next to it, typically unlink_stmt_vdef or release_defs, but there can be others depending on the type of statement, the pass, etc. The issue may not manifest immediately but only the next time something tries to use a datastructure that wasn't updated. It isn't clear what bitmap_set_bit has to do with anything, without context.

--
Marc Glisse



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux