summaryrefslogtreecommitdiffstats
path: root/patches/fbtest-20041102-1/generic/fbtest-20041102-1-optimize-O2.diff
blob: 97012ee198292bf928918d16260b4e620b091f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Submitted-By: Robert Schwebel, 2007-03-19
# Committed-By: Robert Schwebel
#
# Error:
#
# arm-v4t-linux-gnueabi-gcc -c -Wall -I../include  -O3 -fomit-frame-pointer -o directcolor.o directcolor.c
# directcolor.c: In function 'directcolor_update_cmap':
# directcolor.c:154: error: unrecognizable insn:
# (insn 275 117 273 13 (set (reg:HI 14 lr)
#         (mem/s:HI (plus:SI (mult:SI (reg/v:SI 1 r1 [orig:112 i ] [112])
#                     (const_int 16 [0x10]))
#                 (reg:SI 6 r6 [orig:120 clut.21 ] [120])) [11 <variable>.r+0 S4 A32])) -1 (nil)
#     (nil))
# directcolor.c:154: internal compiler error: in extract_insn, at recog.c:2084
# Please submit a full bug report,
# with preprocessed source if appropriate.
# See <URL:http://gcc.gnu.org/bugs.html> for instructions.
# make[2]: *** [directcolor.o] Error 1
#
# Description:
#
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28675
#
# State:
#
# Reported to upstream, not closed yet. This patch is just an intermediate fix
# to let PTXdist compile again, not a fix for the problem. 
#

Index: fbtest-20041102-1/Rules.make
===================================================================
--- fbtest-20041102-1.orig/Rules.make
+++ fbtest-20041102-1/Rules.make
@@ -5,7 +5,7 @@ HOSTCC = gcc
 
 IFLAGS = -I$(TOPDIR)/include
 #DFLAGS = -g
-OFLAGS = -O3 -fomit-frame-pointer
+OFLAGS = -O2 -fomit-frame-pointer
 CFLAGS = -Wall $(IFLAGS) $(DFLAGS) $(OFLAGS)
 
 SRCS += $(wildcard *.c)