CI R405: amd64 native float regression inserts -prod between -cc and cc
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github-actions
- Domain
- compilers, testing-qa
Research direction
Start in vlib/v/gen/amd64/native_float_literal_test.v near line 250, in test_native_float_unary_minus_preserves_zero_sign_bits, where the child launcher's args list is built and args.insert(5, '-prod') places -prod between -cc and cc. Move the insert to an option boundary such as index 4, before -cc. Done when the test passes both the production and unoptimized sign-bit assertions under v -b amd64 with GCC and Clang.
Written by the indexing model from the issue text.
Description
Executed old master 486397e6 Linux Clang prod VLIB shard3 job 137463970529 completed 2026-11-23 03:27:55Z after 445 passes/166 skips, failed vlib/v/gen/amd64/native_float_literal_test.v:250 test_native_float_unary_minus_preserves_zero_sign_bits at child compilation: option -cc requires a value. Source unchanged at current master (blob be7d9d977c423a9b9a675365614e37a08d8f21a1): args initialized as ['env','VFLAGS=',@VEXE,'-no-retry-compilation','-cc','cc','-gc','none',...]; production case args.insert(5, '-prod') inserts -prod between -cc and its cc value, making an invalid argument sequence. This is test launcher construction, not evidence of incorrect floating-point sign-bit math. Fix inserting -prod at an option boundary (e.g. index 4 before -cc) while retaining both production/unoptimized sign-bit assertions. Rerun actual V -b amd64 test under GCC/Clang, compiler diagnostics/fmt and hosted original shard. No patched native result or safe merge yet. Status investigating/fix candidate.
[!NOTE]
You can use the 👍 reaction to increase the issue's priority for developers.Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
- Dominant language
- V
- Stars
- 38.1k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 682
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vlang/v
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sagemathinc/sagebrush#1683 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
baseballyama/rsvelte#5235 ·
Maintainers usually reply within 1 day
-
lang-core: member access on a component instance reads its internal fields instead of giving nullOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midspiral/LemmaScript#355 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days