This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24486] gcc generates incorrect assignment because of reordering
- From: "manus at eiffel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2005 16:37:40 -0000
- Subject: [Bug c/24486] gcc generates incorrect assignment because of reordering
- References: <bug-24486-9608@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from manus at eiffel dot com 2005-10-22 16:37 -------
I'm fine that you comply to the standard, but what I was reporting was not an
incoherence with the standard, but with the fact that for the past 15 years
`gcc' has always evaluated the source before evaluating the target.
In other words this is a breaking change. Is there an explanation at why this
was changed?
In my case, I'm doing a moving GC and this will force code generators to always
do assignments in 2 steps because of this suprising behavior.
Regards,
Manu
--
manus at eiffel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manus at eiffel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24486