diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-09-10 14:42:05 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-09-10 14:42:05 +0000 |
commit | 1c22488e18f254dde889e01c72f250be41b9227e (patch) | |
tree | c68a8dcc34b9744826ef8bc4e707ebafa99ba49c /gcc/rtl-error.h | |
parent | d0bffe555ae09d599f8f6202dc6cf511b8c9de48 (diff) | |
download | gcc-1c22488e18f254dde889e01c72f250be41b9227e.zip gcc-1c22488e18f254dde889e01c72f250be41b9227e.tar.gz gcc-1c22488e18f254dde889e01c72f250be41b9227e.tar.bz2 |
error_for_asm and warning_for_asm take const rtx_insn *
gcc/ChangeLog:
2014-09-10 David Malcolm <dmalcolm@redhat.com>
* final.c (this_is_asm_operands): Strengthen this variable from
rtx to const rtx_insn *.
* output.h (this_is_asm_operands): Likewise.
* rtl-error.c (location_for_asm): Strengthen param "insn" from
const_rtx to const rtx_insn *.
(diagnostic_for_asm): Likewise.
* rtl-error.h (error_for_asm): Likewise.
(warning_for_asm): Likewise.
From-SVN: r215133
Diffstat (limited to 'gcc/rtl-error.h')
-rw-r--r-- | gcc/rtl-error.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/rtl-error.h b/gcc/rtl-error.h index 366498f..479e2e5 100644 --- a/gcc/rtl-error.h +++ b/gcc/rtl-error.h @@ -20,5 +20,7 @@ along with GCC; see the file COPYING3. If not see #include "rtl.h" #include "diagnostic-core.h" -extern void error_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); -extern void warning_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); +extern void error_for_asm (const rtx_insn *, const char *, + ...) ATTRIBUTE_GCC_DIAG(2,3); +extern void warning_for_asm (const rtx_insn *, const char *, + ...) ATTRIBUTE_GCC_DIAG(2,3); |