Skip to contentSkip to conversation

Allow -mtune=merced for gcc 3.4

PATCH H. J. Lu 1 participant 1 message Oct 7, 2004

lore
Share & tools
lore

H. J. Lu

author
#0 lore raw

Gcc 3.4.2 fixed ia64 -mtune=merced regressions on Linux 2.6 kernel:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id278

I have been using this patch for several months now.

H.J.
--

arch/ia64/Makefile renamed from arch/ia64/Makefile.merced +1 -2
@@ -40,8 +40,7 @@ $(error Sorry, your compiler is too old.
 endif
 
 ifeq ($(GCC_VERSION),0304)
-# Workaround Itanium 1 bugs in gcc 3.4.
-#	cflags-$(CONFIG_ITANIUM)	+= -mtune=merced
+	cflags-$(CONFIG_ITANIUM)	+= -mtune=merced
 	cflags-$(CONFIG_MCKINLEY)	+= -mtune=mckinley
 endif