Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6515373

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • hs10
    • 7
    • 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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: