Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / gnu / usr.bin / cc34 / cc_prep / patches / gcse.c.patch
1 $DragonFly: src/gnu/usr.bin/cc34/cc_prep/patches/gcse.c.patch,v 1.3 2004/12/21 13:10:48 joerg Exp $
2
3 ===================================================================
4 RCS file: /home/joerg/wd/repository/dragonflybsd/src/contrib/gcc-3.4/gcc/gcse.c,v
5 retrieving revision 1.2
6 diff -u -r1.2 gcse.c
7 --- gcse.c      20 Dec 2004 19:23:24 -0000      1.2
8 +++ gcse.c      20 Dec 2004 20:48:10 -0000
9 @@ -4178,7 +4178,7 @@
10        /* Find an assignment that sets reg_used and is available
11          at the start of the block.  */
12        set = find_avail_set (regno, insn);
13 -      if (! set)
14 +      if (! set || SET_VOLATILE_P (set->expr))
15         continue;
16  
17        pat = set->expr;