[Bug java/38840] GCJ internal compiler error in handle_constant under very specific combination of conditions

2016-09-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38840

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #2 from Andrew Pinski  ---
Closing as won't fix as the Java front-end has been removed from the trunk.

[Bug java/38840] GCJ internal compiler error in handle_constant under very specific combination of conditions

2009-01-14 Thread nils dot de dot reus at ivm dot vu dot nl


--- Comment #1 from nils dot de dot reus at ivm dot vu dot nl  2009-01-14 
20:44 ---

It is a bit further removed from the real life situation I am dealing with, but
to make testing easier I've moved it all into one file so you don't need to
bother with importing or package structure.


// - Test.java ---
import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@interface TestAnnotation {
String eggs() default ;
int spam() default 0;
boolean foo() default false;
};

@TestAnnotation(eggs = yolk, spam = 5, foo = true)
public class Test {
static final int bar = 1;
};
// ---


-- 


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