s390: Use arch14 instead of z16 for -march=native.
authorRobin Dapp <rdapp@linux.ibm.com>
Wed, 1 Feb 2023 18:39:10 +0000 (19:39 +0100)
committerRobin Dapp <rdapp@linux.ibm.com>
Fri, 3 Mar 2023 15:04:44 +0000 (16:04 +0100)
commitda5adab2ae046bed0e2b72466f439f023f697433
tree647f320ea73d113aed7040fde600256e5a48c51f
parent0412a2358a169875c8a295304f2d1085c79fe392
s390: Use arch14 instead of z16 for -march=native.

When compiling on a system where binutils do not yet support the 'z16'
name assembling fails with -march=native on a z16 machine.
Currently, this is interpreted as -march=z16.  This patch uses -march=arch14
instead.

gcc/ChangeLog:

* config/s390/driver-native.cc (s390_host_detect_local_cpu): Use
arch14 instead of z16.
gcc/config/s390/driver-native.cc