New Ghostscript/GhostPDL compiler warnings - 2017-12-18-08:30:07 - 561327c559cd8fa6cb5840a80806cff38ef9aa0b

[email protected] Mon, 18 Dec 2017 09:56:29 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20171218175629.6F29E20403FC@i7>
Previous Revision: 91a4867bbdc091e9b3c3693fac8ad1a14f570b00
 Current Revision: 561327c559cd8fa6cb5840a80806cff38ef9aa0b

commit 561327c559cd8fa6cb5840a80806cff38ef9aa0b
Author:     Robin Watts <[email protected]>
AuthorDate: Mon Dec 18 15:09:02 2017 +0000
CommitDate: Mon Dec 18 15:34:06 2017 +0000

    Manual optimisation of AirPrint hotspot.
    
    compose_group_nonknockout_nonblend_add_isolated_mask_common_solid
    takes a significant amount of time in the AirPrint test file.
    Unroll it manually and optimise to avoid needless planar -> chunky
    -> planar copying.

base/gxblend.c



Ghostscript:

new scan-build warnings:

./base/gxblend.c:1933:29: warning: Access to field 'rowstride' results in a dereference of a null pointer (loaded from variable 'maskbuf')
            mask_row_ptr += maskbuf->rowstride;
                            ^~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/561327c559cd8fa6cb5840a80806cff38ef9aa0b/gs/index.html

http://miles.ghostscript.com:8080/artifex/561327c559cd8fa6cb5840a80806cff38ef9aa0b/gs-scan-build.txt




GhostPCL:

new scan-build warnings:

./base/gxblend.c:1933:29: warning: Access to field 'rowstride' results in a dereference of a null pointer (loaded from variable 'maskbuf')
            mask_row_ptr += maskbuf->rowstride;
                            ^~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/561327c559cd8fa6cb5840a80806cff38ef9aa0b/pcl/index.html

http://miles.ghostscript.com:8080/artifex/561327c559cd8fa6cb5840a80806cff38ef9aa0b/pcl-scan-build.txt