------- Comment #10 from jakub at gcc dot gnu dot org 2010-06-24 13:31 ------- This looks like a bug in the source to me, certainly not a middle-end or tree-optimization bug. The a_sp => matrix%local_data_sp assignment when matrix%local_data_sp is uninitialized means you are copying uninitialized data. Either nullify it in the caller or do this assignment only if (use_sp).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43866