------- Comment #17 from jakub at gcc dot gnu dot org 2008-11-18 18:26 ------- Created an attachment (id=16718) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16718&action=view) gcc44-pr37742.patch
Testcase #c7 can be fixed by this patch. Without it, alias sets in presence of restricted pointers act weirdly - if it is called on an INDIRECT_REF with a SSA_NAME, it will return one alias set, but if a new INDIRECT_REF is constructed from the SSA_NAME's var decl, then a different alias set is returned. Unfortunately this patch breaks bootstrap in matmul_i2.c, ICE in vectorizable_store. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37742