diff options
Diffstat (limited to 'gcc/dse.c')
-rw-r--r-- | gcc/dse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dse.c b/gcc/dse.c index 9d3e2c07ed6..f11c34a6c4c 100644 --- a/gcc/dse.c +++ b/gcc/dse.c @@ -1173,7 +1173,8 @@ canon_address (rtx mem, address = XEXP (address, 0); } - if (const_or_frame_p (address)) + if (ADDR_SPACE_GENERIC_P (MEM_ADDR_SPACE (mem)) + && const_or_frame_p (address)) { group_info_t group = get_group_info (address); |