http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46076
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-19 04:42:40 UTC --- (In reply to comment #6) > I think both indirect inlining and constant propagation should be able to get > past the cast especially when there is no type mismatch in the testcase. Either try with (void) in the function declaration or try using the C++ front-end. () and (void) are different in C :).