This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47541] For integer pointers, the value of ++*p is not written back to memory
- From: "veksler at il dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Jan 2011 09:39:53 +0000
- Subject: [Bug c++/47541] For integer pointers, the value of ++*p is not written back to memory
- Auto-submitted: auto-generated
- References: <bug-47541-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47541
Michael Veksler <veksler at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.5.1 |4.6.0
--- Comment #1 from Michael Veksler <veksler at il dot ibm.com> 2011-01-30 09:39:50 UTC ---
I recreated this bug, with the same attachment, for 4.6.0 20110129
(experimental):
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.6-20110129/configure--enable-languages=c++
Thread model: posix
gcc version 4.6.0 20110129 (experimental) (GCC)
Updating the version accordingly.
Also, it seems to me that this worked fine with the gcc-4.4 series (I was able
to work with that code just fine with fc13 which, as far as I can remember,
comes with gcc-4.4). In that case, this is a regression.