This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization/7189: gcc -O2 -Wall does not print ``control reaches end of non-void function'' warning


On Thu, Feb 13, 2003 at 10:04:14PM +0100, Steven Bosscher wrote:
> One way to "fix" this bug is to move check_function_return_warnings() up
> to before sibling call optimization in toplev.c, but maybe there's a
> more correct fix?

I take that back.  Moving this to just after
delete_unreachable_blocks should be just fine.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]