Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e6722e725b1b203602783021343f2b6499207f354cfa87b87421356e68c523b2
Ticket: 3d3124d01dabb46584e39877d44802bf5e8f4952
failures with -ftrapv compiler option
User & Date: chrstphrchvz on 2023-09-14 22:44:19
Changes

  1. closedate changed to: "2460202.44745293"
  2. closer changed to: "chrstphrchvz"
  3. icomment:
    Pardon me obsessing over this… I still feel that clock-61.3 likely does not belong in the title of this ticket, as the reporter’s issue involved parsing -9223372036854775808, and shown much more succinctly by their <tt>incr</tt> example than by the <tt>$MINWIDE</tt> → <tt>$lastTime</tt> example in clock.tcl.
    
    I did not spot any relevant changes to the C code mentioned by the reporter, so maybe it is better to close this as “works for me” rather than “fixed” or “outdated”.
    
    I have also encountered reports of false negatives in GCC <tt>-ftrapv</tt> (and reportedly not affecting <tt>-fsanitize=signed-integer-overflow</tt>).
    
  4. login: "chrstphrchvz"
  5. mimetype: "text/x-fossil-wiki"