diff options
author | H.J. Lu <hjl@gcc.gnu.org> | 2009-02-25 10:49:28 -0800 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2009-02-25 10:49:28 -0800 |
commit | 8592acaf3c88a198bbb27a541608486bf682569a (patch) | |
tree | e1d3b164f02a5afeb3be60ed415640669effa2ba /gcc/jump.c | |
parent | 62d049cf1ec30bdc76712c870fa974c467ff092b (diff) | |
download | gcc-8592acaf3c88a198bbb27a541608486bf682569a.zip gcc-8592acaf3c88a198bbb27a541608486bf682569a.tar.gz gcc-8592acaf3c88a198bbb27a541608486bf682569a.tar.bz2 |
re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)
gcc/
2008-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/39241
* jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
to subreg_offset_representable_p.
gcc/testsuite/
2008-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/39241
* gcc.dg/torture/pr39241.c: New.
From-SVN: r144430
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1,6 +1,6 @@ /* Optimize jump instructions, for GNU compiler. Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997 - 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008 + 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. @@ -1563,11 +1563,6 @@ rtx_renumbered_equal_p (const_rtx x, const_rtx y) GET_MODE (x)); byte_x = 0; } - else if (!subreg_offset_representable_p (reg_x, - GET_MODE (SUBREG_REG (x)), - byte_x, - GET_MODE (x))) - return 0; } else { @@ -1594,11 +1589,6 @@ rtx_renumbered_equal_p (const_rtx x, const_rtx y) GET_MODE (y)); byte_y = 0; } - else if (!subreg_offset_representable_p (reg_y, - GET_MODE (SUBREG_REG (y)), - byte_y, - GET_MODE (y))) - return 0; } else { |