------- Comment #9 from rguenth at gcc dot gnu dot org 2010-03-12 14:20 ------- (In reply to comment #8) > looks like this rather is a bug in CP2K. fi_mat and fj_mat can alias... So, > I'll close this bug, but it is worthwhile to note that -fno-strict-aliasing > did > not 'fix' this problem.
-fno-strict-aliasing only affects type-based alias analysis, not analysis based on restrict qualification or flag_argument_noalias (which the Fortran frontend sets). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43340