[Bug tree-optimization/15484] [tree-ssa] bool and short function arguments promoted to int

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 16 13:55:00 GMT 2005


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-05-16 13:55 -------
Maybe the same problem results in

static inline bool wrap(bool f) { return f; }
bool bar(bool f)
{
        return wrap(f);
}

producing

  return (int) (bool) (int) (bool) (int) f;

(and more, if you add another wrap())

-- 


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



More information about the Gcc-bugs mailing list