[Bug tree-optimization/93054] ICE in gimple_set_lhs, at gimple.c:1820
prathamesh3492 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 23 17:05:00 GMT 2019
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
More information about the Gcc-bugs
mailing list