This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-2.95.2 configured for i386-linux does not build qt-1.44/45


Martin's assumption (http://gcc.gnu.org/ml/gcc-bugs/2000-05/msg00377.html),
that Debian's patches to gcc-2.95.2 are the reason for
the ICE described in http://gcc.gnu.org/ml/gcc-bugs/2000-05/msg00246.html
does not hold. You see the ICE, when generating code for i386 with a
compiler built for i586.

[Debian's policy for the i386 architecture is to build for i386 as
target. Therefore the "modification to the code". The following patch
(unrelated to the ICE) is applied to Debian GCC]

set the default architecture to i386; even if gcc is configured
with i386-linux, it builds with Pentium instructions, tuned for i386.

From: Joel Klecker <jk@espy.org>
To: Matthias Klose <doko@cs.tu-berlin.de>
Subject: Re: gcc: forwarded message from Markus F.X.J. Oberhumer
Date: Wed, 11 Aug 1999 08:48:54 -0700

Found it, and fixed it.

--- gcc/config/i386/i386.c~	Sat Aug 14 19:35:24 1999
+++ gcc/config/i386/i386.c	Sat Aug 14 19:37:00 1999
@@ -291,7 +291,7 @@
 
   if (ix86_arch_string == 0)
     {
-      ix86_arch_string = PROCESSOR_PENTIUM_STRING;
+      ix86_arch_string = PROCESSOR_DEFAULT_STRING;
       if (ix86_cpu_string == 0)
 	ix86_cpu_string = PROCESSOR_DEFAULT_STRING;
     }
@@ -308,7 +308,7 @@
   if (i == ptt_size)
     {
       error ("bad value (%s) for -march= switch", ix86_arch_string);
-      ix86_arch_string = PROCESSOR_PENTIUM_STRING;
+      ix86_arch_string = PROCESSOR_DEFAULT_STRING;
       ix86_arch = PROCESSOR_DEFAULT;
     }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]