[PATCH] Fix building microblaze targets with trunk
authorJeff Law <law@redhat.com>
Tue, 29 Sep 2015 18:31:55 +0000 (12:31 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 29 Sep 2015 18:31:55 +0000 (12:31 -0600)
[PATCH] Fix building microblaze targets with trunk
* config/microblaze/microblaze.c (microblaze_version_to_int): Remove
computation of unused value.

From-SVN: r228263

gcc/ChangeLog
gcc/config/microblaze/microblaze.c

index 13e930a05ced310ecbf0feb2e941dd3cedb2a526..8d55423390e58e7d2c9dd72e7c6fcf634a605979 100644 (file)
@@ -1,5 +1,8 @@
 2015-09-29  Jeff Law  <law@redhat.com>
 
+       * config/microblaze/microblaze.c (microblaze_version_to_int): Remove
+       computation of unused value.
+
        * config/pdp11/pdp11.c (pdp11_branch_cost): New function.
        * config/pdp11/pdp11.h (BRANCH_COST): Call function rather than
        inline macro expansion.
index 6e7745ad13775985a8a0e773b86f327b3ee40fa5..ebcf65a371d2aa0db5bf41c264eb478263d7401d 100644 (file)
@@ -1640,7 +1640,7 @@ microblaze_version_to_int (const char *version)
        {                       /* Looking for major  */
           if (*p == '.')
             {
-              *v++;
+              v++;
             }
           else
             {