Overview
| Artifact ID: | 115af883943b954895219d50ace0ad60256396cbfcdd295d1c70fb0b5b23ba3c |
|---|---|
| Ticket: | 3d3124d01dabb46584e39877d44802bf5e8f4952
failures with -ftrapv compiler option |
| User & Date: | jan.nijtmans on 2023-09-14 07:42:37 |
Changes
- foundin changed to: "8.6"
- icomment:
Well, I compiled Tcl 8.6 with the -ftrapv flag, the result was: <pre> $ make test-tcl TESTFLAGS="-file clock.test" ... Tests began at Thu Sep 14 09:35:58 CEST 2023 clock.test Test file error: child killed: illegal instruction Tests ended at Thu Sep 14 09:36:19 CEST 2023 all.tcl: Total 0 Passed 0 Skipped 0 Failed 0 Sourced 1 Test Files. Test files exiting with errors: clock.test </pre> All other test-cases pass, and the examples in this ticket pass to. The test-case failing was: <pre> test clock-61.3 {near-miss overflow of a wide integer on output} { clock format 0x7fffffffffffffff -format %s -gmt true } [expr 0x7fffffffffffffff] </pre> So it looks like not everything is solved in current 8.6. It's just the maximum number, not the minimum one, still causing problems. For 8.5 this would be a Wont-Fix, but if Kevin (or anyone else) wants to dig into this .... it still can be fixed for 8.6 - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"