~ubuntu-branches/ubuntu/lucid/gcj-4.3/lucid

« back to all changes in this revision

Viewing changes to debian/patches/pr38615-doc.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-11 23:52:37 UTC
  • Revision ID: james.westby@ubuntu.com-20090211235237-7z3guvs732a558ey
Tags: 4.3.3-3ubuntu4
Upload as gcj-4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
 
3
 
# DP: Proposed patch PR middle-end/38615 (documentation).
4
 
 
5
 
dir=
6
 
if [ $# -eq 3 -a "$2" = '-d' ]; then
7
 
    pdir="-d $3"
8
 
    dir="$3/"
9
 
elif [ $# -ne 1 ]; then
10
 
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
11
 
    exit 1
12
 
fi
13
 
case "$1" in
14
 
    -patch)
15
 
        patch $pdir -f --no-backup-if-mismatch -p0 < $0
16
 
        ;;
17
 
    -unpatch)
18
 
        patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
19
 
        ;;
20
 
    *)
21
 
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
22
 
        exit 1
23
 
esac
24
 
exit 0
25
 
 
26
 
gcc/
27
 
 
28
 
2009-01-22  Steve Ellcey  <sje@cup.hp.com>
29
 
 
30
 
        PR middle-end/38615
31
 
        * gimplify.c (gimplify_init_constructor): Fix promotion of const
32
 
        variables to static.
33
 
        * doc/invoke.texi (-fmerge-all-constants): Update description.
34
 
 
35
 
gcc/testsuite/
36
 
 
37
 
2009-01-22  Steve Ellcey  <sje@cup.hp.com>
38
 
 
39
 
        PR middle-end/38615
40
 
        * gcc.dg/pr38615.c: New test.
41
 
 
42
 
 
43
 
Index: gcc/doc/invoke.texi
44
 
===================================================================
45
 
--- gcc/doc/invoke.texi (revision 143569)
46
 
+++ gcc/doc/invoke.texi (revision 143572)
47
 
@@ -5468,8 +5468,9 @@
48
 
 This option implies @option{-fmerge-constants}.  In addition to
49
 
 @option{-fmerge-constants} this considers e.g.@: even constant initialized
50
 
 arrays or initialized constant variables with integral or floating point
51
 
-types.  Languages like C or C++ require each non-automatic variable to
52
 
-have distinct location, so using this option will result in non-conforming
53
 
+types.  Languages like C or C++ require each variable, including multiple
54
 
+instances of the same variable in recursive calls, to have distinct locations,
55
 
+so using this option will result in non-conforming
56
 
 behavior.
57
 
 
58
 
 @item -fmodulo-sched