[Bug optimization/14806] [tree-ssa] missed tail call optimization in presence of a const function

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 1 04:46:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-01 04:46 -------
Confirmed (but really it should be as b is uninitialized):
int bar (int) __attribute__((const));
int g;
int
foo (int a)
{
  int b = bar (a);
  g = 0;
  return b;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-01 04:46:37
               date|                            |
   Target Milestone|---                         |tree-ssa


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14806



More information about the Gcc-bugs mailing list