]> git.ipfire.org Git - thirdparty/gcc.git/commit
rtl.h (for_each_inc_dec_fn): Remove special case for -1.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 28 Aug 2014 06:24:36 +0000 (06:24 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 28 Aug 2014 06:24:36 +0000 (06:24 +0000)
commit8d8e205b922741ad452fbe0750d2d8af8515c967
treedb4367ff6bcb7499b02a7ff3447bdf9b75a3d5e3
parentf7d0b0fc77b26e5fa6872678099576e875d87ed5
rtl.h (for_each_inc_dec_fn): Remove special case for -1.

gcc/
* rtl.h (for_each_inc_dec_fn): Remove special case for -1.
(for_each_inc_dec): Take an rtx rather than an rtx *.
* cselib.c (cselib_record_autoinc_cb): Update accordingly.
(cselib_record_sets): Likewise.
* dse.c (emit_inc_dec_insn_before, check_for_inc_dec_1)
(check_for_inc_dec): Likewise.
* rtlanal.c (for_each_inc_dec_ops): Delete.
(for_each_inc_dec_find_inc_dec): Take the MEM as argument,
rather than a pointer to the memory address.  Replace
for_each_inc_dec_ops argument with separate function and data
arguments.  Abort on non-autoinc addresses.
(for_each_inc_dec_find_mem): Delete.
(for_each_inc_dec): Take an rtx rather than an rtx *.  Use
FOR_EACH_SUBRTX_VAR to visit every autoinc MEM.

From-SVN: r214657
gcc/ChangeLog
gcc/cselib.c
gcc/dse.c
gcc/rtl.h
gcc/rtlanal.c