Add source information to -fverbose-asm
commitb983d92db06d4c63b15300fa81401f8e047610fb
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2016 00:18:18 +0000 (19 00:18 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2016 00:18:18 +0000 (19 00:18 +0000)
tree5faef7399b046f2419d8c84d6f16545f6f1e97cc
parent3d0ab21761ae677ea30c3b044846f8918996c9f6
Add source information to -fverbose-asm

gcc/ChangeLog:
* doc/invoke.texi (fverbose-asm): Note that source code lines
are emitted, and provide an example.
* final.c (asm_show_source): New function.
(final_scan_insn): Call asm_show_source.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239604 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/final.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/verbose-asm-2.c [new file with mode: 0644]