FA-9275 / Build systems / Member archive
Compiler option precedence: The earliest optimization wins · case 05
The earliest optimization wins.
Case contract
Append defaults, replace optimization options by the last requested optimization, preserve repeated include options, remove explicitly disabled warnings, and append mandatory flags exactly once.
Why this case matters
An offline model of compiler option precedence, suitable for testing build and release tooling without external services.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 2 | ["-Ifoo", "-Ifoo", "-O0", "-g"] | ["-Ifoo", "-Ifoo", "-O2", "-g"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗