------- Comment #9 from dgregor at gcc dot gnu dot org 2007-05-01 13:32 ------- The easy fix is to SET_TYPE_STRUCTURAL_EQUALITY (fulltype), which will force structural equality checks rather than use canonical types. I usually don't like this solution, but it's better than duplicating all of the build_array_type/build_cplus_array_type machinery.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31724