summaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-25 20:22:53 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-25 20:22:53 +0000
commit1d5a3baca9b7c9488bde8214d10d1ff57efa058d (patch)
treea35589e97dcfaed79d57edd167a3ff36e1f76e37 /gcc/sched-deps.c
parentb49cab296ac725b7770eee63a059676a6ba02579 (diff)
downloadgcc-1d5a3baca9b7c9488bde8214d10d1ff57efa058d.tar.gz
PR middle-end/51986
* sched-deps.c (sched_get_condition_with_rev_uncached): Don't test for pat == 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183536 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index bf042a49522..095bae8a956 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -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;