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 1/25/2017 12:54 PM, Andreas Schwab wrote:
On Jan 25 2017, Chris Metcalf <cmetcalf@mellanox.com> wrote:

     By making oldctx (and ctx) have static scope, we forbid the compiler
There's no such thing as static scope, what you are meaning is the
storage duration.

Thanks, fixed in my tree.  I know the difference but apparently
my brain was an autopilot when I was typing. :-)

--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com


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