[PATCH] tst-setcontext2: avoid bug from compiler optimization
Florian Weimer
fweimer@redhat.com
Wed Jan 25 09:07:00 GMT 2017
On 01/25/2017 01:35 AM, Chris Metcalf wrote:
> Ping! I will plan to commit this later this week if no one objects; it
> seems like a straightforward bug avoidance.
It's very non-obvious why this should work.
I suspect the real cause is the lack of the returns_twice attribute on
the getcontext function. Does the problem go away if you add that?
If yes, this needs a bug report in Bugzilla, referenced from the
ChangeLog and commit message because it is a user-visible bug.
Thanks,
Florian
More information about the Libc-alpha
mailing list