This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] add -foverride-comp-dir
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Dan Aloni <da-x at monatomic dot org>
- Cc: Geoffrey Keating <geoffk at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 Oct 2006 16:18:33 -0300
- Subject: Re: [PATCH] add -foverride-comp-dir
- References: <20060926135209.GA3599@localdomain> <m21wpx6aab.fsf@greed.local> <orac4ejga2.fsf@free.oliva.athome.lsd.ic.unicamp.br> <4521F71C.9020807@monatomic.org>
On Oct 3, 2006, Dan Aloni <da-x@monatomic.org> wrote:
> Alexandre Oliva wrote:
>> On Sep 27, 2006, Geoffrey Keating <geoffk@apple.com> wrote:
>>> Would it be better to simply have a -fno-comp-dir flag, to omit this
>>> information entirely from the DWARF output?
>> We do, it's called -fno-working-directory. I've used it for years.
> At least with gcc 4.1, this flag eliminates the working directory from
> the preprocessor output, but not from the DWARF output.
Odd... I'm pretty sure it used to do that when I added it. That
would be a regression.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}