This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] MIPS gas: Don't infer optimisation from debug option


Thiemo Seufer wrote:
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.


*nod* That's what I thought when I first ran across the code :)


OK by me.

-eric


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