On 23/01/2014 10:48, Jason Merrill wrote: > On 01/16/2014 02:44 PM, Jason Merrill wrote: >> To avoid spurious warnings on code with infinite loops we could add a >> simple check for infinite loops and suppress the warning in that case. >> Basically, if we see a loop with an always-true condition and no breaks. > > Like so: > > Tested x86_64-pc-linux-gnu, applying to trunk. > Thanks for that!
S