C nightmare of the day. From SPEC 2006, apparently. This was so inscrutable that the author failed to notice the UB (and then SPEC refused to change it, causing GCC to have to add a flag to accommodate them).pic.twitter.com/c8WPKk7aaG
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
That's not what I'm seeing here. The increment statement in the for loop accesses d[16] on the final loop, which is out of bounds, and assigns it to dd. The loop then terminates before that value is used; the flag would retcon/prevent this illegal access from actually happening.
From my understanding the point is that the out-of-bounds read is UB, and UB can be optimized into anything (and apparently is by gcc, into an infinite loop)
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.