[Patch] PR55189 enable -Wreturn-type by default
Thu Jan 23 18:48:00 GMT 2014
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.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9871 bytes
Desc: not available
More information about the Gcc-patches