10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 /**
26 * @test
27 * @bug 6663854
28 * @summary assert(n != __null,"Bad immediate dominator info.") in C2 with -Xcomp
29 *
30 * @run main/othervm -Xcomp Test6663854
31 */
32
33 // This is a randomly generated test that exposed a crash so don't try
34 // to make sense of what's it's doing. The output produced is likely
35 // to be stable but it is not being checked as part of this test.
36
37 final class Test6663854_Class_0 {
38 final long var_1 = ((byte)1.2510591E38F & - ~ - - - ~3554133935918431232L) << 'g';
39 final static long var_2 = 662144491976981504L;
40 static byte[] var_3;
41 static byte var_4;
42 static float var_5;
43 final short var_6 = 4156;
44 double var_7;
45 char var_8 = 'F';
46 static long var_9;
47 char var_10;
48
49
50 public Test6663854_Class_0()
51 {
52 var_7 = (var_9 = (var_4 = (var_4 = (byte)~ -var_1)));
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 /**
26 * @test
27 * @bug 6663854
28 * @summary assert(n != __null,"Bad immediate dominator info.") in C2 with -Xcomp
29 *
30 * @run main/othervm -Xcomp compiler.c2.cr6663854.Test6663854
31 */
32
33 package compiler.c2.cr6663854;
34 // This is a randomly generated test that exposed a crash so don't try
35 // to make sense of what's it's doing. The output produced is likely
36 // to be stable but it is not being checked as part of this test.
37
38 final class Test6663854_Class_0 {
39 final long var_1 = ((byte)1.2510591E38F & - ~ - - - ~3554133935918431232L) << 'g';
40 final static long var_2 = 662144491976981504L;
41 static byte[] var_3;
42 static byte var_4;
43 static float var_5;
44 final short var_6 = 4156;
45 double var_7;
46 char var_8 = 'F';
47 static long var_9;
48 char var_10;
49
50
51 public Test6663854_Class_0()
52 {
53 var_7 = (var_9 = (var_4 = (var_4 = (byte)~ -var_1)));
|