https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126856
--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> --- (In reply to Andrew Macleod from comment #3) > (In reply to Drea Pinski from comment #1) > > > > So this is caused by r17-3204-ge02ce3b8c4574c. > > > > Let me try to get a testcase without unions and fp. > > Nice analysis. ugg. Thats not pretty. I need to sleep on that one. I think when they are "deleted" we can a) clear the "m_relation_set" bit in the dom oracle b) also the "m_equiv_set" bit in the equiv_oracle c) clear the "m_partial" pe slice members. In theory this should then shortcut all relations queries and prevent any lookups on those ssa name. We'll have to add an API entry point to the oracles... Maybe something like void clear_relations (tree ssa_name); And invoke it from simple_dce_from_worklist. I can poke at it tomorrow maybe. Still going to sleep on it :-)
