Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d0e469ca1f710e05a2ef45372f34614aa1e897c437d43d44dd0630bd82c865a3
Ticket: dcac54a685a8353c71865177ac5edead756e1058
list indexing in compiled byte code broken for end-N for large N
User & Date: apnadkarni on 2023-04-12 15:44:12
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    ```
    % set l [testbigdata list 0x100000008]; llength $l
    4294967304
    % lindex $l end-0x100000000
    % lrange $l end-0x100000000 end-0x100000000
    %
    ```
    
    Both lindex and lrange return empty as above.
    
    The *uncompiled* versions work correctly.
    
    ```
    % set lindex lindex
    lindex
    % $lindex $l end-0x100000000
    7
    % set lrange lrange
    lrange
    % $lrange $l end-0x100000000 end-0x100000000
    7
    ```
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "14. List Object"
  15. title changed to:
    list indexing in compiled byte code broken for end-N for large N
    
  16. type changed to: "Bug"