From c204f1b5471d9b9b91728c6f9befd878cc015257 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Fri, 9 May 2014 12:11:30 +0000 Subject: [PATCH] avr-fixed.md (round3): Use -1U instead of -1 in unsigned int initializers for regno_in, regno_out. * config/avr/avr-fixed.md (round3): Use -1U instead of -1 in unsigned int initializers for regno_in, regno_out. From-SVN: r210272 --- gcc/ChangeLog | 5 +++++ gcc/config/avr/avr-fixed.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ef75bcb9ff9f..70614cf3431f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-09 Georg-Johann Lay + + * config/avr/avr-fixed.md (round3): Use -1U instead of -1 in + unsigned int initializers for regno_in, regno_out. + 2014-05-09 Georg-Johann Lay PR target/61055 diff --git a/gcc/config/avr/avr-fixed.md b/gcc/config/avr/avr-fixed.md index 1652415b1d0e..9c8489edd8eb 100644 --- a/gcc/config/avr/avr-fixed.md +++ b/gcc/config/avr/avr-fixed.md @@ -430,8 +430,8 @@ } // Input and output of the libgcc function - const unsigned int regno_in[] = { -1, 22, 22, -1, 18 }; - const unsigned int regno_out[] = { -1, 24, 24, -1, 22 }; + const unsigned int regno_in[] = { -1U, 22, 22, -1U, 18 }; + const unsigned int regno_out[] = { -1U, 24, 24, -1U, 22 }; operands[3] = gen_rtx_REG (mode, regno_out[(size_t) GET_MODE_SIZE (mode)]); operands[4] = gen_rtx_REG (mode, regno_in[(size_t) GET_MODE_SIZE (mode)]); -- 2.47.2