The US Constitution specifically bans a standing army in a time of peace - makes you wonder why ever since WWII the US government has always found some bogus reason to perpetually be at war.
The Constitution only limits Congress to passing military appropriations with terms of up to two years. They pass appropriations bills annually so they are certainly well within that limit since they only pass appropriations with terms of one year. There's a reason why those bills are considered "must pass" and Congressmen are so successful tacking on riders.
You *Assume* it's illegal to distribute this information. If it was illegal, the US would have gone to the courts, show it was illegal, and the filed for a proper take-down notice. This was done because of pure and simple political pressure.
It's pretty efficient if you don't have to go running to the court and instead have something taken down by nothing more than a friendly phone call from the aide of a Congressman.
Just the loudest nuttiest ones who make the news.
And file the lawsuits.
Also, I have seen cases where compiler optimization is smart enough to remove the entire loop if there are no side effects to incrementing i, and it's not used outside the loop.
Most compilers should be doing this. Hell, even IE9 is supposed to do it for JavaScript now. It gets great scores on SunSpider because of it (the JIT can throw away entire tests).
"I've seen it. It's rubbish." -- Marvin the Paranoid Android