Self referenced phi causes assert in falltrough case in RegionNode::Ideal

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • hs10
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • b51
    • 6
    • b07
    • sparc
    • solaris_9

        Self referenced phi causes assert in falltrough case in RegionNode::Ideal():

         assert(dead->outcnt() == 0 && !dead->is_top(), "node must be dead");

        The stack looks like:

          [3] PhaseIterGVN::remove_dead_node()
          [4] PhaseIterGVN::subsume_node()
          [5] RegionNode::Ideal()
          [6] PhaseIterGVN::transform_old()
          [7] PhaseIterGVN::optimize

        The ideal case has found a phi with a single input and wants to replace it. The single input is itself!

         2644 Phi === 2641 2644

              Assignee:
              Vladimir Kozlov
              Reporter:
              Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: