https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
This works:

diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc
index 560e6525b56..f5d46296570 100644
--- a/gcc/config/i386/i386.cc
+++ b/gcc/config/i386/i386.cc
@@ -8494,7 +8494,7 @@ ix86_find_all_reg_use_1 (rtx set, HARD_REG_SET
&stack_slot_access,
          auto_bitmap &worklist)
 {
   rtx dest = SET_DEST (set);
-  if (!REG_P (dest))
+  if (!GENERAL_REG_P (dest))
     return;

   rtx src = SET_SRC (set);

Reply via email to