diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-04 23:04:54 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-07-04 23:04:54 +0200 |
commit | af421d9cf0a6cbc585e42af653a01619457ecc01 (patch) | |
tree | e6584beeae32a98e8799d34bffe88039b8b8e8e0 /gcc/simplify-rtx.c | |
parent | 707f991907e5c97c56a05654fee49f4940158994 (diff) | |
download | gcc-af421d9cf0a6cbc585e42af653a01619457ecc01.zip gcc-af421d9cf0a6cbc585e42af653a01619457ecc01.tar.gz gcc-af421d9cf0a6cbc585e42af653a01619457ecc01.tar.bz2 |
re PR rtl-optimization/49619 (ICE in simplify_subreg, at simplify-rtx.c:5362)
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.
From-SVN: r175825
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 bcd55b27..5894f74 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. |