[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 13e930a..8d55423 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 6e7745a..ebcf65a 100644 (file)
@@ -1640,7 +1640,7 @@ microblaze_version_to_int (const char *version)
        {                       /* Looking for major  */
           if (*p == '.')
             {
-              *v++;
+              v++;
             }
           else
             {