Add source information to -fverbose-asm
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 19 Aug 2016 00:18:18 +0000 (00:18 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 19 Aug 2016 00:18:18 +0000 (00:18 +0000)
commit82f72146967e71693f2d4f6646f35c3c00780602
tree5faef7399b046f2419d8c84d6f16545f6f1e97cc
parentf4e46e34a2c517e1c6c3d0802aba82a9637d677d
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.

From-SVN: r239604
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]