This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/4822
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, ake at purdue dot edu, gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Nov 2001 17:54:47 +1300
- Subject: Re: optimization/4822
[Get raw message]
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4822&database=gcc
Hi,
The C test case is, I believe, not a bug because C does not define
evaluation order across the "=".
The Java case, however, _is_ a bug because we need to enforce the
left-to-right evaluation order in order to comply with Java semantics.
regards
Bryce.