diff options
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/svn-doc-updates.dpatch')
-rw-r--r-- | meta/packages/gcc/gcc-4.3.1/debian/svn-doc-updates.dpatch | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/svn-doc-updates.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/svn-doc-updates.dpatch new file mode 100644 index 0000000000..d4fa85a556 --- /dev/null +++ b/meta/packages/gcc/gcc-4.3.1/debian/svn-doc-updates.dpatch | |||
@@ -0,0 +1,79 @@ | |||
1 | #! /bin/sh -e | ||
2 | |||
3 | # DP: updates from the 4.3 branch upto 20080321 (documentation). | ||
4 | |||
5 | last_updated() | ||
6 | { | ||
7 | cat > ${dir}LAST_UPDATED <<EOF | ||
8 | Fri Mar 21 20:55:21 CET 2008 | ||
9 | Fri Mar 21 19:55:21 UTC 2008 (revision 133434) | ||
10 | EOF | ||
11 | } | ||
12 | |||
13 | dir= | ||
14 | if [ $# -eq 3 -a "$2" = '-d' ]; then | ||
15 | pdir="-d $3" | ||
16 | dir="$3/" | ||
17 | elif [ $# -ne 1 ]; then | ||
18 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
19 | exit 1 | ||
20 | fi | ||
21 | case "$1" in | ||
22 | -patch) | ||
23 | patch $pdir -f --no-backup-if-mismatch -p0 < $0 | ||
24 | last_updated | ||
25 | #cd ${dir}gcc && autoconf | ||
26 | ;; | ||
27 | -unpatch) | ||
28 | patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 | ||
29 | #rm ${dir}gcc/configure | ||
30 | ;; | ||
31 | *) | ||
32 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
33 | exit 1 | ||
34 | esac | ||
35 | exit 0 | ||
36 | |||
37 | # svn diff svn://gcc.gnu.org/svn/gcc/tags/gcc_4_3_0_release svn://gcc.gnu.org/svn/gcc/branches/gcc-4_3-branch \ | ||
38 | # | awk '/^Index:.*\.class/ {skip=1; next} /^Index:/ { skip=0 } skip==0' | ||
39 | |||
40 | Index: gcc/doc/extend.texi | ||
41 | =================================================================== | ||
42 | --- gcc/doc/extend.texi (.../tags/gcc_4_3_0_release) (revision 133434) | ||
43 | +++ gcc/doc/extend.texi (.../branches/gcc-4_3-branch) (revision 133434) | ||
44 | @@ -3380,7 +3380,8 @@ | ||
45 | |||
46 | Some machines never actually require alignment; they allow reference to any | ||
47 | data type even at an odd address. For these machines, @code{__alignof__} | ||
48 | -reports the @emph{recommended} alignment of a type. | ||
49 | +reports the smallest alignment that GCC will give the data type, usually as | ||
50 | +mandated by the target ABI. | ||
51 | |||
52 | If the operand of @code{__alignof__} is an lvalue rather than a type, | ||
53 | its value is the required alignment for its type, taking into account | ||
54 | Index: gcc/doc/invoke.texi | ||
55 | =================================================================== | ||
56 | --- gcc/doc/invoke.texi (.../tags/gcc_4_3_0_release) (revision 133434) | ||
57 | +++ gcc/doc/invoke.texi (.../branches/gcc-4_3-branch) (revision 133434) | ||
58 | @@ -5208,8 +5208,9 @@ | ||
59 | @opindex O3 | ||
60 | Optimize yet more. @option{-O3} turns on all optimizations specified by | ||
61 | @option{-O2} and also turns on the @option{-finline-functions}, | ||
62 | -@option{-funswitch-loops}, @option{-fpredictive-commoning} and | ||
63 | -@option{-fgcse-after-reload} options. | ||
64 | +@option{-funswitch-loops}, @option{-fpredictive-commoning}, | ||
65 | +@option{-fgcse-after-reload} and @option{-ftree-vectorize} | ||
66 | +options. | ||
67 | |||
68 | @item -O0 | ||
69 | @opindex O0 | ||
70 | @@ -5973,7 +5974,8 @@ | ||
71 | |||
72 | @item -ftree-vectorize | ||
73 | @opindex ftree-vectorize | ||
74 | -Perform loop vectorization on trees. | ||
75 | +Perform loop vectorization on trees. This flag is enabled by default at | ||
76 | +@option{-O3}. | ||
77 | |||
78 | @item -ftree-vect-loop-version | ||
79 | @opindex ftree-vect-loop-version | ||