http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59569
Zhendong Su <su at cs dot ucdavis.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |su at cs dot ucdavis.edu --- Comment #4 from Zhendong Su <su at cs dot ucdavis.edu> --- (In reply to Jakub Jelinek from comment #3) > Reduced testcase: > extern char c; > > void > foo (int i, char **j) > { > while (i) > j[--i] = &c; > } Below is a very similar testcase that I've encountered: void foo (int *a, int b) { for (; b; b--) a[b] = 1; }