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 ef75bcb..70614cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 * config/avr/avr.md (cc): Add new attribute set_vzn. (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]: diff --git a/gcc/config/avr/avr-fixed.md b/gcc/config/avr/avr-fixed.md index 1652415..9c8489e 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.7.4