https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87268
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87268
--- Comment #3 from ead ---
Sorry, I only saw that clang gives me what I expect... and overlooked the
warning.
call_doit should return void and not int.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87268
--- Comment #2 from Andrew Pinski ---
So you might have undefined code in c if the return value is used there. In c++
it is undefined even without using it. Also noreturn is never sibcalled.