------- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-10 08:56 ------- Reduced testcase:
int is_table[2][16]; int is_table_lsf[2][2][16]; void compute_stereo() { int (*is_tab)[16]; is_tab = is_table; } interestingly removing the unrelated is_table_lsf decl makes the error go away. Which is maybe a type sharing issue and due to the fact that we eventually end up asking the FE about array type compatibility. I have a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39712