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

Joseph Myers joseph@codesourcery.com
Wed Jan 25 12:50:00 GMT 2017


On Wed, 25 Jan 2017, Florian Weimer wrote:

> 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.

Missing returns_twice attributes (which should of course be 
__returns_twice__) are bug 20382.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list