OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR rtl-optimization/14782
[pf3gnuchains/gcc-fork.git]
/
gcc
/
rtlhooks.c
diff --git
a/gcc/rtlhooks.c
b/gcc/rtlhooks.c
index
b27cece
..
a32d1c0
100644
(file)
--- a/
gcc/rtlhooks.c
+++ b/
gcc/rtlhooks.c
@@
-43,7
+43,7
@@
gen_lowpart_general (enum machine_mode mode, rtx x)
if (result)
return result;
- else if (
GET_CODE (x) == REG
)
+ else if (
REG_P (x)
)
{
/* Must be a hard reg that's not valid in MODE. */
result = gen_lowpart_common (mode, copy_to_reg (x));