From: Kewen Lin Date: Tue, 11 Jan 2022 02:39:33 +0000 (-0600) Subject: rs6000: Remove useless code related to -mno-power10 X-Git-Tag: basepoints/gcc-13~1884 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e1116c5f5af7166c9689b5421f607b814778de7;p=thirdparty%2Fgcc.git rs6000: Remove useless code related to -mno-power10 Option -mpower10 was made as "WarnRemoved" since commit r11-2318, so -mno-power10 doesn't take effect any more. This patch is to remove one line code which respects it. gcc/ChangeLog: * config/rs6000/rs6000.c (rs6000_disable_incompatible_switches): Remove useless related to option -mno-power10. --- diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 319182e94d91..f4c7d836f40a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -24834,7 +24834,6 @@ rs6000_disable_incompatible_switches (void) const HOST_WIDE_INT dep_flags; /* flags that depend on this option. */ const char *const name; /* name of the switch. */ } flags[] = { - { OPTION_MASK_POWER10, OTHER_POWER10_MASKS, "power10" }, { OPTION_MASK_P9_VECTOR, OTHER_P9_VECTOR_MASKS, "power9-vector" }, { OPTION_MASK_P8_VECTOR, OTHER_P8_VECTOR_MASKS, "power8-vector" }, { OPTION_MASK_VSX, OTHER_VSX_VECTOR_MASKS, "vsx" },