diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2012-01-20 16:29:01 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2012-01-20 16:29:01 +0000 |
commit | afa73d3a683853785cda51021fae0aef732e630b (patch) | |
tree | 7fd15541b3479fa66372d55c0762e033c50e5623 /gcc/reload.c | |
parent | 7c0434e5770960aa20de0fb0d0ace91e1757438a (diff) | |
download | gcc-afa73d3a683853785cda51021fae0aef732e630b.zip gcc-afa73d3a683853785cda51021fae0aef732e630b.tar.gz gcc-afa73d3a683853785cda51021fae0aef732e630b.tar.bz2 |
re PR rtl-optimization/51856 (ICE in reload_cse_simplify_operands)
2012-01-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
PR rtl-optimization/51856
* reload.c (find_reloads_subreg_address): Set the address_reloaded
flag to reloaded.
2012-01-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.c-torture/compile/pr51856.c: New testcase.
From-SVN: r183341
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 90085bd..8420c80 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -6231,8 +6231,8 @@ find_reloads_subreg_address (rtx x, int force_replace, int opnum, } } } - if (reloaded && address_reloaded) - *address_reloaded = 1; + if (address_reloaded) + *address_reloaded = reloaded; return x; } |