------- Comment #6 from tromey at gcc dot gnu dot org 2006-09-11 23:26 ------- Thanks for the updated test.
It fails for me if I compile it to .class with ecj, but not if I compile it to .class with gcj. The difference is in the qualification of the reference to SUFFIX_CLASS in test2 .. ecj generates 3: getstatic #24=<Field test2.SUFFIX_CLASS char[]> but gcj uses test1 as the qualifier. ecj is correct here fwiw. I think the in C++ ABI case we probably should simply initialize the interface that declares the field. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot |dot org |org Status|WAITING |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-09-11 23:26:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28754