------- Comment #20 from jvdelisle at gcc dot gnu dot org 2008-01-26 16:37 ------- Reply to comment #18:
The shape of 1 is a zero size array. The shape of [1] is [1] Maybe in the simplifying of the expression for ([1] + 1) the shape of 1 is being assigned to [1] or the final simplified expression has wrong shape -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31610