[Bug java/16867] New: Inline array initializer miscompilation at -O
mckinlay at redhat dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 3 20:47:00 GMT 2004
The following test case fails when compiled with mainline at -O. This is a
regression since 3.4.
public class ArrayInit
{
public static Object[] getFoo()
{
return new Object[] {"OK"};
}
public static void main(String[] args)
{
Object[] a = getFoo();
System.out.println(a[0]);
}
}
--
Summary: Inline array initializer miscompilation at -O
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mckinlay at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16867
More information about the Gcc-bugs
mailing list