GCC warning in SNES noise

Barry Smith bsmith at mcs.anl.gov
Wed Dec 17 12:13:42 CST 2008


   I think the compiler is messed up on this one.

    Barry

On Dec 17, 2008, at 8:42 AM, Lisandro Dalcin wrote:

> Sorry, no time to look at this... I got this when building
> --with-debugging=0 plus some custom flags for GCC 4.3.2 ("-O3
> -funroll-loops -march=pentium4 -msse2")
>
> libfast in: /u/dalcinl/Devel/PETSc/petsc-dev/src/snes/interface/noise
> snesnoise.c: In function 'DiffParameterCompute_More':
> snesnoise.c:132: warning: array subscript is below array bounds
>
>
> -- 
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
>




More information about the petsc-dev mailing list