[llvm-bugs] [Bug 28431] Invalid reuse of stack slot due to returntwice function

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 5 19:06:44 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28431

Yichao Yu <yyc1992 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Yichao Yu <yyc1992 at gmail.com> ---
>  you need to mark local variables that might be changed between the call to setjmp and the corresponding call to longjmp as volatile.

Right, but I'm **NOT** changing the `a`, which is the only value I read after
the longjmp.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160706/1fceec67/attachment.html>


More information about the llvm-bugs mailing list