Skip to content

Toolchain: status of the GCC fixes merged in ApolloCrossDev - #13

Merged
WDrijver merged 3 commits into
mainfrom
toolchain-fix-status
Nov 3, 2026
Merged

WDrijver merged 3 commits into
mainfrom
toolchain-fix-status

Conversation

@WDrijver

@WDrijver WDrijver commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

ApolloCrossDev merged pull requests #5 to #10 on 2026-11-03. This PR records in the knowledge base which GCC 6.5 variant now applies which fix. The status comes from the install scripts on ApolloCrossDev main (after ApolloCrossDev PR #13, which removed TuKo1982's patches from the Stable scripts and a duplicate dbra step from the Dev scripts).

Bug Dev Stable Base
bbb pass counts a post-increment twice (PR #5) Fixed Not fixed Not fixed
bbb pass deletes needed instructions around shifts (PR #10) Fixed Not fixed Not fixed
ICE with -mrtd (PR #9) Fixed Not fixed Not fixed
ICE on sinf/cosf with -ffast-math (PR #8) Fixed Not fixed Not fixed
16-bit loop counter in an address register (PR #7, restored by #12) Fixed Not fixed Not fixed

The dbra fix was merged in PR #7, but the step that applies it got lost in merge 3a6c1a6. ApolloCrossDev PR #12 restored it in the Dev scripts.

Changes

  • Updated:
    • toolchain/pitfalls/gcc-bbb-autoinc.md
    • toolchain/pitfalls/gcc-dbra-address-register-loop.md
    • toolchain/pitfalls/libnix-and-header-traps.md (MUI 19 in all variants)
    • toolchain/compiler-variants.md: the patch list, and a bug/variant table instead of the pending-fixes table
  • New (owner TuKo1982, draft):
    • toolchain/pitfalls/gcc-bbb-shift-wrong-code.md
    • toolchain/pitfalls/gcc-mrtd-calling-convention.md
    • toolchain/pitfalls/gcc-fsincos-ice.md
  • .github/CODEOWNERS regenerated.

The new pitfalls are based on the descriptions of ApolloCrossDev PRs #8, #9 and #10 and on the measurements reported there. One workaround is derived, not tested: dropping -ffast-math to avoid the fsincos ICE. It is marked "not yet tested".

Knowledge base files relied on

  • toolchain/compiler-variants.md
  • toolchain/c-compiler-options.md

🤖 Generated with Claude Code

ApolloCrossDev merged pull requests #5 to #10 on 2026-11-03. Record
which install script applies which fix:

- gcc-bbb-autoinc: fixed in Dev and Stable, not in Base.
- gcc-dbra-address-register-loop: merged in PR #7, but the step that
  applies it was lost in a later merge; ApolloCrossDev PR #12 restores
  it in Dev (open).
- libnix-and-header-traps: MUIMASTER_VMIN is 19 in all variants.
- New pitfalls for the other fixes: bbb shift wrong code (PR #10, Dev
  and Stable), -mrtd (PR #9, Dev only) and the fsincos ICE (PR #8, Dev
  only).
- compiler-variants: patch list and a bug/variant table instead of the
  pending-fixes table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WDrijver
WDrijver requested a review from TuKo1982 as a code owner November 3, 2026 15:13
WDrijver and others added 2 commits November 3, 2026 18:35
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ApolloCrossDev pull request #13 removed bbb-autoinc-direct-add-fix,
opt-shift-jump-fix and opt-elim-shift-count-fix from the Stable scripts.
Only GCC-6.50-Dev fixes the two bbb bugs now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WDrijver
WDrijver merged commit c44750e into main Nov 3, 2026
2 checks passed
@WDrijver
WDrijver deleted the toolchain-fix-status branch November 3, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant