Skip to content

Commit 00886bf

Browse files
Require __int128 extensions for the GH38 test. [GH #38]
1 parent 2075e41 commit 00886bf

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

‎tests/expectations/edg_x86_32/changes.log‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ EDGcpfe28436.sft.cpp:fp:-DTEST_NUMBER=1:FAIL:[6.8] GNU/clang compatibility: larg
77
EDGcpfe28794.sft.cpp:fp:-DTEST_NUMBER=1:REQUIREMENTS NOT MET:Abort on __builtin_bit_cast in dependent context
88
EDGcpfe8330.sft.cpp:fp:-DTEST_NUMBER=1:FAIL:[4.1] Microsoft compatibility: Calling conventions and pointer-to-member-function
99
EDGcpfe9522.sft.cpp:fp:-DTEST_NUMBER=1:FAIL:[4.1] Microsoft compatibility: __ptr64 on 64-bit targets
10+
GH38.sft.cpp:fn:-DTEST_NUMBER=1 --gnu_version 150200:REQUIREMENTS NOT MET:[GH #38] Integer value limits for a 128-bit host integer representation

‎tests/expectations/edg_x86_32_cp/changes.log‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ EDGcpfe28436.sft.cpp:fp:-DTEST_NUMBER=1:FAIL:[6.8] GNU/clang compatibility: larg
1313
EDGcpfe28794.sft.cpp:fp:-DTEST_NUMBER=1:REQUIREMENTS NOT MET:Abort on __builtin_bit_cast in dependent context
1414
EDGcpfe8330.sft.cpp:fp:-DTEST_NUMBER=1:FAIL:[4.1] Microsoft compatibility: Calling conventions and pointer-to-member-function
1515
EDGcpfe9522.sft.cpp:fp:-DTEST_NUMBER=1:FAIL:[4.1] Microsoft compatibility: __ptr64 on 64-bit targets
16+
GH38.sft.cpp:fn:-DTEST_NUMBER=1 --gnu_version 150200:REQUIREMENTS NOT MET:[GH #38] Integer value limits for a 128-bit host integer representation

‎tests/tests/changes/.GH38.rto/default.1.1.txt‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
fe_only -DTEST_NUMBER=1 --gnu_version 150200 Test_name.c
2-
"Test_name.c", line 22: error: expression must have a constant value
2+
"Test_name.c", line 23: error: expression must have a constant value
33
static_assert(max + 1 != 0, ""); // Error: overflow
44
^
5-
"Test_name.c", line 22: note: value exceeds range of "__int128"
5+
"Test_name.c", line 23: note: value exceeds range of "__int128"
66
static_assert(max + 1 != 0, ""); // Error: overflow
77
^
88

9-
"Test_name.c", line 23: error: expression must have a constant value
9+
"Test_name.c", line 24: error: expression must have a constant value
1010
static_assert(min / -1 != 0, ""); // Error: overflow
1111
^
12-
"Test_name.c", line 23: note: integer operation result is out of range
12+
"Test_name.c", line 24: note: integer operation result is out of range
1313
static_assert(min / -1 != 0, ""); // Error: overflow
1414
^
1515

16-
"Test_name.c", line 24: error: expression must have a constant value
16+
"Test_name.c", line 25: error: expression must have a constant value
1717
static_assert(max * 2 != 0, ""); // Error: overflow
1818
^
19-
"Test_name.c", line 24: note: value exceeds range of "__int128"
19+
"Test_name.c", line 25: note: value exceeds range of "__int128"
2020
static_assert(max * 2 != 0, ""); // Error: overflow
2121
^
2222

23-
"Test_name.c", line 25: error: expression must have a constant value
23+
"Test_name.c", line 26: error: expression must have a constant value
2424
static_assert(min * 2 != 0, ""); // Error: overflow
2525
^
26-
"Test_name.c", line 25: note: value exceeds range of "__int128"
26+
"Test_name.c", line 26: note: value exceeds range of "__int128"
2727
static_assert(min * 2 != 0, ""); // Error: overflow
2828
^
2929

‎tests/tests/changes/GH38.sft.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//type:fn
22
//options:--gnu_version 150200
3+
//require:INT128_EXTENSIONS_ALLOWED 1
34
//remark:[GH #38] Integer value limits for a 128-bit host integer representation
45
// 10/20/26 [GH #38]
56
//

0 commit comments

Comments
 (0)