Avoid array-bounds warnings with gcc 4.8.2
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 26 Feb 2014 14:58:50 +0000 (15:58 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 11 Mar 2014 12:07:41 +0000 (13:07 +0100)
commit3d94cf76f0a67f0534367b4599bcd16d964e9d78
treeb171d0d3d7767f7846945469b2437e76999c58b9
parentacf2c438d2c8ad020d3842454cca99fa4943ab16
Avoid array-bounds warnings with gcc 4.8.2

The asserts fix RelWithAssert build and for Relase
build the warning is suppressed.

Change-Id: I0a7e6576014bd32648a1e2f08d88e1f2eef3335e
cmake/gmxCFlags.cmake
src/gromacs/gmxlib/bondfree.c
src/gromacs/gmxlib/pbc.c
src/gromacs/gmxpreprocess/grompp.c
src/gromacs/gmxpreprocess/toppush.c
src/gromacs/gmxpreprocess/x2top.c
src/gromacs/mdlib/domdec.c