756N/A/*
1472N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
756N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
756N/A *
756N/A * This code is free software; you can redistribute it and/or modify it
756N/A * under the terms of the GNU General Public License version 2 only, as
756N/A * published by the Free Software Foundation.
756N/A *
756N/A * This code is distributed in the hope that it will be useful, but WITHOUT
756N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
756N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
756N/A * version 2 for more details (a copy is included in the LICENSE file that
756N/A * accompanied this code).
756N/A *
756N/A * You should have received a copy of the GNU General Public License version
756N/A * 2 along with this work; if not, write to the Free Software Foundation,
756N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
756N/A *
1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1472N/A * or visit www.oracle.com if you need additional information or have any
1472N/A * questions.
756N/A */
756N/A
756N/A/**
756N/A * @test
756N/A * @bug 6837011
756N/A * @summary SIGSEGV in PhaseIdealLoop in 32bit jvm
756N/A *
756N/A * @run main/othervm -Xcomp -XX:CompileOnly=Test6837011.main Test6837011
756N/A */
756N/A
756N/Apublic class Test6837011 {
756N/A static boolean var_3 = true;
756N/A
756N/A public static void main(String[] args) {
756N/A double var_5;
756N/A char var_7 = 1;
756N/A double var_11 = 0;
756N/A
756N/A do {
756N/A var_11++;
756N/A var_5 = (var_7 /= ( var_3 ? ~1L : 3 ) );
756N/A } while (var_11 < 1);
756N/A }
756N/A}