Commit 7cacfc7
committed
c++, contracts: Fix debug and optimisation.
The use of DECL_ABSTRACT_ORIGIN to communicate to the mangler that
functions are outlined pre and post was interacting badly with debug
and opt.
Fixed by using a separate mechanism to do this.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>1 parent 4030af5 commit 7cacfc7
File tree
5 files changed
+35
-8
lines changed- gcc
- cp
- testsuite/g++.dg/contracts/cpp26
5 files changed
+35
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1559 | 1559 | | |
1560 | 1560 | | |
1561 | 1561 | | |
1562 | | - | |
| 1562 | + | |
1563 | 1563 | | |
1564 | 1564 | | |
1565 | 1565 | | |
| |||
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | | - | |
| 1665 | + | |
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
318 | | - | |
319 | | - | |
| 319 | + | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3015 | 3015 | | |
3016 | 3016 | | |
3017 | 3017 | | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
3018 | 3025 | | |
3019 | 3026 | | |
3020 | 3027 | | |
| |||
3045 | 3052 | | |
3046 | 3053 | | |
3047 | 3054 | | |
| 3055 | + | |
3048 | 3056 | | |
3049 | | - | |
| 3057 | + | |
3050 | 3058 | | |
3051 | 3059 | | |
3052 | 3060 | | |
| |||
3194 | 3202 | | |
3195 | 3203 | | |
3196 | 3204 | | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
3197 | 3208 | | |
3198 | 3209 | | |
3199 | 3210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
| 825 | + | |
826 | 826 | | |
827 | | - | |
| 827 | + | |
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments