This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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] SH: atomic.h fixes


Your current version looks like it still evaluates the macro arg VALUE twice
in several macros.  Also, I am not sure about using __typeof(value).
Stick to __typeof(*(mem)) (and don't forget the parens around the macro arg),
since the value might be a widened literal or something.

I don't know SH at all, but I don't see anything that looks like system
calls in here so I am confused by your comments.


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