This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c/24486] gcc generates incorrect assignment because of reordering



------- 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


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