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: "dnovillo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2005 17:42:54 -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 #7 from dnovillo at redhat dot com 2005-10-22 17:42 -------
Subject: Re: gcc generates incorrect assignment because of reordering
On Saturday 22 October 2005 13:32, Diego Novillo wrote:
> The bug in your code is exposed when GCC creates the intermediate
> representation for your program. In that intermediate representation,
> GCC is explicitly exposing the sequence points in expression evaluation
> using the standard rules.
>
BTW, you can ask GCC to show you this initial representation with
-fdump-tree-gimple. The file with extension .gimple shows you how this
translation is done.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24486