------- Comment #18 from jakub at gcc dot gnu dot org 2008-11-18 20:13 ------- Created an attachment (id=16719) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16719&action=view) incremental patch
This fixed matmul_i2.c, DR_BASE_ADDRESS wasn't in this case TYPE_RESTRICT, nor SSA_NAME, but POINTER_PLUS_EXPR, yet in the end was based on a restrict pointer. Unfortunately other matmul*.c stuff in libgfortran is still broken. I'm wondering if the strict alias checking introduced in r140781 isn't too eager when restricted pointers are used... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37742