------- Comment #91 from jv244 at cam dot ac dot uk 2007-04-24 13:37 ------- current (i.e. this morning) mainline seems to miscompile CP2K (tested current CVS of CP2K). The code compiled with '-O3 -ftree-vectorize -ffast-math -march=native' on an opteron segfaults on several regtests. The same code runs fine with other compilers and gfortran if compiled with '-O0 -g -Wall -Wextra'. Also, crashes are in several unrelated locations, so it seems something that might be easy to trigger. Failing testcases include: /QS/regtest-gpw-1/Ar.inp.out /QS/regtest-gpw-1/NO2_lsd.inp.out /QS/regtest-gpw-1/H2O-harris.inp.out /QS/regtest-gapw/H2O-gapw-gth.inp.out /QS/regtest-gpw-1/H2O-MD-harris.inp.out /QS/regtest-gapw/H2O-gapw-all.inp.out /QS/regtest-gapw/H2O-gapwxc-gth.inp.out /QS/regtest-gapw/H2S-gapw.inp.out /QS/regtest-gapw/HF_gapw_all_LB.inp.out /QS/regtest-gapw/OF_gapw_all_lsd_LB.inp.out /QS/regtest-gapw/H-gapw-all.inp.out /QS/regtest-gapw/He2-all.inp.out /QS/regtest-gpw-1/H2O-Harris-Debug-SCF.inp.out /QS/regtest-gpw-3/H+.inp.out : /QS/regtest-gapw/He2-all-md.inp.out /QS/regtest-gapw/CO.inp.out /QS/regtest-gapw/CO_xastphh.inp.out /QS/regtest-gapw/CO_xastpfh.inp.out /QS/regtest-gapw/CO_xastpxhh.inp.out /QS/regtest-gapw/CO_xastpxfh.inp.out /QS/regtest-gapw/CO_xastpval.inp.out /QS/regtest-gapw/Li-ROKS.inp.out I'll see if I can reduce the number of optimization options.
-- jv244 at cam dot ac dot uk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975