[Bug tree-optimization/34563] noinline function call being removed

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Dec 23 04:19:00 GMT 2007



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-12-23 04:18 -------
So we have:
 if (ii (_double_.fp))
   ss = 0;
 cvt (_double_.fp, &ss);

ss is always set via cvt (and cvt is inlined), so we dce the first setting of
ss and that in turns dce the function call to ii as it is pure.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|noinline function being     |noinline function call being
                   |inlined                     |removed


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



More information about the Gcc-bugs mailing list