# New Ticket Created by Andrew Whitworth # Please include the string: [perl #56810] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56810 >
I found this while tracking a nasty GC-related bug. In src/packfile/pf_items.c:PF_fetch_integer, we have the following two notes: XXX assumes C<sizeof (INTVAL) == sizeof (opcode_t) - we don't have INTVAL size in the PackFile header XXX assume sizeof (opcode_t) == sizeof (INTVAL) on the machine producing this PBC This raises the question, are the two always defined to be the same (which makes this a non-issue), or are there platforms where they are different? I suspect a fix would not be too too difficult if they aren't always the same, and if the behavior wasn't already implemented elsewhere. --Andrew Whitworth