From: Segher Boessenkool Date: Thu, 20 Sep 2018 17:21:54 +0000 (+0200) Subject: rs6000: Delete VECTOR_OTHER X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbcf65f914b7851549e4140d440a20951255da24;p=gcc.git rs6000: Delete VECTOR_OTHER It's never used. * config/rs6000/rs6000-opts.h (enum rs6000_vector): Delete VECTOR_OTHER. * config/rs6000/rs6000.c (rs6000_debug_vector_unit): Delete case VECTOR_OTHER. From-SVN: r264444 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e35c6d1850..28f7308cf8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-09-20 Segher Boessenkool + + * config/rs6000/rs6000-opts.h (enum rs6000_vector): Delete + VECTOR_OTHER. + * config/rs6000/rs6000.c (rs6000_debug_vector_unit): Delete + case VECTOR_OTHER. + 2018-09-20 Marek Polacek * doc/invoke.texi: Add -Wno-init-list-lifetime to C++ Language Options. diff --git a/gcc/config/rs6000/rs6000-opts.h b/gcc/config/rs6000/rs6000-opts.h index bd0eea32cc5..1212d114aa1 100644 --- a/gcc/config/rs6000/rs6000-opts.h +++ b/gcc/config/rs6000/rs6000-opts.h @@ -137,8 +137,7 @@ enum rs6000_vector { VECTOR_NONE, /* Type is not a vector or not supported */ VECTOR_ALTIVEC, /* Use altivec for vector processing */ VECTOR_VSX, /* Use VSX for vector processing */ - VECTOR_P8_VECTOR, /* Use ISA 2.07 VSX for vector processing */ - VECTOR_OTHER /* Some other vector unit */ + VECTOR_P8_VECTOR /* Use ISA 2.07 VSX for vector processing */ }; /* Where to get the canary for the stack protector. */ diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a36e6140ecb..340490c46e9 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2300,7 +2300,6 @@ rs6000_debug_vector_unit (enum rs6000_vector v) case VECTOR_ALTIVEC: ret = "altivec"; break; case VECTOR_VSX: ret = "vsx"; break; case VECTOR_P8_VECTOR: ret = "p8_vector"; break; - case VECTOR_OTHER: ret = "other"; break; default: ret = "unknown"; break; }