diff mbox series

[1/3] Remove ia64*-*-linux from the list of obsolete targets

Message ID 20240612.124202.421166828453958303.rene@exactcode.de
State New
Headers show
Series Remove ia64*-*-linux from the list of obsolete targets | expand

Commit Message

René Rebe June 12, 2024, 10:42 a.m. UTC
The following un-deprecates ia64*-*-linux for GCC 15. Since we plan to
support this for some years to come.

gcc/
        * config.gcc: Only exlicitly list ia64*-*-(hpux|vms|elf) in the
          list of obsoleted targets.

contrib/
        * config-list.mk (LIST): no --enable-obsolete for ia64*-*-linux.
---
 contrib/config-list.mk | 4 ++--
 gcc/config.gcc         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Jonathan Wakely June 12, 2024, 6:40 p.m. UTC | #1
On 12/06/24 12:42 +0200, Rene Rebe wrote:
>The following un-deprecates ia64*-*-linux for GCC 15. Since we plan to
>support this for some years to come.
>
>gcc/
>        * config.gcc: Only exlicitly list ia64*-*-(hpux|vms|elf) in the
>          list of obsoleted targets.
>
>contrib/
>        * config-list.mk (LIST): no --enable-obsolete for ia64*-*-linux.
>---
> contrib/config-list.mk | 4 ++--
> gcc/config.gcc         | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/contrib/config-list.mk b/contrib/config-list.mk
>index f282cd95c8d..b99573b1f5b 100644
>--- a/contrib/config-list.mk
>+++ b/contrib/config-list.mk
>@@ -60,8 +60,8 @@ LIST = \
>   i686-pc-linux-gnu i686-pc-msdosdjgpp i686-lynxos i686-nto-qnx \
>   i686-rtems i686-solaris2.11 i686-wrs-vxworks \
>   i686-wrs-vxworksae \
>-  i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elfOPT-enable-obsolete \
>-  ia64-linuxOPT-enable-obsolete ia64-hpuxOPT-enable-obsolete \
>+  i686-cygwinOPT-enable-threads=yes i686-mingw32crt linux-ia64 \

Shouldn't this be ia64-linux? And why reorder the entries?

I would expect the change to be simply
s/ia64-linuxOPT-enable-obsolete/ia64-linux/

>+  ia64-elfOPT-enable-obsolete ia64-hpuxOPT-enable-obsolete
>   ia64-hp-vmsOPT-enable-obsolete iq2000-elf lm32-elf \
>   lm32-rtems lm32-uclinux \
>   loongarch64-linux-gnuf64 loongarch64-linux-gnuf32 loongarch64-linux-gnusf \
>diff --git a/gcc/config.gcc b/gcc/config.gcc
>index a37113bd00a..6d6ca6da7a0 100644
>--- a/gcc/config.gcc
>+++ b/gcc/config.gcc
>@@ -272,7 +272,7 @@ esac
>
> # Obsolete configurations.
> case ${target} in
>-     ia64*-*-*				\
>+     ia64*-*-hpux* | ia64*-*-*vms* | ia64*-*-elf*	\
>    | nios2*-*-*				\
>  )
>     if test "x$enable_obsolete" != xyes; then
>-- 
>2.45.0
>
>
>-- 
>  René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
>  https://exactcode.com | https://t2sde.org | https://rene.rebe.de
Jonathan Wakely June 12, 2024, 6:48 p.m. UTC | #2
On 12/06/24 19:40 +0100, Jonathan Wakely wrote:
>On 12/06/24 12:42 +0200, Rene Rebe wrote:
>>The following un-deprecates ia64*-*-linux for GCC 15. Since we plan to
>>support this for some years to come.
>>
>>gcc/
>>       * config.gcc: Only exlicitly list ia64*-*-(hpux|vms|elf) in the

"exlicitly"

>>         list of obsoleted targets.
>>
>>contrib/
>>       * config-list.mk (LIST): no --enable-obsolete for ia64*-*-linux.
>>---
>>contrib/config-list.mk | 4 ++--
>>gcc/config.gcc         | 2 +-
>>2 files changed, 3 insertions(+), 3 deletions(-)
>>
>>diff --git a/contrib/config-list.mk b/contrib/config-list.mk
>>index f282cd95c8d..b99573b1f5b 100644
>>--- a/contrib/config-list.mk
>>+++ b/contrib/config-list.mk
>>@@ -60,8 +60,8 @@ LIST = \
>>  i686-pc-linux-gnu i686-pc-msdosdjgpp i686-lynxos i686-nto-qnx \
>>  i686-rtems i686-solaris2.11 i686-wrs-vxworks \
>>  i686-wrs-vxworksae \
>>-  i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elfOPT-enable-obsolete \
>>-  ia64-linuxOPT-enable-obsolete ia64-hpuxOPT-enable-obsolete \
>>+  i686-cygwinOPT-enable-threads=yes i686-mingw32crt linux-ia64 \
>
>Shouldn't this be ia64-linux? And why reorder the entries?
>
>I would expect the change to be simply
>s/ia64-linuxOPT-enable-obsolete/ia64-linux/
>
>>+  ia64-elfOPT-enable-obsolete ia64-hpuxOPT-enable-obsolete
>>  ia64-hp-vmsOPT-enable-obsolete iq2000-elf lm32-elf \
>>  lm32-rtems lm32-uclinux \
>>  loongarch64-linux-gnuf64 loongarch64-linux-gnuf32 loongarch64-linux-gnusf \
>>diff --git a/gcc/config.gcc b/gcc/config.gcc
>>index a37113bd00a..6d6ca6da7a0 100644
>>--- a/gcc/config.gcc
>>+++ b/gcc/config.gcc
>>@@ -272,7 +272,7 @@ esac
>>
>># Obsolete configurations.
>>case ${target} in
>>-     ia64*-*-*				\
>>+     ia64*-*-hpux* | ia64*-*-*vms* | ia64*-*-elf*	\
>>   | nios2*-*-*				\
>> )
>>    if test "x$enable_obsolete" != xyes; then
>>-- 
>>2.45.0
>>
>>
>>-- 
>> René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
>> https://exactcode.com | https://t2sde.org | https://rene.rebe.de
Gerald Pfeifer June 13, 2024, 8:58 a.m. UTC | #3
On Wed, 12 Jun 2024, Rene Rebe wrote:
> gcc/
>         * config.gcc: Only exlicitly list ia64*-*-(hpux|vms|elf) in the
>           list of obsoleted targets.

Typo: "explicitly" (or you can simply drop it here).

Gerald
diff mbox series

Patch

diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index f282cd95c8d..b99573b1f5b 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -60,8 +60,8 @@  LIST = \
   i686-pc-linux-gnu i686-pc-msdosdjgpp i686-lynxos i686-nto-qnx \
   i686-rtems i686-solaris2.11 i686-wrs-vxworks \
   i686-wrs-vxworksae \
-  i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elfOPT-enable-obsolete \
-  ia64-linuxOPT-enable-obsolete ia64-hpuxOPT-enable-obsolete \
+  i686-cygwinOPT-enable-threads=yes i686-mingw32crt linux-ia64 \
+  ia64-elfOPT-enable-obsolete ia64-hpuxOPT-enable-obsolete
   ia64-hp-vmsOPT-enable-obsolete iq2000-elf lm32-elf \
   lm32-rtems lm32-uclinux \
   loongarch64-linux-gnuf64 loongarch64-linux-gnuf32 loongarch64-linux-gnusf \
diff --git a/gcc/config.gcc b/gcc/config.gcc
index a37113bd00a..6d6ca6da7a0 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -272,7 +272,7 @@  esac
 
 # Obsolete configurations.
 case ${target} in
-     ia64*-*-*				\
+     ia64*-*-hpux* | ia64*-*-*vms* | ia64*-*-elf*	\
    | nios2*-*-*				\
  )
     if test "x$enable_obsolete" != xyes; then