This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/71876] longjmp is miscompiled with -ffreestanding
- From: "edlinger at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Aug 2016 19:06:17 +0000
- Subject: [Bug middle-end/71876] longjmp is miscompiled with -ffreestanding
- Auto-submitted: auto-generated
- References: <bug-71876-4@http.gcc.gnu.org/bugzilla/>
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