Make INSN_HAS_LOCATION require an rtx_insn
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 29 Aug 2014 00:02:25 +0000 (00:02 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 29 Aug 2014 00:02:25 +0000 (00:02 +0000)
commit3064b94272037d53a8c9886c3e347c063d2f0a40
tree44b9ba0f456c4bbde529572156622d836060ca82
parent2ccdda1997cc4baf3c10c6fc602c59722b5a3947
Make INSN_HAS_LOCATION require an rtx_insn

gcc/
2014-08-28  David Malcolm  <dmalcolm@redhat.com>

* rtl.h (INSN_HAS_LOCATION): Strengthen param from const_rtx to
const rtx_insn *.

* print-rtl.c (print_rtx): Add checked cast to const rtx_insn *
in invocation of INSN_HAS_LOCATION.

From-SVN: r214700
gcc/ChangeLog
gcc/print-rtl.c
gcc/rtl.h