Add check_effective_target_autoincdec.
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 14 Aug 2017 11:18:50 +0000 (11:18 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 14 Aug 2017 11:18:50 +0000 (11:18 +0000)
commit5316dd1b63913e390fb2a5d7b335aeacd9da3001
tree438c15e4f1577cbd6142da5d6768ca7946821048
parent250db3f9b2182fd7dabce50b7b3fb7e2ee85bf3d
Add check_effective_target_autoincdec.

Add check_effective_target_autoincdec that returns true if a target
runs the auto_inc_dec optimization pass.

    gcc/
* doc/sourcebuild.texi (autoincdec): Add autoincdec description.

    gcc/testsuite/
PR middle-end/46932
* gcc.dg/pr46932.c: Use dg-require-effective-target autoincdec.
* lib/target-supports.exp: Add check_effective_target_autoincdec.

From-SVN: r251087
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46932.c
gcc/testsuite/lib/target-supports.exp