Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes openarray hoist with gcc 14 #23647

Merged
merged 4 commits into from
Jun 4, 2024
Merged

fixes openarray hoist with gcc 14 #23647

merged 4 commits into from
Jun 4, 2024

Conversation

ringabout
Copy link
Member

@ringabout ringabout commented May 24, 2024

blocks #23673

compiler/semexprs.nim Outdated Show resolved Hide resolved
compiler/semexprs.nim Outdated Show resolved Hide resolved
compiler/semexprs.nim Outdated Show resolved Hide resolved
@Araq
Copy link
Member

Araq commented May 27, 2024

The test case hasn't been updated?

@ringabout
Copy link
Member Author

Yeah, the exact test failed with gcc 14 so it doesn't need to be updated.

Shown in #23673

/home/runner/work/Nim/Nim/nimcache/tests/megatest_4a8a08f09d37b73795649038408b5f33/@[email protected]:96:35: error: assignment to ‘tyOpenArray__YZIefVt4yx7h5gisKZd4WQ *’ from incompatible pointer type ‘tySequence__48JTohSgTy339bRxHzUD8KA *’ [-Wincompatible-pointer-types]

@ringabout
Copy link
Member Author

I tested it locally with updated changes, it worked with gcc 14

@Araq Araq merged commit 17475fc into devel Jun 4, 2024
22 checks passed
@Araq Araq deleted the pr_hoist_openarray branch June 4, 2024 07:43
Copy link
Contributor

github-actions bot commented Jun 4, 2024

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 17475fc

Hint: mm: orc; opt: speed; options: -d:release
178623 lines; 8.704s; 753.102MiB peakmem

narimiran pushed a commit that referenced this pull request Jun 4, 2024
blocks #23673

---------

Co-authored-by: Andreas Rumpf <[email protected]>
(cherry picked from commit 17475fc)
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.

2 participants