This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52291] __sync_fetch_and_add and friends poorly specified for pointer types
- From: "hstong at ca dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Feb 2012 00:37:12 +0000
- Subject: [Bug c/52291] __sync_fetch_and_add and friends poorly specified for pointer types
- Auto-submitted: auto-generated
- References: <bug-52291-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52291
--- Comment #1 from Hubert Tong <hstong at ca dot ibm.com> 2012-02-17 00:37:12 UTC ---
I mean that the pseudo-code is not consistent with valid C/C++ when the
operands (`*ptr' and `value') are pointer types.