https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388
--- Comment #4 from H.J. Lu ---
This works:
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 03e5c433574..324e2ec60fc 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -15242,7 +15242,13 @@ ix86_expand_split_s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388
--- Comment #3 from H.J. Lu ---
(In reply to igor.v.tsimbalist from comment #2)
> You are fixing 64bit part. There is similar place for 32bit
>
> movl-8(%ebp),%eax # Restore the last register.
>
> call*-12(%e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388
--- Comment #2 from igor.v.tsimbalist at intel dot com ---
You are fixing 64bit part. There is similar place for 32bit
movl-8(%ebp),%eax # Restore the last register.
call*-12(%ebp) # Call our call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388
--- Comment #1 from H.J. Lu ---
I am testing this patch:
diff --git a/gcc/config/i386/cet.h b/gcc/config/i386/cet.h
index 9dca41bad2d..309d90ec87c 100644
--- a/gcc/config/i386/cet.h
+++ b/gcc/config/i386/cet.h
@@ -33,12 +33,14 @@
#ifdef __ASSEM