Commit 7b3e39e
committed
Make constant_propagation_08 test platform agnostic
We had a varying number of simplifications as platforms with sizeof(int)
!= sizeof(ssize_t) would yield 2 simplifications, and those with
matching bit widths only a single one. The extra simplification referred
to the cast in the index operand (on platforms with sizeof(int) !=
sizeof(ssize_t)), which we can avoid by making the index a long-type
constant in the first place.1 parent e02fd74 commit 7b3e39e
File tree
2 files changed
+11
-4
lines changed- regression/goto-analyzer/constant_propagation_08
2 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
0 commit comments