United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6989760 cmm native compiler warnings
JDK-6989760 : cmm native compiler warnings

Details
Type:
Bug
Submit Date:
2010-10-05
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
Windows:

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/calcitbl.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/calcitbl.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/windows/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/windows/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/windows/native/sun/java2d/cmm/kcms    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/calcitbl.obj  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/calcitbl.c
calcitbl.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/calcitbl.c(157) : warning C4018: '>=' : signed/unsigned mismatch

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/evalth1g.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/evalth1g.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/windows/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/windows/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/windows/native/sun/java2d/cmm/kcms    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/evalth1g.obj  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth1g.c
evalth1g.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth1g.c(105) : warning C4018: '<' : signed/unsigned mismatch
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth1g.c(273) : warning C4018: '<' : signed/unsigned mismatch

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/fwdxform.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/fwdxform.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/windows/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/windows/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/windows/native/sun/java2d/cmm/kcms    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/fwdxform.obj  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/fwdxform.c
fwdxform.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/fwdxform.c(92) : warning C4244: 'function' : conversion from 'double' to 'KpFloat32_t', possible loss of data

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/mat2fut.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/mat2fut.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/windows/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/windows/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/windows/native/sun/java2d/cmm/kcms    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/mat2fut.obj  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/mat2fut.c
mat2fut.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/mat2fut.c(176) : warning C4244: 'function' : conversion from 'double' to 'KpFloat32_t', possible loss of data
../../../../src/closed/share/native/sun/java2d/cmm/kcms/mat2fut.c(488) : warning C4018: '>=' : signed/unsigned mismatch

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/CMM.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/CMM.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/windows/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/windows/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/windows/native/sun/java2d/cmm/kcms    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/CMM.obj  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/CMM.c
CMM.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/CMM.c(647) : warning C4101: 'fid' : unreferenced local variable
Linux (cont.):

/usr/bin/gcc  -g -O2   -fno-strict-aliasing -fpic -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING  -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/solaris/native/sun/java2d/cmm/kcms   -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders   -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/evalth14.o  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o1d8':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:314: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c: In function 'evalTh1i4o1d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:563: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:563: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:563: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:563: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c: In function 'evalTh1i4o2d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:620: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:620: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:620: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:620: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:621: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:621: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:621: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:621: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c: In function 'evalTh1i4o3d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:740: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:740: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:740: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:740: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:741: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:741: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:741: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:741: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:742: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:742: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:742: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:742: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c: In function 'evalTh1i4o4d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:928: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:928: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:928: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:928: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:929: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:929: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:929: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:929: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:930: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:930: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:930: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:930: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:931: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:931: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:931: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:931: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c: In function 'evalTh1i4oXd16n':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1090: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1094: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1099: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1104: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1113: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1113: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1113: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1113: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1114: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1114: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1114: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1114: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1115: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1115: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1115: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1115: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1116: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1116: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1116: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1116: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o2d8':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:372: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:371: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o3d8':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:438: warning: 'prevRes2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:437: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:436: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1iB24oB24':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:478: warning: 'prevRes2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:477: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:476: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1iL24oL24':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:524: warning: 'prevRes2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:523: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:522: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3oXd16n':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:851: warning: 'outp0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:851: warning: 'outStride0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:852: warning: 'outp1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:852: warning: 'outStride1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:853: warning: 'outp2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:853: warning: 'outStride2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:854: warning: 'outp3' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:854: warning: 'outStride3' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:855: warning: 'outp4' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:855: warning: 'outStride4' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:856: warning: 'outp5' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:856: warning: 'outStride5' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:857: warning: 'outp6' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:857: warning: 'outStride6' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:858: warning: 'outp7' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:858: warning: 'outStride7' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o3d8to16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:956: warning: 'prevRes2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:955: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:954: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o4d8':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1246: warning: 'prevRes3' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1245: warning: 'prevRes2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1244: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1243: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o5d8':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1326: warning: 'prevRes4' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1325: warning: 'prevRes3' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1324: warning: 'prevRes2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1323: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1322: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o6d8':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1412: warning: 'prevRes5' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1411: warning: 'prevRes4' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1410: warning: 'prevRes3' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1409: warning: 'prevRes2' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1408: warning: 'prevRes1' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1407: warning: 'prevRes0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1037: warning: 'outp0' may be used uninitialized in this function
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth14.c:1037: warning: 'outStride0' may be used uninitialized in this function

and lots more.
Compiler warnings in the cmm code:

Linux:

/usr/bin/gcc  -g -O2   -fno-strict-aliasing -fpic -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING  -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/solaris/native/sun/java2d/cmm/kcms   -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders   -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/calcmtbl.o  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/calcmtbl.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/calcitbl.c: In function 'calcItblN':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/calcitbl.c:157: warning: comparison between signed and unsigned

/usr/bin/gcc  -g -O2   -fno-strict-aliasing -fpic -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING  -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/solaris/native/sun/java2d/cmm/kcms   -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders   -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/compotbl.o  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/compotbl.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/compose.c: In function 'fut_comp_iotblMF':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/compose.c:347: warning: comparison is always false due to limited range of data type
/usr/bin/gcc  -g -O2   -fno-strict-aliasing -fpic -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING  -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/solaris/native/sun/java2d/cmm/kcms   -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders   -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/convert1.o  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/convert1.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/compose.c: In function 'fut_comp':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/compose.c:39: warning: 'nGridPoints' may be used uninitialized in this function

/usr/bin/gcc  -g -O2   -fno-strict-aliasing -fpic -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING  -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/solaris/native/sun/java2d/cmm/kcms   -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders   -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/eval.o  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/eval.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/eval.c: In function 'evaluateFut':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/eval.c:41: warning: 'imask' may be used uninitialized in this function

/usr/bin/gcc  -g -O2   -fno-strict-aliasing -fpic -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DFUT_CALC_EX -DNO_FUT_GCONST -DDEBUG -DLOGGING  -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../../../src/share/native/sun/java2d/cmm/kcms -I../../../../src/solaris/native/sun/java2d/cmm/kcms   -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/CClassHeaders   -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.java2d.cmm.kcms/kcms/obj_gO/evalth13.o  ../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o1d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:354: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:354: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:354: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o2d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:418: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:418: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:418: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:419: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:419: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:419: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o3d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:742: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:742: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:742: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:743: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:743: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:743: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:744: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:744: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:744: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3oXd16n':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:912: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:916: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:921: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:930: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:930: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:930: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:931: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:931: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:931: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:932: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:932: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:932: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:933: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:933: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:933: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:934: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:934: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:934: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:935: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:935: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:935: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:936: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:936: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:936: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:937: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:937: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:937: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o3d8to16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:976: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:976: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:976: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:977: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:977: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:977: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:978: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:978: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:978: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o4d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1302: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1302: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1302: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1303: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1303: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1303: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1304: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1304: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1304: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1305: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1305: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1305: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o5d16':
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1386: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1386: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1386: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1387: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1387: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1387: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1388: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1388: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1388: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1389: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1389: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1389: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1390: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1390: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c:1390: warning: comparison between signed and unsigned
../../../../src/closed/share/native/sun/java2d/cmm/kcms/evalth13.c: In function 'evalTh1i3o6d16':

and lots more

                                    

Comments
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/java2d_data/7/6989760/
                                     
2011-03-05
EVALUATION

There are three main groups of warnings in kcms:
  - signed/unsigned types mismatch
  - potential usage of uninitialized variables
  - potential loss of data due to type mismatch

 Most complicated case is warnings about potential usage of uninitialized
 variables. In general, such warnings may point to potential flaws in a 
 codepath, so some additional checks whether given variable was properly
 initialized were introduced.
 
 Makefile was modified in order to suppress warnings related to partial
 initialization of a structure. These warnings are issued by gcc on statements
 like this:

 S s = { 0 };

 if S has more than one field. However, gcc documentation says that if there is
 no explicit initializer for a structure field, it is initialized by zero,
 so in our case such warnings can be safely ignored. Note also that all
 compilers except gcc handles such statements without warnings.
                                     
2011-03-05



Hardware and Software, Engineered to Work Together