------- Additional Comments From tromey at gcc dot gnu dot org  2005-06-01 
21:12 -------
One example of a failure is the test case in PR 21722.
In this PR we generate this bytecode in A.class:

  0: ldc #9=<String "foo">
  2: astore_1
  3: getstatic #15=<Field b.B.FOO java.lang.String>
  6: aload_1
  7: invokevirtual #21=<Method java.lang.String.equals 
(java.lang.Object)boolean>

However, as B.FOO is a compile-time constant, we should not have
a 'getstatic' here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1259

Reply via email to