From 2a43063e824ab9229e96a1c31d0bdec050506418 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 29 Sep 2015 12:31:55 -0600 Subject: [PATCH] [PATCH] Fix building microblaze targets with trunk [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 | 3 +++ gcc/config/microblaze/microblaze.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 13e930a05ce..8d55423390e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2015-09-29 Jeff Law + * 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. diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c index 6e7745ad137..ebcf65a371d 100644 --- a/gcc/config/microblaze/microblaze.c +++ b/gcc/config/microblaze/microblaze.c @@ -1640,7 +1640,7 @@ microblaze_version_to_int (const char *version) { /* Looking for major */ if (*p == '.') { - *v++; + v++; } else { -- 2.30.2