re PR java/26042 (ICE in mark_reference_fields, at java/boehm.c:105)
gcc/java PR java/26042: * parse.y (java_reorder_fields): Reset superclass field's size as well. libjava PR java/26042: * testsuite/libjava.compile/pr26042.java: New file. From-SVN: r112540
This commit is contained in:
parent
6b86a9bc05
commit
1549c4e552
4 changed files with 27 additions and 0 deletions
12
libjava/testsuite/libjava.compile/pr26042.java
Normal file
12
libjava/testsuite/libjava.compile/pr26042.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
class One
|
||||
{
|
||||
long l; // no ICE if this is int, not long
|
||||
int b; // no ICE if this line is gone; type doesn't matter
|
||||
}
|
||||
|
||||
public class pr26042
|
||||
{
|
||||
class Three extends One { }
|
||||
Three three () { return new Three (); }
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue