]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fixup types in gcc.dg/torture/ssa-fre-7.c
authorRichard Biener <rguenther@suse.de>
Tue, 17 Feb 2026 08:32:22 +0000 (09:32 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 17 Feb 2026 08:33:36 +0000 (09:33 +0100)
The testcase was only partly updated to use __SIZETYPE__, the
following fixes the remains.

* gcc.dg/torture/ssa-fre-7.c: Properly use __SIZETYPE__
where required.

gcc/testsuite/gcc.dg/torture/ssa-fre-7.c

index daf770a45c92bf3c9c00ef0e42597edb3ecaa443..a4edb1f2d9668f2ee039ede60cd852fdacff0e09 100644 (file)
@@ -18,8 +18,8 @@ foo (int c)
 
   __BB(2):
   i_3 = 0;
-  _1 = (long unsigned int) i_3;
-  _2 = _1 * 4ul;
+  _1 = (__SIZETYPE__) i_3;
+  _2 = _1 * _Literal (__SIZETYPE__) 4;
   p_4 = _Literal (int *) &x + _2;
   _6 = _Literal (v4si) { c_5(D), c_5(D), c_5(D), c_5(D) };
   __MEM <v4si> ((v4si *)p_4) = _6;