Running gcj -C org/eclipse/jdt/internal/compiler/lookup/LocalTypeBinding.java
in the attached test code results in ./org/eclipse/jdt/internal/compiler/lookup/TagBits.java: In class 'org.eclipse.jdt.internal.compiler.lookup.LocalTypeBinding': ./org/eclipse/jdt/internal/compiler/lookup/TagBits.java: In constructor '(org.eclipse.jdt.internal.compiler.lookup.ClassScope,org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding,org.eclipse.jdt.internal.compiler.ast.CaseStatement)': ./org/eclipse/jdt/internal/compiler/lookup/TagBits.java:20: error: Undefined variable or class name: 'ASTNode.Bit3'. final int IsNestedType = ASTNode.Bit3; ^ 1 error ASTNode.Bit3 is defined though, and the same command on the same code works with 4.0.1. -- Summary: [4.0.2 regression] symbol lookup failure Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bero at arklinux dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24999