Merge from vendor branch OPENSSH:
[dragonfly.git] / gnu / usr.bin / cc34 / cc_prep / patches / integrate.c.patch
1 $DragonFly: src/gnu/usr.bin/cc34/cc_prep/patches/integrate.c.patch,v 1.2 2004/06/20 00:10:52 joerg Exp $
2
3 diff -u ../gcc.orig/integrate.c integrate.c
4 --- ../gcc.orig/integrate.c     2004-06-19 22:27:12.000000000 +0200
5 +++ integrate.c 2004-06-20 01:16:04.000000000 +0200
6 @@ -393,6 +393,10 @@
7    /* These args would always appear unused, if not for this.  */
8    TREE_USED (copy) = 1;
9  
10 +  /* The inlined variable is marked as INLINE not to sweep by propolice */
11 +  if (flag_propolice_protection && TREE_CODE (copy) == VAR_DECL)
12 +    DECL_COPIED (copy) = 1;
13 +
14    /* Set the context for the new declaration.  */
15    if (!DECL_CONTEXT (decl))
16      /* Globals stay global.  */
17 @@ -1970,6 +1974,10 @@
18  
19               seq = get_insns ();
20               end_sequence ();
21 +#ifdef ARGS_GROWS_DOWNWARD
22 +             if (flag_propolice_protection && GET_CODE (seq) == SET)
23 +               RTX_INTEGRATED_P (SET_SRC (seq)) = 1;
24 +#endif
25               emit_insn_after (seq, map->insns_at_start);
26               return temp;
27             }