Skip to content

Commit 8f1aa2b

Browse files
committed
bump gcc to 16-20260111
1 parent 50a34c9 commit 8f1aa2b

6 files changed

Lines changed: 18 additions & 346 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Available branches:
5151

5252
| Branch | GCC version | MinGW | Binutils | GDB |
5353
| ------ | ----------- | ----- | -------- | --- |
54-
| 16 | 16-20260104 | 13.0.0 | 2.45.1 | 17.1 |
54+
| 16 | 16-20260111 | 13.0.0 | 2.45.1 | 17.1 |
5555
| 15 ❄️ | 15.2.0 | 13.0.0 | 2.45.1 | 17.1 |
5656
| 14 ❄️ | 14.3.0 | 12.0.0 | 2.43.1 | 15.2 |
5757
| 13 ❄️ | 13.4.0 | 11.0.1 | 2.41 | 14.2 |

module/checksum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'gcc-13.4.0.tar.xz': '9c4ce6dbb040568fdc545588ac03c5cbc95a8dbf0c7aa490170843afb59ca8f5',
1919
'gcc-14.3.0.tar.xz': 'e0dc77297625631ac8e50fa92fffefe899a4eb702592da5c32ef04e2293aca3a',
2020
'gcc-15.2.0.tar.xz': '438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e',
21-
'gcc-16-20260104.tar.xz': '029ba15644e562423868cda9b371ef658dedce632c50d3548bf24323f6343f5b',
21+
'gcc-16-20260111.tar.xz': '276ff5ce522121da716f1fcdbf375205786a03b170a397691cb13ffc60e146f2',
2222

2323
'gdb-14.2.tar.xz': '2d4dd8061d8ded12b6c63f55e45344881e8226105f4d2a9b234040efa5ce7772',
2424
'gdb-15.2.tar.xz': '83350ccd35b5b5a0cba6b334c41294ea968158c573940904f00b92f76345314d',

module/prepare_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ def _gcc(ver: BranchProfile, paths: ProjectPaths, download_only: bool):
119119
if v.major >= 16:
120120
patch(paths.src_dir.gcc, paths.patch_dir / 'gcc' / 'dynamic-load-tzdb.patch')
121121

122-
# Fix constexpr exception link error
122+
# Fix IPA miscompile
123123
if v.major == 16:
124-
patch(paths.src_dir.gcc, paths.patch_dir / 'gcc' / 'fix-constexpr-exception-link-error.patch')
124+
patch(paths.src_dir.gcc, paths.patch_dir / 'gcc' / 'fix-ipa-miscompile.patch')
125125

126126
# Disable vectorized lexer
127127
if ver.min_os.major < 5:

module/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __init__(
155155

156156
BRANCHES: Dict[str, BranchVersions] = {
157157
'16': BranchVersions(
158-
gcc = '16-20260104',
158+
gcc = '16-20260111',
159159
rev = '0',
160160

161161
mcfgthread = '2.2-ga.2',

patch/gcc/fix-constexpr-exception-link-error.patch

Lines changed: 0 additions & 341 deletions
This file was deleted.

patch/gcc/fix-ipa-miscompile.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/gcc/ipa-cp.cc b/gcc/ipa-cp.cc
2+
index 54f4e4f543c..9f61f682d58 100644
3+
--- a/gcc/ipa-cp.cc
4+
+++ b/gcc/ipa-cp.cc
5+
@@ -2618,7 +2618,7 @@ propagate_bits_across_jump_function (cgraph_edge *cs, int idx,
6+
and we store it in jump function during analysis stage. */
7+
8+
if (!src_lats->bits_lattice.bottom_p ()
9+
- || src_lats->bits_lattice.recipient_only_p ())
10+
+ && !src_lats->bits_lattice.recipient_only_p ())
11+
{
12+
if (!op_type)
13+
op_type = ipa_get_type (caller_info, src_idx);

0 commit comments

Comments
 (0)