[Bug middle-end/71876] longjmp is miscompiled with -ffreestanding
edlinger at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 3 19:06:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876
--- Comment #14 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Wed Aug 3 19:05:45 2016
New Revision: 239092
URL: https://gcc.gnu.org/viewcvs?rev=239092&root=gcc&view=rev
Log:
2016-08-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/71876
* calls.c (special_function_p): Remove special handling of
"setjmp_syscall", "qsetjmp", "longjmp", "siglongjmp" and the
prefix "__x". Recognize "savectx", "vfork" and "getcontext" only
without prefix. Remove potentially unsafe ECF_LEAF and ECF_NORETURN.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/calls.c
More information about the Gcc-bugs
mailing list