JDK-6671250 : In Parse::do_if() old Cmp node 'c' should be replaced with new one after BoolNode transformation.
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:hs12
Priority:P4
Status:Closed
Resolution:Fixed
OS:solaris_10
CPU:sparc
Submitted:2008-03-05
Updated:2011-04-20
Resolved:2011-04-20
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
In Parse::do_if() 'c' (CmpNode) node may be changed during BoolNode transformation
so 'c' may became dead but the node is referenced later in the code.
It should be replaced with new one after BoolNode transformation.
Comments
EVALUATION
See description.
05-03-2008
SUGGESTED FIX
'c' should be replaced with new node after BoolNode transformation
and canonicalize one more time since transformtion can change it.