Re: Recent warning regression: no return statement in function returning non-void

2008-07-27 Thread Richard Guenther
On Sun, Jul 27, 2008 at 1:18 PM, Gerald Pfeifer [EMAIL PROTECTED] wrote: I believe the following happened in the last 48 or so hours; I saw this triggered by my nightly Wine builds which in turn use my nightly GCC builds. ;-) For code like the following where we have an infinite loop in a

Recent warning regression: no return statement in function returning non-void

2008-07-27 Thread Gerald Pfeifer
I believe the following happened in the last 48 or so hours; I saw this triggered by my nightly Wine builds which in turn use my nightly GCC builds. ;-) For code like the following where we have an infinite loop in a non-void function, we now (incorrectly) issue a warning with all of -O0, -O1 and

Re: Recent warning regression: no return statement in function returning non-void

2008-07-27 Thread Jan Hubicka
On Sun, Jul 27, 2008 at 1:18 PM, Gerald Pfeifer [EMAIL PROTECTED] wrote: I believe the following happened in the last 48 or so hours; I saw this triggered by my nightly Wine builds which in turn use my nightly GCC builds. ;-) For code like the following where we have an infinite loop in