------- Comment #5 from jv244 at cam dot ac dot uk 2007-04-25 02:18 ------- (In reply to comment #4) > This is a very misleading diagnostic, but not a wrong-code as far as I can > see.
Indeed, I was mislead by the diagnostic in reducing the wrong-code issue to the above testcase. So that leaves the CP2K sources (see PR 29975) as the 'testcase'. From that PR is clear that the miscompilation happens in __ai_overlap_new_MOD_overlap gdb shows a segfault __ai_overlap_new_MOD_overlap ([EMAIL PROTECTED], [EMAIL PROTECTED], npgfa=Variable "npgfa" is not available. ) at ai_overlap_new.f90:389 389 s(coa,cob,1) = s(coapy,cobmy,1) - rab(2)*s(coa,cobmy,1) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31683