diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-13 00:02:37 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-13 00:02:37 +0000 |
commit | a436996a623dc7e7e371ac14d754ad60b2be937f (patch) | |
tree | 00888aaee424a7db2f70d4ec4c16e9073c8a16c0 /gcc/loop-invariant.c | |
parent | d9da8b4c02490945c709553504269540884b3e87 (diff) | |
download | gcc-a436996a623dc7e7e371ac14d754ad60b2be937f.tar.gz |
PR rtl-optimization/26225
* loop-invariant.c (may_assign_reg_p): Do not allow BLKmode operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110898 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-invariant.c')
-rw-r--r-- | gcc/loop-invariant.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index f7037474b3a..fd787a99346 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -583,6 +583,7 @@ static bool may_assign_reg_p (rtx x) { return (can_copy_p (GET_MODE (x)) + && GET_MODE (x) != BLKmode && (!REG_P (x) || !HARD_REGISTER_P (x) || REGNO_REG_CLASS (REGNO (x)) != NO_REGS)); |