On 06/20/2017 02:16 PM, Richard Biener wrote:
Nice. This looks ok.
Great, thank you!
I'm mildy curious about the deecrease of debuginfo size for cc1 -- did you spot anything obvious there?
Well, the benchmark I exposed was for the whole file size, not just .debug_info section size. Just to be sure, I compared object files for both trunk and my patched tree: outside of Ada units, I only get the following evolution:
gcc/dwarf2out.o: -10168 bytes gcc/godump.o: +272 bytes gcc/passes.o: +880 bytes
This diff comes from my changes themselves. I had a quick look at the same for cc1’s .debug_info: there is the expected evolution, too,
I suspect Fortran wants to do sth similar as Ada for imported modules.
Maybe. I have zero Fortran knowledge, so I’ll let a Fortran expert decide, if that is fine for you. :-) In any case, the back-end is ready for that.
-- Pierre-Marie de Rodat