PR28149, debug info with wrong file association

Alan Modra amodra@gmail.com
Fri Sep 17 11:16:50 GMT 2021


On Fri, Sep 17, 2021 at 11:16:38AM +0200, Eric Botcazou wrote:
> > I'm sorry, I see I had a mainline gcc built from older sources..
> > Today's build was commit a6aa2458a92f from the top of the gcc-11
> > branch.  That one does show the problem.
> 
> No, it should generate the same directive:

Huh.  I was tricked.  The gcc-11 command line I showed was exactly
what I ran, without what I'd normally add, -o pr28149.  So a.out
output.  Under those circumstances it seems gcc writes temp files to
a-pr28149.*, and I looked at the old pr28149.s.

Eh well, I may not have made the gas dwarf cleanup if I'd known the
problem was fixed already by gcc changes..

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list