John Mousel <[email protected]> writes: > I cloned a fresh repo and built from scratch. I'm seeing the same error I > previously reported with both intel and gnu compilers.
Can you reproduce with a PETSc example or create a test case so that we can reproduce? > Also, I get warnings in MatSOR_SeqAIJ_Inode during the build. > > src/mat/impls/aij/seq/inode.c: In function ‘MatSOR_SeqAIJ_Inode’: > src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum2’ may be used > uninitialized in this function > src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum3’ may be used > uninitialized in this function > src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum4’ may be used > uninitialized in this function > src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum5’ may be used > uninitialized in this function > src/mat/impls/aij/seq/inode.c:2761: warning: ‘v2’ may be used uninitialized > in this function > src/mat/impls/aij/seq/inode.c:2761: warning: ‘v3’ may be used uninitialized > in this function > src/mat/impls/aij/seq/inode.c:2761: warning: ‘v4’ may be used uninitialized > in this function > src/mat/impls/aij/seq/inode.c:2761: warning: ‘v5’ may be used uninitialized > in this function > src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum1’ may be used > uninitialized in this function > src/mat/impls/aij/seq/inode.c:2761: warning: ‘v1’ may be used uninitialized > in this function I don't think these warnings are correct, but I've seen them too when building in optimized mode with gcc-4.8, so they should be eliminated. As we occasionally do elsewhere, we should work around such warnings. Mark?
pgpqNDmCNokYE.pgp
Description: PGP signature
