PR java/21540, PR java/13788:
gcc/java/: PR java/21540, PR java/13788: * parse.y (java_complete_lhs) <CASE_EXPR>: Use fold_constant_for_init. (patch_binop): Added 'folding' argument. Updated all callers. (patch_unaryop) <NOP_EXPR>: New case. (fold_constant_for_init) <NOP_EXPR>: Likewise. (fold_constant_for_init) <COND_EXPR>: Fix sense of test. libjava/: PR java/21540, PR java/13788: * testsuite/libjava.compile/pr21540.java: New file. * testsuite/libjava.compile/pr13788.java: New file. * testsuite/libjava.jacks/jacks.xfail: Updated. From-SVN: r101358
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2005-06-27 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR java/21540, PR java/13788:
|
||||
* testsuite/libjava.compile/pr21540.java: New file.
|
||||
* testsuite/libjava.compile/pr13788.java: New file.
|
||||
* testsuite/libjava.jacks/jacks.xfail: Updated.
|
||||
|
||||
2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* testsuite/libjava.mauve/xfails: Updated to reflect current state
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
class pr13788 {
|
||||
private static final int DUMMY1 = 1 >>> 1;
|
||||
|
||||
public static void main(String [] args) {
|
||||
System.out.println(DUMMY1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
public class pr21540
|
||||
{
|
||||
public static final long xxx = 555;
|
||||
|
||||
public boolean fn (int v)
|
||||
{
|
||||
switch (v)
|
||||
{
|
||||
case ((int) xxx >>> 32):
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -274,9 +274,7 @@
|
||||
15.28-null-1
|
||||
15.28-null-3
|
||||
15.28-primitive-15
|
||||
15.28-primitive-16
|
||||
15.28-primitive-17
|
||||
15.28-primitive-9
|
||||
15.28-qualified-name-10
|
||||
15.28-qualified-name-5
|
||||
15.28-qualified-name-6
|
||||
@@ -294,7 +292,6 @@
|
||||
15.28-simple-namestr-4
|
||||
15.28-string-11
|
||||
15.28-string-15
|
||||
15.28-string-16
|
||||
15.28-string-17
|
||||
15.28-string-18
|
||||
15.28-string-2
|
||||
@@ -456,27 +453,11 @@
|
||||
5.1.2-btf-1
|
||||
5.1.2-btf-3
|
||||
5.1.2-btf-5
|
||||
5.1.2-bti-1
|
||||
5.1.2-bti-3
|
||||
5.1.2-bti-5
|
||||
5.1.2-btl-1
|
||||
5.1.2-btl-3
|
||||
5.1.2-btl-5
|
||||
5.1.2-bts-1
|
||||
5.1.2-bts-2
|
||||
5.1.2-bts-3
|
||||
5.1.2-bts-4
|
||||
5.1.2-bts-5
|
||||
5.1.2-std-3
|
||||
5.1.2-std-5
|
||||
5.1.2-stf-1
|
||||
5.1.2-stf-3
|
||||
5.1.2-stf-5
|
||||
5.1.2-sti-1
|
||||
5.1.2-sti-5
|
||||
5.1.2-stl-1
|
||||
5.1.2-stl-3
|
||||
5.1.2-stl-5
|
||||
6.3-1
|
||||
6.5.1-type-15
|
||||
6.5.1-type-16
|
||||
|
||||
Reference in New Issue
Block a user