New Ghostscript/GhostPDL compiler warnings - 2018-04-04-14:30:02 - bc9e133f81e02e90e9fc9a82853d0aea18cdb905

[email protected] Wed, 4 Apr 2018 15:45:51 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180404224551.1EDE32040265@i7>
Previous Revision: 41e94a745cdbed112efc0e72d76645e8500a0791
 Current Revision: bc9e133f81e02e90e9fc9a82853d0aea18cdb905

commit bc9e133f81e02e90e9fc9a82853d0aea18cdb905
Author:     Robin Watts <[email protected]>
AuthorDate: Wed Apr 4 17:30:17 2018 +0100
CommitDate: Wed Apr 4 17:31:36 2018 +0100

    Fix new logic for skipping clipped image lines.
    
    In refactoring the previous commit so that it didn't cause
    diffs, I broke it so that it gave no advantage.
    
    This version should give no diffs, AND give a speed increase
    by avoiding unpacking elided lines.

base/gxidata.c



Ghostscript:

new cppcheck warnings (Cppcheck 1.72): 

base/gxidata.c:92: error: Shifting a negative value is undefined behaviour
base/gxidata.c:95: error: Shifting a negative value is undefined behaviour

http://miles.ghostscript.com:8080/artifex/bc9e133f81e02e90e9fc9a82853d0aea18cdb905/gs-cppcheck.txt