Skip to content
Tcl Source Code Artifact [be27c75d09]
Login

Artifact [be27c75d09]

Artifact be27c75d09d4aaa798e0772efffb94bd883b08d6ad61f45c630eaa93ec08cec3:

Ticket change [be27c75d09] - Ticket [f7495f63c01ea800|f7495f63c0] <i>valgrind reports uninitialized memory access running the test suite</i> status still Closed with 5 other changes by apnadkarni on 2026-03-13 03:17:42.
D 2026-03-13T03:17:42.059
J closedate 2461112.6372923497
J closer apnadkarni
J icomment Jan,\r\n\r\nSorry,\sI'm\sreverting\syour\srevert.\r\n\r\n-\sThis\sis\sundefined\sbehaviour\sas\sper\sthe\sstandard.\sJust\sthe\sfact\sthat\sthe\s`key`\spointer\slands\sup\spointing\sto\sa\smemory\sblock\sthat\sis\ssmaller\sthan\s`sizeof(*key)`\sshould\sreally\ssuffice\sfor\sthis\spoint\sbut\sSergey\shas\sarticulated\sin\sdetail.\r\n\r\n-\sYour\sexperiment\sforcing\sa\s64-bit\scrash\sactually\sfurther\sproves\sthe\spoint.\sAnd\sthe\sexcuse\sthat\sinterp-34.7\scatches\sthis\scase\sis\scompletely\smeaningless.\sIt\scatches\sone\sspecific\scase\susing\sa\sspecific\scompiler\son\sa\sspecific\splatform,\sthere\sare\sother\scases,\scode\sgenerators\sand\splatforms\sthat\sit\smight\snot.\sEven\sif\sthat\swere\snot\sso,\swhat\sis\sthe\sguarantee\sthat\swe\stest\swith\sgcc\s14\sand\sat\ssome\suser\scompiles\swith\sa\snewer\sgcc\srelease?\sClaiming\sUB\sis\sok\sbecause\sof\stest\ssuite\swould\scatch\sfailures\sis\snot\slogical.\r\n\r\n-\sAs\sI\ssaid\sbefore,\sa\ssingle\sadditional\sinteger\soperation\swill\smake\sabsolutely\sno\sdifference\sto\sperformance\sin\s*any*\sapplication.\sThe\sfact\sthat\sthe\scode\spath\sis\salmost\snever\sever\sexercised\smakes\sthis\s"optimization"\scompletely\smeaningless.\sSo\swhat\smakes\syou\sso\sadamant\sabout\sthis?\r\n\r\nFinally,\seven\sif\syou\sdon't\schange\syour\sopinion,\splease\sconsider\sthat\sin\scase\sof\sdisagreements,\sit's\sreasonable\sthat\sthe\smajority\sopinion\shold.\r\n\r\nWith\sapologies,\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/x-markdown
K f7495f63c01ea80069198ac183e1e0cc8873dabe
U apnadkarni
Z a34ce51baafe4e3d1e177111d59ab066