http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48519
--- Comment #7 from Herbert <hilmar.ackermann at googlemail dot com> 2011-04-12 13:41:06 UTC --- Hi, I don't know why I am the only one with the bug ..? The bug doesn't happen if I write a second return at the end of the function, so I can solve the problem, but anyway it's curious.. Maybe someone with the integrated installation of MinGW in Code::Blocks can test this, perhaps there is a bug, don't know .. ;) regards