On Wed, Mar 25, 2020 at 10:41:57AM +0100, Tobias Burnus wrote: > Hence, I in my opinion the comment should be: > "! The compiler_options() function is dependent" … > > OK with that change, unless compiler_version() indeed > makes a difference – but then I would like to understand why.
You're right, sorry for messing this up. Initially when I looked at it, I didn't notice compiler_options() and just saw compiler_version() and thought it behaved like -grecord-gcc-options which puts both version and compiler options into DW_AT_producer. It is indeed just compiler_options(). Jakub