But I think there is a bug in the compilation process.
Go ahead and think that. Or, post some real code, some real compiler output, and let us see whether there really is a bug, or whether it is just in your not understanding what the IDE does to your code first.