https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93054
prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prathamesh3492 at gcc dot gnu.org --- Comment #1 from prathamesh3492 at gcc dot gnu.org --- I wonder if we should emit an error in the front-end if a noreturn function has non-void return type ? For above test-case, the function cb() is marked with noreturn attribute but has return-type int. Thanks, Prathamesh