fold-2 chunk C5 (drew's Fam8-13 plan), the highest-risk chunk: 21 match/tagged value-row C drivers re-homed. 20 -> test/lang/*_test.ww @test row-tables + 12 runww //ww:error carriers (both stages reject). The global-tag cluster (globtag*/globstructwiden/taggedderefstore/...), which sits on the #15/#17 global-ptr fix, was empirically probed byte-id CLEAN -- the predicted hotspot surfaced ZERO fresh cs!=ww. Carves: variant_chain_b95 #81 -> _runonly (genuinely diverges at HEAD); callret_bound277 #277 -> slim C pin (cs-runs/ww-rejects), mutation-gated. 929_tagged_memarg kept whole (SSE-ABI asm conformance). 19 drivers deleted, 944_variant_chain slimmed to the #277 pin. The match-on-tagged-struct-field divergence (former #26) probed RESOLVED for all its cited shapes (938 voidstr_field/recursion_torture, tagnorm dedup_match all byte-id cs==ww + value-correct) -- closed no-reproducer-at-HEAD, attribution to #15/#17 INFERRED. Those rows migrate as normal byte-id @test and serve as the REGRESSION SENTINEL for the inferred close (a resurgence trips the gate). LANGBYTEID floor 93->113; test count 374->355 (19 deleted; 929 + 944_variant_chain kept). do-not-auto-batch (926_tagscr/940_global_sret/940_str_forrange) untouched.
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
// variant_chain_b95_runonly_test — the two #95 CALL-source chain rows whose mk()
|
|
// frame carries the pre-existing #81 uninit-local zero-fill asm divergence: the
|
|
// `is` result is cs==ww runtime-correct, but the surrounding frame byte-diverges
|
|
// cs≠ww (probed at HEAD: real, both standalone and @test forms). So these migrate
|
|
// VALUE-ONLY (_runonly, byte-id-EXCLUDED) per the divergence carve; the byte-id
|
|
// net is waived pending #81. Migrated from test/wcc/944_variant_chain_b95_run.c
|
|
// (K_RUN_NOID rows, #5-C5).
|
|
|
|
package variant_chain_b95_runonly_test;
|
|
|
|
type cc1_base = struct { a: int, b: int };
|
|
type cc1_al0 = cc1_base;
|
|
|
|
type cc2_base = struct { a: int, b: int };
|
|
type cc2_al0 = cc2_base;
|
|
type cc2_ali = cc2_al0;
|
|
|
|
fn cc1_mk() cc1_base = {
|
|
let s: cc1_base;
|
|
s.a = 4; s.b = 9;
|
|
return s;
|
|
};
|
|
|
|
fn cc2_mk() cc2_base = {
|
|
let s: cc2_base;
|
|
s.a = 4; s.b = 9;
|
|
return s;
|
|
};
|
|
|
|
@test fn chain_call_bound81() void = {
|
|
let v: (void | cc1_al0) = cc1_mk();
|
|
assert(v is cc1_al0);
|
|
};
|
|
|
|
@test fn chain_call2_bound81() void = {
|
|
let v: (void | cc2_ali) = cc2_mk();
|
|
assert(v is cc2_ali);
|
|
};
|