This is the mail archive of the java-patches@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: Patch: gcj and rhug build regression


Tom Tromey writes:
 > >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
 > 
 > Andrew> I would have used flag-syntax-only instead of
 > Andrew> flag_emit_class_files, but I don't suppose it matters.  We
 > Andrew> seem to randomly use one or the other.
 > 
 > I think the bug would still occur with flag-syntax-only, since in this
 > case that flag would be 0.

I don't think so.

$ gcj -C -v Smu.java

[ ... ]
/local/aph/head/install/lib/gcc-lib/i686-pc-linux-gnu/3.4/jc1 Smu.java -quiet [ ... ] -fsyntax-only -femit-class-files -o /dev/null

So flag-syntax-only is probably a better choice than
flag_emit_class_files, since it works in both cases.

Andrew.


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