This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Missing cpu_type set for s390 in config.gcc
- From: Andreas Krebbel <krebbel1 at de dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Apr 2005 12:38:58 +0200
- Subject: [PATCH] Missing cpu_type set for s390 in config.gcc
- Organization: IBM Deutschland Entwicklung GmbH
Hi,
for S/390 no cpu_type is set in config.gcc. That caused
a 64bit bootstrap failure with the recent s390.opt changes because
cpu_type is used in the path when gathering the .opt files.
Bootstrapped on s390 and s390x
OK for mainline?
Bye,
-Andreas-
2005-04-14 Andreas Krebbel <krebbel1@de.ibm.com>
* config.gcc: Set cpu_type for s390.
Index: gcc/config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.532
diff -p -c -r1.532 config.gcc
*** gcc/config.gcc 13 Apr 2005 08:47:18 -0000 1.532
--- gcc/config.gcc 14 Apr 2005 08:31:50 -0000
*************** sparc*-*-*)
*** 309,314 ****
--- 309,315 ----
cpu_type=sparc
;;
s390*-*-*)
+ cpu_type=s390
need_64bit_hwint=yes
;;
# Note the 'l'; we need to be able to match e.g. "shle" or "shl".