diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-04 21:04:54 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2011-07-04 21:04:54 +0000 |
commit | e1d992975026373d0412af6077ef029bfbf23765 (patch) | |
tree | e6584beeae32a98e8799d34bffe88039b8b8e8e0 /gcc/simplify-rtx.c | |
parent | 4f2e78c8bbb43da8a6fad5de539a9bf17a82d042 (diff) |
PR rtl-optimization/49619
* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
pass VOIDmode as op0_mode to recursive call, and return temp even
when different from tor, just if it is not IOR of the original
PLUS arguments.
* gcc.dg/pr49619.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@175825 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index bcd55b27fbc..5894f74257b 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -1,7 +1,7 @@ /* RTL simplification functions for GNU compiler. Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 - Free Software Foundation, Inc. + 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, + 2011 Free Software Foundation, Inc. This file is part of GCC. |