https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68074
--- Comment #1 from Andreas Reischuck <arbmind at gmail dot com> --- Fixed some issues in my example. http://goo.gl/Rxq7TP The ranged for loops now compile on clang. The problem is not the loop, but the address calculation.