[Bug optimization/13869] [tree-ssa] wrong code with a simple loop
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 11 21:32:00 GMT 2004
------- Additional Comments From law at redhat dot com 2004-02-11 21:32 -------
Subject: Re: [tree-ssa] wrong code with a simple loop
In message <20040128212153.4623.qmail@sources.redhat.com>, "steven at gcc dot g
nu dot org" writes:
>
>------- Additional Comments From steven at gcc dot gnu dot org 2004-01-28 21
>:21 -------
>With optimization we also return 0 AFAICT.
>Something looks strange in DOM1, but the results look OK.
>
>After DCE1 we have the following tree:
[ ... ]
BTW, with my changes from this afternoon, cc1plus will compile this code
down to a simple "return 0".
jeff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13869
More information about the Gcc-bugs
mailing list