3044N/A/*
3044N/A * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
3044N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3044N/A *
3044N/A * This code is free software; you can redistribute it and/or modify it
3044N/A * under the terms of the GNU General Public License version 2 only, as
3044N/A * published by the Free Software Foundation.
3044N/A *
3044N/A * This code is distributed in the hope that it will be useful, but WITHOUT
3044N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3044N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3044N/A * version 2 for more details (a copy is included in the LICENSE file that
3044N/A * accompanied this code).
3044N/A *
3044N/A * You should have received a copy of the GNU General Public License version
3044N/A * 2 along with this work; if not, write to the Free Software Foundation,
3044N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3044N/A *
3044N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3044N/A * or visit www.oracle.com if you need additional information or have any
3044N/A * questions.
3044N/A *
3044N/A */
3044N/A
3044N/A/**
3044N/A * @test
3044N/A * @bug 7123108
3044N/A * @summary C1 crashes with assert(if_state != NULL) failed: states do not match up
3044N/A *
3044N/A * @run main/othervm -Xcomp Test7123108
3044N/A */
3044N/A
3044N/Apublic class Test7123108 {
3044N/A
3044N/A static class Test_Class_0 {
3044N/A final static byte var_2 = 67;
3044N/A byte var_3;
3044N/A }
3044N/A
3044N/A Object var_25 = "kgfpyhcms";
3044N/A static long var_27 = 6899666748616086528L;
3044N/A
3044N/A static float func_1()
3044N/A {
3044N/A return 0.0F;
3044N/A }
3044N/A
3044N/A private void test()
3044N/A {
3044N/A "dlwq".charAt(((short)'x' > var_27 | func_1() <= (((Test_Class_0)var_25).var_3) ? true : true) ? Test_Class_0.var_2 & (short)-1.1173839E38F : 'Y');
3044N/A }
3044N/A
3044N/A public static void main(String[] args)
3044N/A {
3044N/A Test7123108 t = new Test7123108();
3044N/A try {
3044N/A t.test();
3044N/A } catch (Throwable e) { }
3044N/A }
3044N/A}