This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Curious verifier error


>>>>> "Nic" == Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:

Nic>      if (someCondition && (one == someValue))

Nic> It made me think that maybe a compiler like GCJ should add
Nic> "dummy-mode" where things like equality checks are flagged at
Nic> compile time. GCC does similar things for C programmers doesn't
Nic> it?

GCC does do that for C.  I think it is quite helpful.  I'd be in favor
of adding similar processing to gcj.  Could you submit a PR asking for
this?  That way we'll at least remember it.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]