CI R405: amd64 native float regression inserts -prod between -cc and cc

Open Beginner friendly
#32,778 0 comments 0 reactions 0 assignees View on GitHub

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

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vlang/v

All issues in vlang/v

Similar issues

More Compilers issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.