This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/85620] getcontext is wrongly marked return twice
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2018 20:44:04 +0000
- Subject: [Bug middle-end/85620] getcontext is wrongly marked return twice
- Auto-submitted: auto-generated
- References: <bug-85620-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
http://pubs.opengroup.org/onlinepubs/007904975/functions/getcontext.html
If the ucp argument was created with getcontext(), program execution continues
as if the corresponding call of getcontext() had just returned.
That means it does return twice.