blob: 383df6b358f9e3f2a596e5c3f5f2f8ab3eb50459 (
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
|
From: Niko Tyni <ntyni@debian.org>
Description: Downgrade the optimization of sv.c on arm due to a gcc-4.4 bug
Bug-Debian: http://bugs.debian.org/580334
Regression from gcc-4.3, not reported yet.
perl -e '"-2" =~ /(.+)/; @foo=(); push @foo, $_ for $1..undef; print @foo ? "ok\n" : "not ok\n"'
---
cflags.SH | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/cflags.SH b/cflags.SH
index a5d71b9..6914ba6 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -312,7 +312,11 @@ for file do
regexec) ;;
run) ;;
scope) ;;
- sv) ;;
+ sv)
+ case $archname in
+ arm-*|armeb-*)
+ optimize=-O0;;
+ esac;;
taint) ;;
toke) ;;
universal) ;;
--
tg: (c823880..) debian/arm_optim (depends on: upstream)
|