From 50e713c3a64b364904fb5d9b4918e5cdc6379b48 Mon Sep 17 00:00:00 2001 From: kchristin Date: Sat, 14 Sep 2024 14:28:49 +0300 Subject: [PATCH] Fix size_t values for Arch tests --- test/Gradient/Loops.C | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/Gradient/Loops.C b/test/Gradient/Loops.C index 61f90b578..6d4dc24aa 100644 --- a/test/Gradient/Loops.C +++ b/test/Gradient/Loops.C @@ -3159,7 +3159,7 @@ double fn40(double u, double v) { //CHECK-NEXT: clad::tape _t2 = {}; //CHECK-NEXT: double _d_res = 0.; //CHECK-NEXT: double res = 11 * u; -//CHECK-NEXT: unsigned long _t0 = 0UL; +//CHECK-NEXT: unsigned long _t0 = {{0U|0UL}}; //CHECK-NEXT: for (i = 0; ; i++) { //CHECK-NEXT: { //CHECK-NEXT: if (!(i < 3)) @@ -3169,10 +3169,10 @@ double fn40(double u, double v) { //CHECK-NEXT: clad::push(_t1, res); //CHECK-NEXT: res += u * i; //CHECK-NEXT: { -//CHECK-NEXT: clad::push(_t2, 1UL); +//CHECK-NEXT: clad::push(_t2, {{1U|1UL}}); //CHECK-NEXT: continue; //CHECK-NEXT: } -//CHECK-NEXT: clad::push(_t2, 2UL); +//CHECK-NEXT: clad::push(_t2, {{2U|2UL}}); //CHECK-NEXT: } //CHECK-NEXT: _d_res += 1; //CHECK-NEXT: for (;; _t0--) { @@ -3182,9 +3182,9 @@ double fn40(double u, double v) { //CHECK-NEXT: } //CHECK-NEXT: i--; //CHECK-NEXT: switch (clad::pop(_t2)) { -//CHECK-NEXT: case 2UL: +//CHECK-NEXT: case {{2U|2UL}}: //CHECK-NEXT: ; -//CHECK-NEXT: case 1UL: +//CHECK-NEXT: case {{1U|1UL}}: //CHECK-NEXT: ; //CHECK-NEXT: { //CHECK-NEXT: res = clad::pop(_t1); @@ -3215,7 +3215,7 @@ double fn41(double u, double v) { //CHECK-NEXT: clad::tape _t2 = {}; //CHECK-NEXT: double _d_res = 0.; //CHECK-NEXT: double res = 0; -//CHECK-NEXT: unsigned long _t0 = 0UL; +//CHECK-NEXT: unsigned long _t0 = {{0U|0UL}}; //CHECK-NEXT: for (i = 1; ; i++) { //CHECK-NEXT: { //CHECK-NEXT: if (!(i < 3)) @@ -3227,11 +3227,11 @@ double fn41(double u, double v) { //CHECK-NEXT: { //CHECK-NEXT: clad::push(_cond0, i == 1); //CHECK-NEXT: if (clad::back(_cond0)) { -//CHECK-NEXT: clad::push(_t2, 1UL); +//CHECK-NEXT: clad::push(_t2, {{1U|1UL}}); //CHECK-NEXT: break; //CHECK-NEXT: } //CHECK-NEXT: } -//CHECK-NEXT: clad::push(_t2, 2UL); +//CHECK-NEXT: clad::push(_t2, {{2U|2UL}}); //CHECK-NEXT: } //CHECK-NEXT: _d_res += 1; //CHECK-NEXT: for (;; _t0--) { @@ -3242,11 +3242,11 @@ double fn41(double u, double v) { //CHECK-NEXT: if (clad::size(_t2) != 0 && clad::back(_t2) != 1) //CHECK-NEXT: i--; //CHECK-NEXT: switch (clad::pop(_t2)) { -//CHECK-NEXT: case 2UL: +//CHECK-NEXT: case {{2U|2UL}}: //CHECK-NEXT: ; //CHECK-NEXT: { //CHECK-NEXT: if (clad::back(_cond0)) -//CHECK-NEXT: case 1UL: +//CHECK-NEXT: case {{1U|1UL}}: //CHECK-NEXT: ; //CHECK-NEXT: clad::pop(_cond0); //CHECK-NEXT: }