This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: `asm' in natObject.cc
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: Java Discuss List <java at gcc dot gnu dot org>
- Date: 02 Dec 2001 13:47:09 -0700
- Subject: Re: `asm' in natObject.cc
- References: <87itbsxlzj.fsf@creche.redhat.com> <87bshil7kh.fsf@creche.redhat.com> <3C09B59F.8060208@waitaki.otago.ac.nz>
- Reply-to: tromey at redhat dot com
Bryce> I'm guessing that its a libgcj bug, but a g++ bug that it
Bryce> doesn't get reported at -O2. I'm no "asm" expert, but this
Bryce> fixed it for me:
Thanks.
Bryce> Oops - the behaviour of "-MD -MF" must be slightly different
Bryce> between gcj and g++ because gcj doesn't delete the deps file
Bryce> when compilation fails. I checked in the patch below which
Bryce> should take care of it.
Yeah. Unfortunately I failed to track the -M* rewrite closely enough
and a less-than-optimal (for automake) change went in to gcc and g++.
The code for gcj was written first and so didn't have the problem.
Converting gcj to use the generic dependency tracking infrastructure
has been on my to-do list for a long time, but it has never seemed
very important.
Tom