re PR middle-end/51986 (uninitialized variable warning regression prevents bootstrap)
authorJakub Jelinek <jakub@redhat.com>
Wed, 25 Jan 2012 20:22:53 +0000 (21:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 25 Jan 2012 20:22:53 +0000 (21:22 +0100)
PR middle-end/51986
* sched-deps.c (sched_get_condition_with_rev_uncached): Don't test
for pat == 0.

From-SVN: r183536

gcc/ChangeLog
gcc/sched-deps.c

index f7ad0cd9a1a3f77c9565597bd6c94faa54452733..81ab217ba8b1c7dfa05710180c5d28c5d41f04b5 100644 (file)
@@ -1,3 +1,9 @@
+2012-01-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/51986
+       * sched-deps.c (sched_get_condition_with_rev_uncached): Don't test
+       for pat == 0.
+
 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * config/mips/mips.c (mips_small_data_pattern_1): Don't process
index bf042a495229deddfa6266f6742d84459cf8014c..095bae8a956539fe349edb38a4d40cc57fad9615 100644 (file)
@@ -2,7 +2,7 @@
    instructions.
    Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
    1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-   2011
+   2011, 2012
    Free Software Foundation, Inc.
    Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by,
    and currently maintained by, Jim Wilson (wilson@cygnus.com)
@@ -521,9 +521,6 @@ sched_get_condition_with_rev_uncached (const_rtx insn, bool *rev)
   rtx pat = PATTERN (insn);
   rtx src;
 
-  if (pat == 0)
-    return 0;
-
   if (rev)
     *rev = false;