]> git.ipfire.org Git - thirdparty/gcc.git/commit
[ARC] Update uses for hw-loop labels.
authorclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Nov 2017 14:42:01 +0000 (14:42 +0000)
committerclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Nov 2017 14:42:01 +0000 (14:42 +0000)
commit7904d8dc7bded2ba4322cc84646e33a0e77562b3
tree8c5aac5e60a55af7cbc47ecbba0fa629ed417b7e
parent3655b66887fbed01b4773bbd30369403cbfa4553
[ARC] Update uses for hw-loop labels.

Make sure we mark the hw-loop labels as beeing used.

gcc/
2017-09-19  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.c (hwloop_optimize): Update hw-loop's end/start
labels number of usages.

gcc/testsuite
2017-09-19  Claudiu Zissulescu  <claziss@synopsys.com>

* gcc.target/arc/loop-2.cpp: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255274 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/loop-2.cpp [new file with mode: 0644]