hg: jdk/sandbox: 8248552: C2 crashes with SIGFPE due to division by zero

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Jul 27 11:15:28 UTC 2020


Changeset: 258505e90ff1
Author:    chagedorn
Date:      2020-07-27 11:03 +0200
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/258505e90ff1

8248552: C2 crashes with SIGFPE due to division by zero
Summary: Bail out in PhaseIdealLoop:split_thru_phi when trying to split a Div or ModNode iv phi whose zero check was removed but could potentially still be zero based on type information.
Reviewed-by: kvn, thartmann

! src/hotspot/share/opto/loopopts.cpp
+ test/hotspot/jtreg/compiler/loopopts/TestSplitThruPhiDivMod.java



More information about the jdk-sandbox-changes mailing list