[Bug optimization/6883] Fails to optimize temporary objects.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 3 07:39:00 GMT 2004


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



More information about the Gcc-bugs mailing list