This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/6883] Fails to optimize temporary objects.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2004 07:39:34 -0000
- Subject: [Bug optimization/6883] Fails to optimize temporary objects.
- References: <20020531030602.6883.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-03 07:39 -------
The problem with the storing on the stack is still fixed but there is a different issue which
the tree-ssa should have fixed:
<L24>:;
<D1819>_176 = 0;
goto <bb 9> (<L26>);
if (T.4_164 > T.6_165) goto <L24>; else goto <L25>;
<L25>:;
<D1819>_175 = 1;
# <D1819>_2 = PHI <1(8), 0(7)>;
<L26>:;
T.31_166 = (bool)<D1819>_2;
T.31_167 = T.31_166;
if (T.31_166) goto <L15>; else goto <L27>;
Looks like the jump thread for some reason is not doing its job here.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at gcc dot gnu dot org
Status|SUSPENDED |NEW
Last reconfirmed|2003-12-01 04:03:37 |2004-03-03 07:39:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6883