re PR target/8972 ([arc-7-elf] the c code ' x << i' causes infinite loop when i = 0)
authorSaurabh Verma <saurabh.verma@codito.com>
Tue, 6 Sep 2005 22:26:59 +0000 (22:26 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 6 Sep 2005 22:26:59 +0000 (15:26 -0700)
commit006fa7d4282bf2341c1c0e3162cc2cc70d3706e6
tree3a05faf7b9080efca625adaf398cfa8d28c0dd32
parent800dd123ee432ee01bbb515e30efccee505e39ac
re PR target/8972 ([arc-7-elf] the c code ' x << i' causes infinite loop when i = 0)

2005-09-06  Saurabh Verma  <saurabh.verma@codito.com>

        PR target/8972
        * config/arc/arc.c (output_shift): Add check for loop count when
        optimizing.

From-SVN: r103971
gcc/ChangeLog
gcc/config/arc/arc.c