diff options
Diffstat (limited to 'gcc/resource.c')
-rw-r--r-- | gcc/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/resource.c b/gcc/resource.c index 714e1ff1c92..08a16358073 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -315,7 +315,7 @@ mark_referenced_resources (rtx x, struct resources *res, mark_referenced_resources (x, res, 0); else if (GET_CODE (x) == SUBREG) x = SUBREG_REG (x); - if (GET_CODE (x) == MEM) + if (MEM_P (x)) mark_referenced_resources (XEXP (x, 0), res, 0); return; |