[gmx-users] strict-aliasing warning

Michel Cuendet michel.cuendet at epfl.ch
Thu Jul 15 17:42:34 CEST 2004


Hi,

When compiling gromacs with  cc (GCC) 3.3.1 (SuSE Linux), I get the 
following warnings :

pme.c: In function `solve_pme':
pme.c:306: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
pppm.c: In function `convolution':
pppm.c:380: warning: dereferencing type-punned pointer will break 
strict-aliasing rules

I use the standard configure script, which gives me the following flags 
for gcc :
CFLAGS =  -O6 -fomit-frame-pointer -finline-functions -Wall -Wno-unused 
-malign-double -funroll-all-loops

Is this of any concern ?

Bye,

Michel




More information about the gromacs.org_gmx-users mailing list