This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] tst-setcontext2: avoid bug from compiler optimization


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]