@@ -1961,7 +1961,7 @@ lra_substitute_pseudo (rtx *loc, int old_regno, rtx new_reg, bool subreg_p,
machine_mode inner_mode = GET_MODE (new_reg);
if (mode != inner_mode
- && ! (CONST_INT_P (new_reg) && SCALAR_INT_MODE_P (mode)))
+ && ! (CONST_SCALAR_INT_P (new_reg) && SCALAR_INT_MODE_P (mode)))
{
poly_uint64 offset = 0;
if (partial_subreg_p (mode, inner_mode)
new file mode 100644
@@ -0,0 +1,35 @@
+/* { dg-do compile } */
+/* { dg-options "-g -O1 -fgcse -fno-dce -fno-tree-ccp -fno-tree-coalesce-vars -fno-tree-copy-prop -fno-tree-dce -fno-tree-dominator-opts -fno-tree-fre -fno-tree-loop-optimize -fno-tree-sink" } */
+
+int *vk;
+int m2;
+#if __SIZEOF_INT128__
+__int128 nb;
+
+void
+em (int u5, int fo, int s7)
+{
+ for (;;)
+ {
+ long int es;
+
+ es = !!u5 ? (!!fo && !!m2) : fo;
+ if (es == 0)
+ if (nb == *vk)
+ {
+ const unsigned long int uint64_max = 18446744073709551615ul;
+ __int128 ks = uint64_max / 2 + 1;
+
+ while (s7 < 1)
+ while (nb < 2)
+ {
+ for (ks = 0; ks < 3; ++ks)
+ {
+ }
+
+ ++nb;
+ }
+ }
+ }
+}
+#endif