sh-protos.h (shmedia_cleanup_truncate): Take an rtx as argument and return the number...
authorRichard Sandiford <richard.sandiford@arm.com>
Sun, 26 Oct 2014 10:40:15 +0000 (10:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 26 Oct 2014 10:40:15 +0000 (10:40 +0000)
commit5dabe5a94ef83a96f437f9f3425caf0f5280f08d
tree6ba9d4ba81a5e022c7bec20213ef7e639b35421d
parenta57841528cd3cb916985b4b650759f30eb37eaaa
sh-protos.h (shmedia_cleanup_truncate): Take an rtx as argument and return the number of changes.

gcc/
* config/sh/sh-protos.h (shmedia_cleanup_truncate): Take an
rtx as argument and return the number of changes.
* config/sh/sh.c: Include rtl-iter.h.
(shmedia_cleanup_truncate): Take an rtx as argument and iterate
over all subrtxes.  Return the number of changes made.
* config/sh/sh.md: Update caller accordingly.

From-SVN: r216701
gcc/ChangeLog
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.md