This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] MIPS gas: Don't infer optimisation from debug option
- From: Thiemo Seufer <ths at networkno dot de>
- To: Eric Christopher <echristo at apple dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 18 Jul 2006 16:33:05 +0100
- Subject: Re: [PATCH] MIPS gas: Don't infer optimisation from debug option
- References: <20060718130805.GA4613@networkno.de> <44BCFDAF.7060108@apple.com>
Eric Christopher wrote:
> Thiemo Seufer wrote:
> >Hello All,
> >
> >this patch stops MIPS gas from infering the optimisation level from
> >debug options.
> >
> >Comments?
>
> I don't particularly care, but why the change?
Because it is surprising to ask for -O2 -g and get effectively -O0 -g
from the assembler. I figure this behaviour used to be more sensible
with old debugging formats.
Thiemo