diff src/share/vm/opto/loopopts.cpp @ 13076:f675976a61e7

8028198: SIGSEGV in PhaseIdealLoop::build_loop_late_post Reviewed-by: iveresov, kvn
author rbackman
date Tue, 12 Nov 2013 13:47:57 +0100
parents 3213ba4d3dff
children de6a9e811145
line wrap: on
line diff
--- a/src/share/vm/opto/loopopts.cpp	Tue Nov 12 13:58:37 2013 +0100
+++ b/src/share/vm/opto/loopopts.cpp	Tue Nov 12 13:47:57 2013 +0100
@@ -42,6 +42,13 @@
     // so disable this for now
     return NULL;
   }
+
+  if (n->is_MathExact()) {
+    // MathExact has projections that are not correctly handled in the code
+    // below.
+    return NULL;
+  }
+
   int wins = 0;
   assert(!n->is_CFG(), "");
   assert(region->is_Region(), "");