aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/emit-rtl.cc')
-rw-r--r--gcc/emit-rtl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/emit-rtl.cc b/gcc/emit-rtl.cc
index 8bd623d..84b6833 100644
--- a/gcc/emit-rtl.cc
+++ b/gcc/emit-rtl.cc
@@ -947,7 +947,7 @@ validate_subreg (machine_mode omode, machine_mode imode,
in post-reload splitters that make arbitrarily mode changes to the
registers themselves. */
else if (VECTOR_MODE_P (omode)
- && GET_MODE_INNER (omode) == GET_MODE_INNER (imode))
+ && GET_MODE_UNIT_SIZE (omode) == GET_MODE_UNIT_SIZE (imode))
;
/* Subregs involving floating point modes are not allowed to
change size unless it's an insert into a complex mode.