summaryrefslogtreecommitdiff
path: root/gcc/rtlhooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtlhooks.c')
-rw-r--r--gcc/rtlhooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtlhooks.c b/gcc/rtlhooks.c
index a32d1c06b44..cabb1b7ead3 100644
--- a/gcc/rtlhooks.c
+++ b/gcc/rtlhooks.c
@@ -51,7 +51,7 @@ gen_lowpart_general (enum machine_mode mode, rtx x)
abort ();
return result;
}
- else if (GET_CODE (x) == MEM)
+ else if (MEM_P (x))
{
/* The only additional case we can do is MEM. */
int offset = 0;