Hi! I came up with a simple C testcase for a PR, which apparently Martin fixed yesterday in PR71239.
Thus, I've just committed following testcase as obvious and will close the PR. 2016-05-26 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/71280 * gcc.dg/pr71280.c: New test. --- gcc/testsuite/gcc.dg/pr71280.c.jj 2016-05-26 11:27:20.865844253 +0200 +++ gcc/testsuite/gcc.dg/pr71280.c 2016-05-26 11:26:52.000000000 +0200 @@ -0,0 +1,15 @@ +/* PR tree-optimization/71280 */ +/* { dg-do compile } */ +/* { dg-options "-O2" } */ + +extern char v[]; + +int +foo () +{ + int k = 0; + typedef char T[64]; + for (int i = 0; i < 64; i++) + k += (*(T *) &v[0])[i]; + return k; +} Jakub