From: Jeff Law Date: Tue, 29 Sep 2015 18:31:55 +0000 (-0600) Subject: [PATCH] Fix building microblaze targets with trunk X-Git-Tag: basepoints/gcc-7~4295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a43063e824ab9229e96a1c31d0bdec050506418;p=thirdparty%2Fgcc.git [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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 13e930a05ced..8d55423390e5 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 6e7745ad1377..ebcf65a371d2 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 {